mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:17:30 -04:00
Proposals
This commit is contained in:
parent
110640b61b
commit
08cd5a2c07
@ -13,6 +13,7 @@
|
|||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->method($method)
|
->method($method)
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
|
->addClass('warn-on-exit')
|
||||||
->rules([
|
->rules([
|
||||||
'invoice_id' => 'required',
|
'invoice_id' => 'required',
|
||||||
]) !!}
|
]) !!}
|
||||||
|
@ -40,6 +40,10 @@ $(function() {
|
|||||||
}
|
}
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
grapesjsEditor.on('component:update', function(a, b) {
|
||||||
|
NINJA.formIsChanged = true;
|
||||||
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
@ -2,16 +2,29 @@
|
|||||||
<link href="{{ asset('css/grapesjs.css') }}?no_cache={{ NINJA_VERSION }}" rel="stylesheet" type="text/css"/>
|
<link href="{{ asset('css/grapesjs.css') }}?no_cache={{ NINJA_VERSION }}" rel="stylesheet" type="text/css"/>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
.gjs-four-color,
|
.gjs-four-color,
|
||||||
.gjs-four-color-h:hover {
|
.gjs-four-color-h:hover {
|
||||||
color: #3b97ff !important;
|
color: #3b97ff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gjs-rte-actionbar,
|
.gjs-rte-actionbar,
|
||||||
.gjs-block-label,
|
.gjs-block-label,
|
||||||
.gjs-block-categories {
|
.gjs-block-categories {
|
||||||
font-size: 12px !important;
|
font-size: 12px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.gjs-toolbar-item {
|
.gjs-toolbar-item {
|
||||||
font-size: 2em !important;
|
font-size: 2em !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#gjs-clm-status-c {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Workaround for https://github.com/artf/grapesjs/issues/596 */
|
||||||
|
.sp-container.sp-light {
|
||||||
|
left: 300px !important;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->method($method)
|
->method($method)
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
|
->addClass('warn-on-exit')
|
||||||
->rules([
|
->rules([
|
||||||
'name' => 'required',
|
'name' => 'required',
|
||||||
]) !!}
|
]) !!}
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
{!! Former::open($url)
|
{!! Former::open($url)
|
||||||
->method($method)
|
->method($method)
|
||||||
->onsubmit('return onFormSubmit(event)')
|
->onsubmit('return onFormSubmit(event)')
|
||||||
|
->addClass('warn-on-exit')
|
||||||
->rules([
|
->rules([
|
||||||
'name' => 'required',
|
'name' => 'required',
|
||||||
]) !!}
|
]) !!}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user