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

Move revisions to new ui framework

This commit is contained in:
sauls8t 2018-12-20 13:05:22 +00:00
parent 2042454e77
commit 3c81297fc6
19 changed files with 288 additions and 190 deletions

View file

@ -39,23 +39,21 @@
{{/if}}
{{#if showLikes}}
<div class=" d-flex justify-content-center no-print">
<div class="vote-box">
{{#unless voteThanks}}
<div class="prompt">
{{folder.likes}}
</div>
<div class="vote-box no-print">
{{#if voteThanks}}
<div class="thanks">Thanks for the feedback!</div>
{{else}}
<div class="prompt">{{folder.likes}}</div>
{{ui/ui-spacer size=200}}
<div class="buttons">
<button type="button" class="btn btn-outline-success bold-700" {{action "onVote" 1}}>Yes, thanks!</button>&nbsp;&nbsp;
<button type="button" class="btn btn-outline-secondary bold-700" {{action "onVote" 2}}>Not really</button>
{{ui/ui-button color=constants.Color.Yellow light=true label="Yes, thanks!" onClick=(action "onVote" 1)}}
{{ui/ui-button-gap}}
{{ui/ui-button color=constants.Color.Yellow light=true label="Not really" onClick=(action "onVote" 2)}}
</div>
{{else}}
<div class="ack">Thanks for the feedback!</div>
{{/unless}}
</div>
{{/if}}
</div>
{{/if}}
{{else }}
{{else}}
{{#if canEdit}}
<div class="start-section">
<i class="dicon {{constants.Icon.Plus}}" {{action "onShowSectionWizard"}}>