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

upgraded material icon fonts, space invite popup UX

This commit is contained in:
Harvey Kandola 2017-11-23 20:40:46 +00:00
parent 18fc5db8c6
commit e10313b7cc
13 changed files with 161 additions and 199 deletions

View file

@ -39,14 +39,14 @@
</ul>
</div>
{{#ui/ui-confirm-dialog title="Delete Documents" confirmCaption="Delete" buttonType="btn-danger" show=showDeleteDialog onAction=(action 'onDeleteDocuments')}}
{{#ui/ui-dialog title="Delete Documents" confirmCaption="Delete" buttonType="btn-danger" show=showDeleteDialog onAction=(action 'onDeleteDocuments')}}
<p>Are you sure you want to delete {{selectedDocuments.length}} {{selectedCaption}}?</p>
{{/ui/ui-confirm-dialog}}
{{/ui/ui-dialog}}
{{#ui/ui-confirm-dialog title="Move Documents" confirmCaption="Move" buttonType="btn-success" show=showMoveDialog onAction=(action 'onMoveDocuments')}}
{{#ui/ui-dialog title="Move Documents" confirmCaption="Move" buttonType="btn-outline-success" show=showMoveDialog onAction=(action 'onMoveDocuments')}}
<p>Select space for {{selectedDocuments.length}} {{selectedCaption}}</p>
{{ui/ui-list-picker items=moveOptions nameField='name' singleSelect=true}}
{{/ui/ui-confirm-dialog}}
{{/ui/ui-dialog}}
{{#if showAdd}}
{{empty-state icon="direct" message="You can create new documents via the green + button"}}

View file

@ -1,19 +0,0 @@
<div class="space-settings">
<div class="panel">
<div class="form-header">
<div class="title">Invite</div>
<div class="tip">Share this space with co-workers</div>
</div>
<div class="input-control">
<label>Email</label>
<div class="tip">Comma separate multiple email addresses</div>
{{focus-input id="inviteEmail" type="text" class="input-transparent" value=inviteEmail}}
</div>
<div class="input-control">
<label>Message</label>
<div class="tip">Explain why they are being invited to this space</div>
{{textarea id="explainInvite" value=inviteMessage class="input-transparent" rows="5"}}
</div>
<div class="regular-button button-blue" {{ action 'onShare' }}>Invite</div>
</div>
</div>