mirror of
https://github.com/documize/community.git
synced 2025-07-24 23:59:47 +02:00
Make popups close on doble-click + quote @size attrs
1. Popups should close on subsequent trigger clicks 2. @attrs should be quoted as oper linter warnings.
This commit is contained in:
parent
c65eb97948
commit
c49707d160
41 changed files with 84 additions and 81 deletions
|
@ -20,7 +20,7 @@
|
|||
{{#attach-popover class="ember-attacher-popper" hideOn="click" showOn="click" isShown=false placement="bottom-end" as |attacher|}}
|
||||
<i class="dicon {{constants.Icon.Cross}} closer" {{action attacher.hide}}/>
|
||||
<div class="container">
|
||||
<Ui::UiSpacer @size=100 />
|
||||
<Ui::UiSpacer @size="100" />
|
||||
|
||||
<div class="text-center">
|
||||
<ul class="ui-option-picker ui-option-picker-horiz">
|
||||
|
@ -36,7 +36,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=100 />
|
||||
<Ui::UiSpacer @size="100" />
|
||||
|
||||
<div class="text-center">
|
||||
<ul class="ui-option-picker ui-option-picker-horiz">
|
||||
|
@ -49,7 +49,7 @@
|
|||
</ul>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=300 />
|
||||
<Ui::UiSpacer @size="300" />
|
||||
|
||||
{{ui/ui-button
|
||||
light=true
|
||||
|
@ -61,7 +61,7 @@
|
|||
{{/ui/ui-button}}
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=200 />
|
||||
<Ui::UiSpacer @size="200" />
|
||||
|
||||
<ul class="documents">
|
||||
{{#each documents key="id" as |document|}}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=400 />
|
||||
<Ui::UiSpacer @size="400" />
|
||||
|
||||
<div class="space-admin">
|
||||
<div class="categories">
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<div class="perm-desc">Manage and delete space</div>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=200 />
|
||||
<Ui::UiSpacer @size="200" />
|
||||
|
||||
<div class="title" {{action "toggleDocumentPerms"}}>
|
||||
Document Permissions Explained
|
||||
|
@ -55,7 +55,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=300 />
|
||||
<Ui::UiSpacer @size="300" />
|
||||
|
||||
<div class="text-center">
|
||||
{{ui/ui-button color=constants.Color.Gray light=true icon=constants.Icon.Person
|
||||
|
@ -67,7 +67,7 @@
|
|||
onClick=(action "onShowInviteModal")}}
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=300 />
|
||||
<Ui::UiSpacer @size="300" />
|
||||
|
||||
<div class="space-admin table-responsive">
|
||||
<table class="table table-hover permission-table">
|
||||
|
@ -98,7 +98,7 @@
|
|||
<tr>
|
||||
<td class="no-wrap no-width">
|
||||
<i class="dicon {{constants.Icon.TriangleSmallDown}} cursor-pointer"/>
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="clickout" showOn="click" isShown=false}}
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
|
||||
<div class="menu">
|
||||
<a class="item" href="#" {{action "onBulkPermission" permission true}}>Grant all</a>
|
||||
<a class="item" href="#" {{action "onBulkPermission" permission false}}>Revoke all</a>
|
||||
|
@ -139,7 +139,7 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=200 />
|
||||
<Ui::UiSpacer @size="200" />
|
||||
|
||||
{{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Locked
|
||||
label=constants.Label.Save onClick=(action "onSave")}}
|
||||
|
@ -150,7 +150,7 @@
|
|||
<div class="modal-header">Add users to this space</div>
|
||||
<div class="modal-body">
|
||||
{{input id="user-search" type="text" class="form-control mousetrap" placeholder="Search for users by firstname, lastname, email" value=searchText key-up=(action "onSearch")}}
|
||||
<Ui::UiSpacer @size=200 />
|
||||
<Ui::UiSpacer @size="200" />
|
||||
<div class="space-admin">
|
||||
<div class="add-users">
|
||||
{{#each filteredUsers as |user|}}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<Ui::UiSpacer @size=200 />
|
||||
<Ui::UiSpacer @size="200" />
|
||||
|
||||
<div class="section">
|
||||
<div class="title">category</div>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{{#ui/ui-toolbar dark=false light=false raised=false large=false bordered=false}}
|
||||
{{#if (or hasDocuments pinState.isPinned session.authenticated)}}
|
||||
{{#ui/ui-toolbar-dropdown label="Content" arrow=true}}
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="clickout" showOn="click" isShown=false}}
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
|
||||
<div class="menu">
|
||||
{{#if pinState.isPinned}}
|
||||
<li class="item" {{action "onUnpin"}}>Remove bookmark</li>
|
||||
|
@ -18,7 +18,7 @@
|
|||
|
||||
{{#if permissions.documentAdd}}
|
||||
{{#ui/ui-toolbar-dropdown label="New" arrow=true}}
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="clickout" showOn="click" isShown=false}}
|
||||
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
|
||||
<div class="menu">
|
||||
<li class="item" {{action "onShowEmptyDocModal"}}>Blank canvas</li>
|
||||
{{#if hasTemplates}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue