Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
14 kB
2
Indexable
Never
 <div class="card">
                                        <div class="card-body">
                                            <h3 class="mb-3 header-title card-title">{{ _lang('Version Control') }}</h3>
                                            <form method="post" class="ajax-submit2 params-card" autocomplete="off"
                                                action="{{ route('store_app_settings', [$app->id, 'android']) }}">
                                                @csrf
                                                <div class="row">
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Version Name') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_version_name"
                                                                value="{{ get_app_content('android_version_name', '1.0.0') }}"
                                                                required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Version Code') }}</label>
                                                            <input type="number" class="form-control"
                                                                name="android_version_code"
                                                                value="{{ get_app_content('android_version_code', '1') }}"
                                                                min="0" required>
                                                        </div>
                                                    </div>

                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Force Update') }}</label>
                                                            <select class="form-control select2"
                                                                name="android_force_update"
                                                                data-selected="{{ get_app_content('android_force_update', 'no') }}"
                                                                required>
                                                                <option value="no">{{ _lang('NO') }}</option>
                                                                <option value="yes">{{ _lang('Yes') }}</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label class="control-label">{{ _lang('Update For') }}</label>
                                                            <select class="form-control select2" name="android_update_for"
                                                                data-selected="{{ get_app_content('android_update_for', 'in') }}"
                                                                required>
                                                                <option value="in">{{ _lang('In Store') }}</option>
                                                                <option value="out">{{ _lang('Out side of Store') }}
                                                                </option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label class="control-label">{{ _lang('App Url') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_app_url"
                                                                value="{{ get_app_content('android_app_url') }}" required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Button Text') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_button_text"
                                                                value="{{ get_app_content('android_button_text') }}"
                                                                required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-12">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Description') }}</label>
                                                            <textarea class="form-control" name="android_description">{{ get_app_content('android_description') }}</textarea>
                                                        </div>
                                                    </div>

                                                    <div class="col-md-12">
                                                        <div class="form-group text-right">
                                                            <button type="submit" class="btn btn-primary btn-sm">
                                                                {{ _lang('Update') }}
                                                            </button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </form>
                                            <h3 class="mb-3 header-title card-title mt-3">{{ _lang('Required App') }}</h3>
                                            <form method="post" class="ajax-submit2 params-card" autocomplete="off"
                                                action="{{ route('store_app_settings', [$app->id, 'android']) }}">
                                                @csrf
                                                <div class="row">
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Required Enable App') }}</label>
                                                            <select class="form-control select2"
                                                                name="android_required_app_enable"
                                                                data-selected="{{ get_app_content('android_required_app_enable', 'no') }}"
                                                                required>
                                                                <option value="no">{{ _lang('NO') }}</option>
                                                                <option value="yes">{{ _lang('Yes') }}</option>
                                                            </select>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Application Id') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_required_app_application_id"
                                                                value="{{ get_app_content('android_required_app_application_id') }}"
                                                                required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label class="control-label">{{ _lang('App Url') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_required_app_url"
                                                                value="{{ get_app_content('android_required_app_url', 'N/A') }}"
                                                                required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-6">
                                                        <div class="form-group">
                                                            <label class="control-label">{{ _lang('App Name') }}</label>
                                                            <input type="text" class="form-control"
                                                                name="android_required_app_name"
                                                                value="{{ get_app_content('android_required_app_name', 'N/A') }}"
                                                                required>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-12">
                                                        <div class="form-group">
                                                            <label
                                                                class="control-label">{{ _lang('Description') }}</label>
                                                            <textarea class="form-control" name="android_required_app_description">{{ get_app_content('android_required_app_description', 'N/A') }}</textarea>
                                                        </div>
                                                    </div>
                                                    <div class="col-md-12">
                                                        <div class="form-group">
                                                            <label class="control-label">{{ _lang('Logo') }}</label>
                                                            <input type="file" class="form-control dropify"
                                                                name="android_required_app_logo"
                                                                data-allowed-file-extensions="png jpg jpeg PNG JPG JPEG"
                                                                data-default-file="{{ get_app_content('android_required_app_logo') != '' ? asset(get_app_content('android_required_app_logo')) : '' }}">
                                                        </div>
                                                    </div>

                                                    <div class="col-md-12">
                                                        <div class="form-group text-right">
                                                            <button type="submit" class="btn btn-primary btn-sm">
                                                                {{ _lang('Update') }}
                                                            </button>
                                                        </div>
                                                    </div>
                                                </div>
                                            </form>
                                        </div>
                                    </div>
Leave a Comment