diff --git a/submodules/groups/groups.css b/submodules/groups/groups.css index 0351152..7e95ee7 100644 --- a/submodules/groups/groups.css +++ b/submodules/groups/groups.css @@ -257,6 +257,12 @@ } /* Members */ +#groups_container .detail-group .grid-time .group-row-placeholder { + height: 60px; + width: 100%; + background: #EEE; +} + #groups_container .detail-group .grid-time .group-row { position: relative; -webkit-box-sizing: border-box; @@ -268,10 +274,6 @@ background: #FFF; } -#groups_container .detail-group .grid-time .group-row:nth-child(2) { - padding-top: 25px; -} - #groups_container .detail-group .grid-time .group-row > div { display: inline-block; -webkit-box-sizing: border-box; @@ -280,6 +282,10 @@ box-sizing: border-box; } +#groups_container .detail-group .grid-time .group-row:not(.title) { + cursor: move; +} + #groups_container .detail-group .grid-time .group-row.title { margin-top: 1px; background-color: transparent; diff --git a/submodules/groups/groups.js b/submodules/groups/groups.js index 21f61f7..739cb50 100644 --- a/submodules/groups/groups.js +++ b/submodules/groups/groups.js @@ -498,6 +498,11 @@ define(function(require){ self.groupsBindMembers(template, results); + template.find('.grid-time').sortable({ + items: '.group-row:not(.title)', + placeholder: 'group-row-placeholder' + }); + template.find('[data-toggle="tooltip"]').tooltip(); callback && callback(template, results); diff --git a/views/myOffice-layout.html b/views/myOffice-layout.html index 0bbc154..b5622e8 100644 --- a/views/myOffice-layout.html +++ b/views/myOffice-layout.html @@ -1,6 +1,6 @@
-
{{account.name}}
{{debug mainNumbers.length}} +
{{account.name}}