Fixed the ui header issue

This commit is contained in:
Deepak Singh Gusain 2022-01-13 16:33:11 +05:30
parent 4f3c9ca851
commit 666525f8c8
8 changed files with 76 additions and 56 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/admin.js": "/js/admin.js?id=5c6abf6523a851d5945d",
"/css/admin.css": "/css/admin.css?id=ff3e93242515474ea08b"
"/css/admin.css": "/css/admin.css?id=81ebe265814583a053d5"
}

View File

@ -764,18 +764,12 @@ body {
.page-action {
position: absolute;
right: 10px;
margin-top: 0px;
margin-top: 0px;
.export-import{
margin-top: -15px;
}
button{
position: absolute;
right: 2px;
top: 0px;
}
* {
display: inline-block;
}

View File

@ -802,9 +802,9 @@ return [
],
'exchange_rates' => [
'title' => 'Exchange Rates',
'add-title' => 'Add Exchange Rate',
'add-title' => 'Add',
'edit-title' => 'Edit Exchange Rate',
'save-btn-title' => 'Save Exchange Rate',
'save-btn-title' => 'Save',
'general' => 'General',
'source_currency' => 'Source Currency',
'target_currency' => 'Target Currency',
@ -818,9 +818,10 @@ return [
],
'inventory_sources' => [
'title' => 'Inventory Sources',
'add' => 'Add',
'add-title' => 'Add Inventory Source',
'edit-title' => 'Edit Inventory Source',
'save-btn-title' => 'Save Inventory Source',
'save-btn-title' => 'Save',
'general' => 'General',
'code' => 'Code',
'name' => 'Name',
@ -908,6 +909,7 @@ return [
'tax-categories' => [
'title' => 'Tax Categories',
'create' => 'Create',
'add-title' => 'Create Tax Category',
'edit-title' => 'Edit Tax Category',
'save-btn-title' => 'Save Tax Category',

View File

@ -4,6 +4,17 @@
{{ __('admin::app.catalog.categories.edit-title') }}
@stop
@push('css')
<style>
@media only screen and (max-width: 768px){
.content-container .content .page-header .page-title .control-group .control{
width: 100% !important;
margin-top:-25px !important;
}
}
</style>
@endpush
@section('content')
<div class="content">
@php

View File

@ -4,6 +4,17 @@
{{ __('admin::app.catalog.products.edit-title') }}
@stop
@push('css')
<style>
@media only screen and (max-width: 768px){
.content-container .content .page-header .page-title .control-group .control{
width: 100% !important;
margin-top:-25px !important;
}
}
</style>
@endpush
@section('content')
<div class="content">
@php

View File

@ -29,53 +29,55 @@
@csrf()
<div class="table">
<table>
<thead>
<tr>
<th>
{{ __('admin::app.settings.exchange_rates.source_currency') }}
</th>
<th>
{{ __('admin::app.settings.exchange_rates.target_currency') }}
</th>
<th>
{{ __('admin::app.settings.exchange_rates.rate') }}
</th>
</tr>
</thead>
<div class="table-responsive">
<table>
<thead>
<tr>
<th>
{{ __('admin::app.settings.exchange_rates.source_currency') }}
</th>
<th>
{{ __('admin::app.settings.exchange_rates.target_currency') }}
</th>
<th>
{{ __('admin::app.settings.exchange_rates.rate') }}
</th>
</tr>
</thead>
<tbody>
<tr>
{!! view_render_event('bagisto.admin.settings.exchangerate.create.before') !!}
<tbody>
<tr>
{!! view_render_event('bagisto.admin.settings.exchangerate.create.before') !!}
<td>
{{ core()->getBaseCurrencyCode() }}
</td>
<td>
{{ core()->getBaseCurrencyCode() }}
</td>
<td>
<div class="control-group" :class="[errors.has('target_currency') ? 'has-error' : '']">
<select v-validate="'required'" class="control" name="target_currency" data-vv-as="&quot;{{ __('admin::app.settings.exchange_rates.target_currency') }}&quot;">
@foreach ($currencies as $currency)
@if (is_null($currency->exchange_rate))
<option value="{{ $currency->id }}">{{ $currency->name }}</option>
@endif
@endforeach
</select>
<span class="control-error" v-if="errors.has('target_currency')">@{{ errors.first('target_currency') }}</span>
</div>
</td>
<td>
<div class="control-group" :class="[errors.has('target_currency') ? 'has-error' : '']">
<select v-validate="'required'" class="control" name="target_currency" data-vv-as="&quot;{{ __('admin::app.settings.exchange_rates.target_currency') }}&quot;">
@foreach ($currencies as $currency)
@if (is_null($currency->exchange_rate))
<option value="{{ $currency->id }}">{{ $currency->name }}</option>
@endif
@endforeach
</select>
<span class="control-error" v-if="errors.has('target_currency')">@{{ errors.first('target_currency') }}</span>
</div>
</td>
<td>
<div class="control-group" :class="[errors.has('rate') ? 'has-error' : '']">
<input v-validate="'required'" class="control" id="rate" name="rate" data-vv-as="&quot;{{ __('admin::app.settings.exchange_rates.rate') }}&quot;" value="{{ old('rate') }}"/>
<span class="control-error" v-if="errors.has('rate')">@{{ errors.first('rate') }}</span>
</div>
</td>
<td>
<div class="control-group" :class="[errors.has('rate') ? 'has-error' : '']">
<input v-validate="'required'" class="control" id="rate" name="rate" data-vv-as="&quot;{{ __('admin::app.settings.exchange_rates.rate') }}&quot;" value="{{ old('rate') }}"/>
<span class="control-error" v-if="errors.has('rate')">@{{ errors.first('rate') }}</span>
</div>
</td>
{!! view_render_event('bagisto.admin.settings.exchangerate.create.after') !!}
</tr>
</tbody>
</table>
{!! view_render_event('bagisto.admin.settings.exchangerate.create.after') !!}
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>

View File

@ -13,7 +13,7 @@
<div class="page-action">
<a href="{{ route('admin.inventory_sources.create') }}" class="btn btn-lg btn-primary">
{{ __('admin::app.settings.inventory_sources.add-title') }}
{{ __('admin::app.settings.inventory_sources.add') }}
</a>
</div>
</div>