Download:
child 56:e2fe0cdc218f
parent 54:bb83c44ae4ac
55:8959cd40c75d
Anton Shestakov <av6@dwimlabs.net>, Sun, 27 Mar 2016 23:32:42 +0800
contacts: dropdown with a remove button

7 файлов изменено, 27 вставок(+), 6 удалений(-) [+]
coffee/contacts.coffee file | annotate | diff | comparison | revisions
coffee/index.coffee file | annotate | diff | comparison | revisions
index.html file | annotate | diff | comparison | revisions
js/contacts.js file | annotate | diff | comparison | revisions
js/contacts.js.map file | annotate | diff | comparison | revisions
js/index.js file | annotate | diff | comparison | revisions
js/index.js.map file | annotate | diff | comparison | revisions
--- a/coffee/contacts.coffee Sun Mar 27 18:34:54 2016 +0800
+++ b/coffee/contacts.coffee Sun Mar 27 23:32:42 2016 +0800
@@ -17,8 +17,8 @@
@on 'add change:type change:presence', ->
if @get('type') is 'self' then return @unset('d/actions')
- if @get('presence') is 'unavailable' then return @unset('d/actions')
if @get('presence') is 'subscribe' then return @set('d/actions', ['authorize', 'unauthorize'])
+ @set('d/actions', ['remove'])
class Tram.Contacts extends Backbone.Collection
@@ -64,6 +64,7 @@
events:
'click [data-authorize]': -> @model.trigger('authorize')
'click [data-unauthorize]': -> @model.trigger('unauthorize')
+ 'click [data-remove]': -> @model.trigger('remove')
initialize: ->
@$el.attr('data-jid', @model.get('jid'))
--- a/coffee/index.coffee Sun Mar 27 18:34:54 2016 +0800
+++ b/coffee/index.coffee Sun Mar 27 23:32:42 2016 +0800
@@ -106,6 +106,10 @@
X.conn.roster.unauthorize(contact.get('bjid'))
contacts.remove(contact)
+ contact.on 'remove', ->
+ X.conn.roster.remove contact.get('bjid'), ->
+ contacts.remove(contact)
+
getContactProfile(contact)
return contact
--- a/index.html Sun Mar 27 18:34:54 2016 +0800
+++ b/index.html Sun Mar 27 23:32:42 2016 +0800
@@ -110,6 +110,16 @@
<span rv-hide="model:type | eq 'self'" rv-text="model:chatstate | only 'composing'"></span>
</div>
</div>
+ <div class="column uk-text-nowrap">
+ <div class="uk-button-dropdown" data-uk-dropdown="{mode:'click',pos:'bottom-right'}" rv-if="model:d/actions | has 'remove'">
+ <button class="uk-button"><i class="uk-icon-caret-down"></i></button>
+ <div class="uk-dropdown uk-dropdown-small">
+ <ul class="uk-nav uk-nav-dropdown">
+ <li><a data-remove rv-if="model:d/actions | has 'remove'">Remove</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
<div class="uk-text-center">
<button type="button" class="uk-button uk-button-success" data-authorize rv-if="model:d/actions | has 'authorize'">
<i class="uk-icon-plus"></i> Authorize
--- a/js/contacts.js Sun Mar 27 18:34:54 2016 +0800
+++ b/js/contacts.js Sun Mar 27 23:32:42 2016 +0800
@@ -35,12 +35,10 @@
if (this.get('type') === 'self') {
return this.unset('d/actions');
}
- if (this.get('presence') === 'unavailable') {
- return this.unset('d/actions');
- }
if (this.get('presence') === 'subscribe') {
return this.set('d/actions', ['authorize', 'unauthorize']);
}
+ return this.set('d/actions', ['remove']);
});
};
@@ -137,6 +135,9 @@
},
'click [data-unauthorize]': function() {
return this.model.trigger('unauthorize');
+ },
+ 'click [data-remove]': function() {
+ return this.model.trigger('remove');
}
};
--- a/js/contacts.js.map Sun Mar 27 18:34:54 2016 +0800
+++ b/js/contacts.js.map Sun Mar 27 23:32:42 2016 +0800
@@ -6,5 +6,5 @@
"coffee/contacts.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA;;;;EAAM,IAAI,CAAC;;;;;;;sBACT,WAAA,GAAa;;sBACb,QAAA,GACE;MAAA,QAAA,EAAU,aAAV;MACA,IAAA,EAAM,SADN;;;sBAGF,UAAA,GAAY,SAAA;MACV,IAAC,CAAA,EAAD,CAAI,mBAAJ,EAAyB,SAAA;AACvB,YAAA;QAAA,MAAA,GAAS,IAAC,CAAA,GAAD,CAAK,QAAL;QACT,sBAAG,MAAM,CAAE,cAAR,sBAAiB,MAAM,CAAE,cAA5B;iBACE,IAAC,CAAA,GAAD,CAAK,UAAL,EAAiB,OAAA,GAAS,MAAM,CAAC,IAAhB,GAA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EAAA,KAAM,CAAT;eACE,IAAC,CAAA,GAAG,CAAC,OAAL,CAAa,EAAb,EADF;OAAA,MAAA;eAGE,IAAC,CAAA,GAAG,CAAC,QAAL,CAAA,CAAe,CAAC,EAAhB,CAAmB,EAAA,GAAK,CAAxB,CAA0B,CAAC,KAA3B,CAAiC,EAAjC,EAHF;;IAJK;;0BASP,MAAA,GAAQ,SAAC,UAAD,EAAa,OAAb;MACN,IAAG,CAAI,OAAO,CAAC,GAAf;eACE,UAAU,CAAC,IAAX,CAAgB,CAAA,SAAA,KAAA;iBAAA,SAAC,KAAD;YACd,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,MAAf,CAAA;mBACA,KAAC,CAAA,GAAG,CAAC,MAAL,CAAY,KAAK,CAAC,IAAI,CAAC,EAAvB;UAFc;QAAA,CAAA,CAAA,CAAA,IAAA,CAAhB,EADF;;IADM;;;;KAdqB,QAAQ,CAAC;AA5FxC"
}
\ No newline at end of file
--- a/js/index.js Sun Mar 27 18:34:54 2016 +0800
+++ b/js/index.js Sun Mar 27 23:32:42 2016 +0800
@@ -150,6 +150,11 @@
X.conn.roster.unauthorize(contact.get('bjid'));
return contacts.remove(contact);
});
+ contact.on('remove', function() {
+ return X.conn.roster.remove(contact.get('bjid'), function() {
+ return contacts.remove(contact);
+ });
+ });
getContactProfile(contact);
return contact;
};
--- a/js/index.js.map Sun Mar 27 18:34:54 2016 +0800
+++ b/js/index.js.map Sun Mar 27 23:32:42 2016 +0800
@@ -6,5 +6,5 @@
"coffee/index.coffee"
],
"names": [],
- "mappings": ";AAAA;AAAA,MAAA,4JAAA;IAAA;;;;EAAA,OAAO,CAAC,YAAR,CAAqB,cAArB,EAAqC,qBAArC;;;IAGA,MAAM,CAAC,WAAgB,IAAA,IAAI,CAAC,QAAL,CAAA;;;;IACvB,MAAM,CAAC,cAAmB,IAAA,IAAI,CAAC,WAAL,CAAiB;MAAA,EAAA,EAAI,CAAA,CAAE,uBAAF,CAAJ;MAAgC,UAAA,EA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