mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
Styling forms
This commit is contained in:
parent
831c81a4b9
commit
d34fbcf726
@ -27,11 +27,11 @@ class StartupCheck
|
||||
{
|
||||
// Set up trusted X-Forwarded-Proto proxies
|
||||
// TRUSTED_PROXIES accepts a comma delimited list of subnets
|
||||
//
|
||||
// TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
|
||||
// ie, TRUSTED_PROXIES='10.0.0.0/8,172.16.0.0/12,192.168.0.0/16'
|
||||
if (isset($_ENV['TRUSTED_PROXIES'])) {
|
||||
Request::setTrustedProxies(array_map('trim',explode(",",env('TRUSTED_PROXIES'))));
|
||||
Request::setTrustedProxies(array_map('trim', explode(',', env('TRUSTED_PROXIES'))));
|
||||
}
|
||||
|
||||
// Ensure all request are over HTTPS in production
|
||||
if (App::environment() == ENV_PRODUCTION && !Request::secure()) {
|
||||
return Redirect::secure(Request::getRequestUri());
|
||||
|
@ -46,7 +46,7 @@ class AuthService
|
||||
if ($result === true) {
|
||||
if (!$isRegistered) {
|
||||
event(new UserSignedUp());
|
||||
Session::flash('warning', trans('texts.success_message'));
|
||||
Session::flash('message', trans('texts.success_message'));
|
||||
} else {
|
||||
Session::flash('message', trans('texts.updated_settings'));
|
||||
return redirect()->to('/settings/' . ACCOUNT_COMPANY_DETAILS);
|
||||
|
37
public/css/built.css
vendored
37
public/css/built.css
vendored
@ -3105,23 +3105,45 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
.hide-desktop {display: none;}
|
||||
|
||||
/* Custom, iPhone Retina */
|
||||
@media only screen and (min-width : 320px) {
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.hide-phone {
|
||||
display: none !important;
|
||||
}
|
||||
/* Extra Small Devices, Phones */
|
||||
@media only screen and (min-width : 480px) {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
/* Small Devices, Tablets */
|
||||
@media only screen and (min-width : 768px) {
|
||||
.form-padding-right {
|
||||
padding-right: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Medium Devices, Desktops */
|
||||
@media only screen and (min-width : 992px) {
|
||||
.form-padding-right {
|
||||
padding-right: 100px;
|
||||
}
|
||||
.medium-dialog {
|
||||
width: 760px;
|
||||
}
|
||||
.large-dialog {
|
||||
width: 960px;
|
||||
}
|
||||
.hide-desktop
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.hide-phone {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
@ -3342,6 +3364,7 @@ ul.user-accounts a:hover div.remove {
|
||||
width: 350px;
|
||||
}
|
||||
|
||||
/* Show selected section in settings nav */
|
||||
.list-group-item.selected:before {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
|
36
public/css/style.css
vendored
36
public/css/style.css
vendored
@ -755,23 +755,45 @@ box-shadow: 0px 0px 15px 0px rgba(0, 5, 5, 0.2);
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
.hide-desktop {display: none;}
|
||||
|
||||
/* Custom, iPhone Retina */
|
||||
@media only screen and (min-width : 320px) {
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.hide-phone {
|
||||
display: none !important;
|
||||
}
|
||||
/* Extra Small Devices, Phones */
|
||||
@media only screen and (min-width : 480px) {
|
||||
|
||||
}
|
||||
|
||||
@media screen and (min-width: 992px) {
|
||||
/* Small Devices, Tablets */
|
||||
@media only screen and (min-width : 768px) {
|
||||
.form-padding-right {
|
||||
padding-right: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Medium Devices, Desktops */
|
||||
@media only screen and (min-width : 992px) {
|
||||
.form-padding-right {
|
||||
padding-right: 100px;
|
||||
}
|
||||
.medium-dialog {
|
||||
width: 760px;
|
||||
}
|
||||
.large-dialog {
|
||||
width: 960px;
|
||||
}
|
||||
.hide-desktop
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.hide-phone {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
|
@ -13,7 +13,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans($title) !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
@if ($accountGateway)
|
||||
{!! Former::populateField('gateway_id', $accountGateway->gateway_id) !!}
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.details') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
{!! Former::text('name') !!}
|
||||
{!! Former::text('id_number') !!}
|
||||
@ -51,7 +51,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.address') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
{!! Former::text('address1') !!}
|
||||
{!! Former::text('address2') !!}
|
||||
|
@ -32,7 +32,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.email_settings') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
{!! Former::checkbox('pdf_email_attachment')->text(trans('texts.enable')) !!}
|
||||
@if (Utils::isNinja())
|
||||
{!! Former::inline_radios('custom_invoice_link')
|
||||
@ -60,7 +60,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.invoice_quote_number') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
<div role="tabpanel">
|
||||
<ul class="nav nav-tabs" role="tablist" style="border: none">
|
||||
<li role="presentation" class="active"><a href="#invoiceNumber" aria-controls="invoiceNumber" role="tab" data-toggle="tab">{{ trans('texts.invoice_number') }}</a></li>
|
||||
@ -90,7 +90,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.custom_fields') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
<div role="tabpanel">
|
||||
<ul class="nav nav-tabs" role="tablist" style="border: none">
|
||||
|
@ -14,7 +14,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.localization') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
{!! Former::select('currency_id')->addOption('','')
|
||||
->fromQuery($currencies, 'name', 'id') !!}
|
||||
|
@ -14,7 +14,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! $title !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
@if ($product)
|
||||
{{ Former::populate($product) }}
|
||||
|
@ -12,7 +12,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans($title) !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
@if ($token)
|
||||
{!! Former::populate($token) !!}
|
||||
|
@ -26,7 +26,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! trans('texts.user_details') !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
{!! Former::text('first_name') !!}
|
||||
{!! Former::text('last_name') !!}
|
||||
{!! Former::text('email') !!}
|
||||
|
@ -18,7 +18,7 @@
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">{!! $title !!}</h3>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body form-padding-right">
|
||||
|
||||
{!! Former::text('first_name') !!}
|
||||
{!! Former::text('last_name') !!}
|
||||
|
Loading…
Reference in New Issue
Block a user