Minor styling changes

This commit is contained in:
Hillel Coren 2016-03-22 12:08:48 +02:00
parent c66e933de5
commit dab023d898
7 changed files with 95 additions and 81 deletions

View File

@ -2530,11 +2530,13 @@ font-weight: bold;
}
.navbar,
.panel-default,
ul.dropdown-menu,
canvas,
.twitter-typeahead .tt-menu {
-moz-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
x-moz-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
x-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
}
.navbar .active > a {

View File

@ -799,14 +799,16 @@ html {
padding-top: 18px;
font-weight: 500;
font-size: 15px;
font-weight: bold;
color: #ecf0f1;
padding-left: 20px;
padding-right: 20px;
}
.navbar {
-moz-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
x-moz-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
x-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
}
#footer {

View File

@ -16,14 +16,16 @@ html {
padding-top: 18px;
font-weight: 500;
font-size: 15px;
font-weight: bold;
color: #ecf0f1;
padding-left: 20px;
padding-right: 20px;
}
.navbar {
-moz-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
x-moz-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
x-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
}
#footer {

View File

@ -403,11 +403,13 @@ font-weight: bold;
}
.navbar,
.panel-default,
ul.dropdown-menu,
canvas,
.twitter-typeahead .tt-menu {
-moz-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
-webkit-box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
box-shadow: 0 0 4px rgba(0,0,0,.14),0 4px 8px rgba(0,0,0,.28);
x-moz-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
x-webkit-box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
box-shadow: 0 0 1px 1px rgba(0,0,0,.05);
}
.navbar .active > a {

View File

@ -28,45 +28,47 @@
@include('accounts.nav', ['selected' => ACCOUNT_CLIENT_PORTAL])
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.client_portal') !!}</h3>
</div>
<div class="panel-body">
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('enable_client_portal')
->text(trans('texts.enable'))
->help(trans('texts.enable_client_portal_help')) !!}
</div>
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('enable_portal_password')
->text(trans('texts.enable_portal_password'))
->help(trans('texts.enable_portal_password_help'))
->label('&nbsp;') !!}
</div>
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('send_portal_password')
->text(trans('texts.send_portal_password'))
->help(trans('texts.send_portal_password_help'))
->label('&nbsp;') !!}
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.custom_css') !!}</h3>
</div>
<div class="panel-body">
<div class="col-md-10 col-md-offset-1">
{!! Former::textarea('client_view_css')
->label(trans('texts.custom_css'))
->rows(10)
->raw()
->autofocus()
->maxlength(60000)
->style("min-width:100%;max-width:100%;font-family:'Roboto Mono', 'Lucida Console', Monaco, monospace;font-size:14px;'") !!}
</div>
</div>
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.client_portal') !!}</h3>
</div>
<div class="panel-body">
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('enable_client_portal')
->text(trans('texts.enable'))
->help(trans('texts.enable_client_portal_help')) !!}
</div>
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('enable_portal_password')
->text(trans('texts.enable_portal_password'))
->help(trans('texts.enable_portal_password_help'))
->label('&nbsp;') !!}
</div>
<div class="col-md-10 col-md-offset-1">
{!! Former::checkbox('send_portal_password')
->text(trans('texts.send_portal_password'))
->help(trans('texts.send_portal_password_help'))
->label('&nbsp;') !!}
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.custom_css') !!}</h3>
</div>
<div class="panel-body">
<div class="col-md-10 col-md-offset-1">
{!! Former::textarea('client_view_css')
->label(trans('texts.custom_css'))
->rows(10)
->raw()
->autofocus()
->maxlength(60000)
->style("min-width:100%;max-width:100%;font-family:'Roboto Mono', 'Lucida Console', Monaco, monospace;font-size:14px;'") !!}
</div>
</div>
</div>
</div>
</div>

View File

@ -12,25 +12,28 @@
<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.localization') !!}</h3>
</div>
<div class="panel-body form-padding-right">
<div class="col-md-12">
{!! Former::select('currency_id')->addOption('','')
->fromQuery($currencies, 'name', 'id') !!}
{!! Former::select('language_id')->addOption('','')
->fromQuery($languages, 'name', 'id') !!}
{!! Former::select('timezone_id')->addOption('','')
->fromQuery($timezones, 'location', 'id') !!}
{!! Former::select('date_format_id')->addOption('','')
->fromQuery($dateFormats, 'label', 'id') !!}
{!! Former::select('datetime_format_id')->addOption('','')
->fromQuery($datetimeFormats, 'label', 'id') !!}
{!! Former::checkbox('military_time')->text(trans('texts.enable')) !!}
{{-- Former::checkbox('show_currency_code')->text(trans('texts.enable')) --}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">{!! trans('texts.localization') !!}</h3>
</div>
<div class="panel-body form-padding-right">
{!! Former::select('currency_id')->addOption('','')
->fromQuery($currencies, 'name', 'id') !!}
{!! Former::select('language_id')->addOption('','')
->fromQuery($languages, 'name', 'id') !!}
{!! Former::select('timezone_id')->addOption('','')
->fromQuery($timezones, 'location', 'id') !!}
{!! Former::select('date_format_id')->addOption('','')
->fromQuery($dateFormats, 'label', 'id') !!}
{!! Former::select('datetime_format_id')->addOption('','')
->fromQuery($datetimeFormats, 'label', 'id') !!}
{!! Former::checkbox('military_time')->text(trans('texts.enable')) !!}
{{-- Former::checkbox('show_currency_code')->text(trans('texts.enable')) --}}
</div>
</div>
</div>
</div>

View File

@ -6,22 +6,23 @@
@include('accounts.nav', ['selected' => ACCOUNT_SYSTEM_SETTINGS])
<div class="row">
{!! Former::open('/update_setup')
->addClass('warn-on-exit')
->autocomplete('off')
->rules([
'app[url]' => 'required',
//'database[default]' => 'required',
'database[type][host]' => 'required',
'database[type][database]' => 'required',
'database[type][username]' => 'required',
'database[type][password]' => 'required',
]) !!}
<div class="col-md-12">
{!! Former::open('/update_setup')
->addClass('warn-on-exit')
->autocomplete('off')
->rules([
'app[url]' => 'required',
//'database[default]' => 'required',
'database[type][host]' => 'required',
'database[type][database]' => 'required',
'database[type][username]' => 'required',
'database[type][password]' => 'required',
]) !!}
@include('partials.system_settings')
@include('partials.system_settings')
</div>
</div>
<center>