diff options
author | Xavier Priour <xavier.priour@bubblyware.com> | 2015-11-13 12:35:41 +0100 |
---|---|---|
committer | Xavier Priour <xavier.priour@bubblyware.com> | 2015-11-13 12:35:41 +0100 |
commit | 3dc70b3ea4d49bccb10d4f2b3e317c794da91e37 (patch) | |
tree | 35fdfa345a68017bf03e64689a92a8dfea705acc /client/components/import/import.jade | |
parent | 658ef5ebe112edd55eb8cf160e02a46eb2e13afd (diff) | |
download | wekan-3dc70b3ea4d49bccb10d4f2b3e317c794da91e37.tar.gz wekan-3dc70b3ea4d49bccb10d4f2b3e317c794da91e37.tar.bz2 wekan-3dc70b3ea4d49bccb10d4f2b3e317c794da91e37.zip |
Import members: UI flow ok
Diffstat (limited to 'client/components/import/import.jade')
-rw-r--r-- | client/components/import/import.jade | 45 |
1 files changed, 39 insertions, 6 deletions
diff --git a/client/components/import/import.jade b/client/components/import/import.jade index 799834fa..07e1116b 100644 --- a/client/components/import/import.jade +++ b/client/components/import/import.jade @@ -7,9 +7,42 @@ template(name="importPopup") input.primary.wide(type="submit" value="{{_ 'import'}}") template(name="mapMembersPopup") - p {{_ 'import-members-map'}} - ul - each members - li.item {{ fullName }} > world - form - input.primary.wide(type="submit" value="{{_ 'import'}}") + .map-members + p {{_ 'import-members-map'}} + .mapping-list + each members + .mapping + a.source + div.full-name + = fullName + div.username + | ({{username}}) + .wekan + if wekan + +userAvatar(userId=wekan._id) + else + a.member.add-member.js-add-members + i.fa.fa-plus + form + input.primary.wide(type="submit" value="{{_ 'import'}}") + + template(name="addMemberPopup") + +template(name="mapMembersAddPopup") + .select-member + p Hello world + .js-map-member + +esInput(index="users") + ul.pop-over-list + +esEach(index="users") + li.item.js-member-item + a.name.js-select-member(title="{{profile.name}} ({{username}})" data-id="{{_id}}") + +userAvatar(userId=_id esSearch=true) + span.full-name + = profile.name + | (<span class="username">{{username}}</span>) + +ifEsIsSearching(index='users') + +spinner + +ifEsHasNoResults(index="users") + .manage-member-section + p.quiet {{_ 'no-results'}} |