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

Replaced Material Icons & Boostrap with custom UI framework

This commit is contained in:
Harvey Kandola 2018-12-21 11:15:59 +00:00
parent d0f0a12f2d
commit 61c648a7ac
75 changed files with 116 additions and 1445 deletions

View file

@ -34,25 +34,12 @@
<div class="form-group">
<label>Select Repository</label>
{{ui/ui-list-picker items=config.lists nameField="repo" singleSelect=true}}
{{!-- <div class="github-board">
{{#each config.lists as |list|}}
<div class="github-list" {{action "onListCheckbox" list.id}}>
{{#if list.included}}
<i class="material-icons widget-checkbox checkbox-gray github-list-checkbox">check_box</i>
{{else}}
<i class="material-icons widget-checkbox checkbox-gray github-list-checkbox">check_box_outline_blank</i>
{{/if}}
<span class="github-list-title">{{list.repo}} {{#if list.private}}(private){{/if}}</span>
</div>
{{/each}}
</div> --}}
</div>
</div>
</div>
{{else}}
<div class="col-6">
<div class="btn btn-primary" {{action "auth"}}>Authenticate</div>
<div class="" {{action "auth"}}>Authenticate</div>
</div>
{{/if}}
</div>

View file

@ -14,13 +14,7 @@
{{focus-input id="papertrail-apitoken" type="password" value=config.APIToken class="form-control"}}
<small class="form-text text-muted">API Token (from your profile)</small>
</div>
<div class="btn btn-primary" {{action "auth"}} >
{{#if authenticated}}
Re-Authenticate
{{else}}
Authenticate
{{/if}}
</div>
{{ui/ui-button color=constants.Color.Green light=true label=constants.Label.Authenticate onClick=(action "auth")}}
</form>
</div>
<div class="grid-cell-2">

View file

@ -22,9 +22,9 @@
{{#each config.lists as |list|}}
<div class="section-trello-list" {{action "onListCheckbox" list.id}}>
{{#if list.included}}
<i class="material-icons widget-checkbox checkbox-gray section-trello-list-checkbox">check_box</i>
<i class="section-trello-list-checkbox dicon {{constants.Icon.CheckboxChecked}}" />
{{else}}
<i class="material-icons widget-checkbox checkbox-gray section-trello-list-checkbox">check_box_outline_blank</i>
<i class="section-trello-list-checkbox dicon {{constants.Icon.Checkbox}}" />
{{/if}}
<span class="trello-list-title">{{list.name}}</span>
</div>
@ -39,8 +39,10 @@
{{/if}}
{{else}}
{{#if session.isGlobalAdmin}}
{{#link-to "customize.integrations" class="btn btn-outline-secondary bold-700"}}
Configure Trello Connector
{{#link-to "customize.integrations"}}
{{ui/ui-button color=constants.Color.Yellow light=true
label="Configure Trello Connector"}}
{{/link-to}}
{{else}}
<p>Your Documize administrator needs to configure Trello before usage.</p>