mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Reworked product license form
This commit is contained in:
parent
5fe094a2d7
commit
78cdca3266
1 changed files with 10 additions and 12 deletions
|
@ -11,19 +11,17 @@
|
|||
|
||||
<div class="view-customize">
|
||||
<form class="mt-5 ">
|
||||
<div class="form-group row">
|
||||
<label for="smtp-host " class="col-sm-2 col-form-label ">Enterprise Edition<br/> License (optional)</label>
|
||||
<div class="col-sm-10 ">
|
||||
{{textarea value=model.license rows="10" class=(if LicenseError 'form-control is-invalid' 'form-control')}}
|
||||
<small class="form-text text-muted ">XML format</small>
|
||||
{{#if appMeta.valid}}
|
||||
<p class="mt-2 color-green">Valid</p>
|
||||
{{else}}
|
||||
<p class="mt-2 color-red">Invalid</p>
|
||||
{{/if}}
|
||||
<div class="btn btn-success mt-3" {{action 'saveLicense'}}>Save</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="product-license-xml">Enterprise Edition license (optional)</label>
|
||||
<textarea id="product-license-xml" rows=18 value={{model.license}} class={{if LicenseError 'form-control is-invalid' 'form-control'}}></textarea>
|
||||
<small class="form-text text-muted ">XML format</small>
|
||||
{{#if appMeta.valid}}
|
||||
<p class="mt-2 color-green">Valid</p>
|
||||
{{else}}
|
||||
<p class="mt-2 color-red">Invalid</p>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="btn btn-success mt-3" {{action 'saveLicense'}}>Save</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue