1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-31 02:59:44 +02:00

Applied new layout to space admin screens

Applied the new master layout and UI controls to the following space admin screens:

1. General options.
2. Deletion.
3. Permissions.
4. Content blocks.

Co-Authored-By: Harvey Kandola <harvey@documize.com>
This commit is contained in:
McMatts 2018-12-17 18:32:26 +00:00
parent d5b5e015d1
commit 60e92b63a9
15 changed files with 309 additions and 226 deletions

View file

@ -1,11 +1,19 @@
<div class="content-zone">
<div class="explainer-header explainer-gap">Delete this space and all documents</div>
<form>
<div class="form-group">
<label>Please type space name to confirm</label>
{{focus-input id="delete-space-name" type="text" value=deleteSpaceName class="form-control mousetrap" placeholder="Space name" autocomplete="off"}}
<small class="form-text text-muted">This will delete all documents and templates within this space!</small>
</div>
</form>
<button type="button" class="btn btn-danger mt-3" onclick={{action "onDelete"}}>Delete Space</button>
</div>
{{layout/logo-heading
title="Delete Space"
desc="Proceed with caution as there is no undo"
icon=constants.Icon.Delete}}
<form>
<div class="form-group">
<label>Please type space name to confirm</label>
{{focus-input id="delete-space-name" type="text" value=deleteSpaceName class="form-control mousetrap" placeholder="Space name" autocomplete="off"}}
<small class="form-text text-muted">This will delete all documents and templates within this space!</small>
</div>
</form>
{{ui/ui-button
color=constants.Color.Red
icon=constants.Icon.Delete
label=constants.Label.Delete
light=true
onClick=(action 'onDelete')}}