1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-25 08:09:43 +02:00

Set consistent browser titles

This commit is contained in:
sauls8t 2018-01-24 13:23:11 +00:00
parent 88b99979a9
commit adef6dfffa
37 changed files with 140 additions and 117 deletions

View file

@ -49,9 +49,9 @@
{{/ui/ui-dialog}}
{{#if showAdd}}
{{empty-state icon="direct" message="You can create new documents via the green + button"}}
{{empty-state icon="direct" message="Add documents via + DOCUMENT"}}
{{/if}}
{{#if showLockout}}
{{empty-state icon="visibility" message="It looks like space permissions are preventing you from viewing and creating documents"}}
{{empty-state icon="visibility" message="Space permissions are preventing you from viewing and creating documents"}}
{{/if}}

View file

@ -2,7 +2,6 @@
<div class="row">
<div class="col">
<div class="mt-4 mb-5">
{{#unless editMode}}
<div class="view-space">
<div class="heading">
@ -16,14 +15,13 @@
<div class="view-space">
<div class="heading">
<div class="form-group">
{{input id="space-name" type="text" value=spaceName class=(if hasNameError 'form-control is-invalid' 'form-control') placeholder="Space name" autocomplete="off"}}
{{focus-input id="space-name" type="text" value=spaceName class=(if hasNameError 'form-control is-invalid' 'form-control') placeholder="Space name" autocomplete="off"}}
<small class="form-text text-muted">Press Enter to save or Escape to cancel</small>
</div>
</div>
</div>
</form>
{{/unless}}
</div>
</div>
</div>

View file

@ -62,13 +62,17 @@
<i class="material-icons">check</i>
{{/if}}
</li>
{{else}}
No document templates
{{/each}}
</ul>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success" onclick={{action 'onOpenTemplate'}}>Open</button>
{{#if templates}}
<button type="button" class="btn btn-success" onclick={{action 'onOpenTemplate'}}>Open</button>
{{/if}}
</div>
</div>
</div>

View file

@ -12,13 +12,13 @@
<div class="modal-body">
<form onsubmit={{action 'onAddSpace'}}>
<div class="form-group">
<label for="new-space-name">Space Name</label>
<label for="new-space-name">Space Name</label>
{{input type='text' id="new-space-name" class="form-control mousetrap" placeholder="Space name" value=spaceName}}
<small id="emailHelp" class="form-text text-muted">Characters and numbers only</small>
</div>
<div class="form-group">
<label for="clone-space-dropdown">Clone Space</label>
{{ui-select id="clone-space-dropdown" content=spaces prompt="select space" action=(action 'onCloneSpaceSelect') optionValuePath="id" optionLabelPath="name" selection=cloneSpace}}
<label for="clone-space-dropdown">Clone Space</label>
{{ui-select id="clone-space-dropdown" content=spaces prompt="select space" action=(action 'onCloneSpaceSelect') optionValuePath="id" optionLabelPath="name" selection=clonedSpace}}
<small id="emailHelp" class="form-text text-muted">Copy templates, permissions, documents from existing space</small>
<div class="margin-top-10" />
{{#if hasClone}}