<!DOCTYPE html> <html lang="{{ app()->getLocale() }}" dir="{{ app()->getLocale() == 'ar'…
- User
.custom-modal-content { background-color: #fefefe; margin: 10% auto; padding: 20px; border: 1px solid #888; width: 80%; max-width: 500px; border-radius: 8px; position: relative; animation-name: animatetop; animation-duration: 0.4s; } @keyframes animatetop { from { opacity: 0; transform: translateY(-50px); } to { opacity: 1; transform: translateY(0); } } .custom-modal .close { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; cursor: pointer; } .custom-modal .close:hover, .custom-modal .close:focus { color: black; text-decoration: none; cursor: pointer; } .btn { padding: 10px 20px; margin: 5px; border: none; border-radius: 4px; cursor: pointer; } .btn-primary { background-color: #007bff; color: white; } .btn-close { background-color: #6c757d; color: white; }<div class="content_page"> <div class="header"> <div class="left"> <div class="icon_menu"> <!-- Menu Icon SVG --> </div> <div class="logo_header"> <img src="{{ asset('images/logo.png') }}" alt="{{ __('logo') }}" loading="lazy" /> </div> <div class="input_search"> <input type="text" placeholder="{{ __('Search...') }}" /> <!-- Search Icon SVG --> </div> </div> <div class="right"> @include('include.translation') <div class="notfication"> <div class="head"> <div class="icon"> <!-- Notification Icon SVG --> </div> </div> </div> <div class="nav_item"> <div class="head"> <img class="img_profile" src="{{ asset('images/user-1.jpg') }}" alt="{{ __('user_profile') }}" loading="lazy" /> </div> @include('include.profile') </div> </div> </div> <div class="message_settings"> <div class="head"> <h4>{{ __('Message Settings') }}</h4> </div> <div class="content"> <form id="messageSettingsForm"> <!-- Country Code Selection --> <div class="input_select"> <label for="country_code">{{ __('Country Code') }}</label> <select name="country_code" id="country_code"> <option value="egypt" {{ (isset($configData['country_code']) && $configData['country_code'] == 'egypt') ? 'selected' : '' }}>{{ __('Egypt') }}</option> <option value="libya" {{ (isset($configData['country_code']) && $configData['country_code'] == 'libya') ? 'selected' : '' }}>{{ __('Libya') }}</option> <option value="iraq" {{ (isset($configData['country_code']) && $configData['country_code'] == 'iraq') ? 'selected' : '' }}>{{ __('Iraq') }}</option> <option value="uae" {{ (isset($configData['country_code']) && $configData['country_code'] == 'uae') ? 'selected' : '' }}>{{ __('UAE') }}</option> <option value="saudi_arabia" {{ (isset($configData['country_code']) && $configData['country_code'] == 'saudi_arabia') ? 'selected' : '' }}>{{ __('Saudi Arabia') }}</option> </select> </div> <!-- Messaging Service Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="message-services">{{ __('Messaging Service') }}</label> <input id="message-services" class="form-check-input" type="checkbox" role="switch" data-num="1" name="message-services" {{ isset($configData['message-services']) && $configData['message-services'] ? 'checked' : '' }} /> </div> </div> <!-- Message Settings Section 1 --> <div class="message_settings_section" data-num="1" style="{{ isset($configData['message-services']) && $configData['message-services'] ? '' : 'display:none;' }}"> <!-- Additional keys info --> <!-- Content here --> </div> <!-- About to Expire Subscription Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service2">{{ __('About to Expire Subscription') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service2" data-num="2" name="messaging-service2" {{ isset($configData['messaging-service2']) && $configData['messaging-service2'] ? 'checked' : '' }} /> </div> </div> <!-- Message Settings Section 2 --> <div class="message_settings_section" data-num="2" style="{{ isset($configData['messaging-service2']) && $configData['messaging-service2'] ? '' : 'display:none;' }}"> <div class="input_item"> <label for="activation_message">{{ __('Activation Message') }}</label> <textarea name="activation_message" id="activation_message">{{ $configData['activation_message'] ?? '' }}</textarea> </div> </div> <!-- Upon Subscription Expiry Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service3">{{ __('Upon Subscription Expiry') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service3" data-num="3" name="messaging-service3" {{ isset($configData['messaging-service3']) && $configData['messaging-service3'] ? 'checked' : '' }} /> </div> </div> <!-- Message Settings Section 3 --> <div class="message_settings_section" data-num="3" style="{{ isset($configData['messaging-service3']) && $configData['messaging-service3'] ? '' : 'display:none;' }}"> <div class="input_select"> <label for="warning_before">{{ __('Warning Before') }}</label> <select name="warning_before" id="warning_before"> <option value="1" {{ (isset($configData['warning_before']) && $configData['warning_before'] == '1') ? 'selected' : '' }}>{{ __('1 day') }}</option> <option value="2" {{ (isset($configData['warning_before']) && $configData['warning_before'] == '2') ? 'selected' : '' }}>{{ __('2 days') }}</option> <option value="3" {{ (isset($configData['warning_before']) && $configData['warning_before'] == '3') ? 'selected' : '' }}>{{ __('3 days') }}</option> <option value="4" {{ (isset($configData['warning_before']) && $configData['warning_before'] == '4') ? 'selected' : '' }}>{{ __('4 days') }}</option> <option value="5" {{ (isset($configData['warning_before']) && $configData['warning_before'] == '5') ? 'selected' : '' }}>{{ __('5 days') }}</option> </select> </div> <div class="input_item"> <label for="expiry_message">{{ __('Expiry Message') }}</label> <textarea name="expiry_message" id="expiry_message">{{ $configData['expiry_message'] ?? '' }}</textarea> </div> </div> <!-- Aggressive Messaging Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service4">{{ __('Aggressive Messaging') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service4" data-num="4" name="messaging-service4" {{ isset($configData['messaging-service4']) && $configData['messaging-service4'] ? 'checked' : '' }} /> </div> </div> <!-- Aggressive Messaging Alerts --> <div class="alert alert-info mt-3" style="{{ isset($configData['messaging-service4']) && $configData['messaging-service4'] ? '' : 'display:none;' }}"> <strong> {{ __('Aggressive messaging is a type of messaging that allows you to send messages instantly at the moment an operation occurs. It allows you to use many options and provide more data for sending, in addition to the ability to select a phone of your choice to receive real-time operation data.') }} </strong> </div> <div class="alert alert-warning" style="{{ isset($configData['messaging-service4']) && $configData['messaging-service4'] ? '' : 'display:none;' }}"> <strong> {{ __('Please note that this feature uses the SAS webhook. Therefore, if you activate it, it will replace the old settings. For example, monitoring functionality in SAS Pro or any application will send system operations data directly to WhatsApp instead.') }} </strong> </div> <!-- Message Settings Section 4 --> <div class="message_settings_section" data-num="4" style="{{ isset($configData['messaging-service4']) && $configData['messaging-service4'] ? '' : 'display:none;' }}"> <div class="top"> <div class="input_item" style="max-width: 300px; width: 100%"> <label for="personal_phone">{{ __('Personal Phone') }}</label> <input type="number" id="personal_phone" name="personal_phone" value="{{ $configData['personal_phone'] ?? '' }}" /> </div> <div class="container_input"> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service5">{{ __('Messaging Service') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service5" name="messaging-service5" {{ isset($configData['messaging-service5']) && $configData['messaging-service5'] ? 'checked' : '' }} /> </div> </div> <small> {{ __('When this option is activated, the connected personal phone will be used.') }} </small> </div> </div> <!-- Switches within Aggressive Messaging --> <div class="switchs row"> <!-- Left Column Switches --> <div class="col-12 col-md-6"> <!-- Switch 1 --> <div class="switch_item"> <div class="form-check form-switch"> <label class="form-check-label" for="switch1">{{ __('Upon Subscription Activation') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="switch1" name="switch1" {{ isset($configData['switch1']) && $configData['switch1'] ? 'checked' : '' }} /> </div> </div> <!-- Add other switches similarly --> </div> <!-- Right Column Switches --> <div class="col-12 col-md-6"> <!-- Switch 7 --> <div class="switch_item"> <div class="form-check form-switch"> <label class="form-check-label" for="switch7">{{ __('Upon Adding or Removing Consumption Capacities (GB) for Client') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="switch7" name="switch7" {{ isset($configData['switch7']) && $configData['switch7'] ? 'checked' : '' }} /> </div> </div> <!-- Add other switches similarly --> </div> </div> <!-- Additional Keys --> <div class="col-md-12 text-center my-2"> <h6 class="alert alert-info text-center"> <strong>{{ __('Additional keys you can use') }}</strong> </h6> <!-- Keys List --> </div> <!-- Inputs and Textareas --> <div class="input_item"> <label for="messagemenu">{{ __('Menu Message') }}</label> <input type="text" placeholder="" id="messagemenu" name="messagemenu" value="{{ $configData['messagemenu'] ?? '' }}" /> </div> <div class="input_item"> <label for="accountinformationdata">{{ __('Account Information Message') }}</label> <textarea name="account_information" id="accountinformationdata">{{ $configData['account_information'] ?? '' }}</textarea> </div> </div> <!-- Enable Account Balance Display Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service6">{{ __('Enable Account Balance Display') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service6" data-num="6" name="messaging-service6" {{ isset($configData['messaging-service6']) && $configData['messaging-service6'] ? 'checked' : '' }} /> </div> </div> <!-- Message Settings Section 6 --> <div class="message_settings_section" data-num="6" style="{{ isset($configData['messaging-service6']) && $configData['messaging-service6'] ? '' : 'display:none;' }}"> <div class="row"> <div class="col-12 col-md-6"> <div class="input_item"> <label for="messagemenu4">{{ __('Menu Message') }}</label> <input type="text" placeholder="" id="messagemenu4" name="messagemenu4" value="{{ $configData['messagemenu4'] ?? '' }}" /> </div> </div> <div class="col-12 col-md-6"> <div class="input_item"> <label for="msgactvcardsucess">{{ __('Successful Card Activation Message') }}</label> <textarea name="msgactvcardsucess" id="msgactvcardsucess">{{ $configData['msgactvcardsucess'] ?? '' }}</textarea> </div> </div> <!-- Continue for other inputs and textareas --> </div> </div> <!-- Enable Card Charging Switch --> <div class="switch_section"> <div class="form-check form-switch"> <label class="form-check-label" for="messaging-service7">{{ __('Enable Card Charging') }}</label> <input class="form-check-input" type="checkbox" role="switch" id="messaging-service7" data-num="7" name="messaging-service7" {{ isset($configData['messaging-service7']) && $configData['messaging-service7'] ? 'checked' : '' }} /> </div> </div> <!-- Message Settings Section 7 --> <div class="message_settings_section" data-num="7" style="{{ isset($configData['messaging-service7']) && $configData['messaging-service7'] ? '' : 'display:none;' }}"> <!-- Additional keys and inputs --> </div> <!-- Submit Button --> <div class="text-center mt-4"> <button type="submit" class="btn btn-primary">{{ __('Save Settings') }}</button> </div> </form> </div> </div> </div> - Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.