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