1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-04 21:15:24 +02:00

Change add-ons to use new UI framework

This commit is contained in:
Harvey Kandola 2018-12-20 18:12:17 +00:00
parent e140caff55
commit 89957c8278
20 changed files with 301 additions and 258 deletions

View file

@ -1,5 +1,9 @@
{{layout/logo-heading
title="Trello"
desc="Trello is the visual way to manage your projects and organize anything (https://trello.com)"
icon=constants.Icon.Integrations}}
{{#section/base-editor document=document folder=folder page=page busy=busy
tip="Trello is the visual way to manage your projects and organize anything (https://trello.com)"
isDirty=(action "isDirty") onCancel=(action "onCancel") onAction=(action "onAction")}}
{{#if trelloConfigured}}
@ -30,7 +34,8 @@
</div>
{{/if}}
{{else}}
<div class="btn btn-primary" {{action "auth"}}>Authenticate</div>
{{ui/ui-button color=constants.Color.Green light=true
label=constants.Label.Authenticate onClick=(action "auth")}}
{{/if}}
{{else}}
{{#if session.isGlobalAdmin}}