New layout/design

Two column layout and style tweaks. Templatized conversation views.
Generalized list view.
This commit is contained in:
lilia
2014-07-22 08:55:26 -10:00
parent 6d5e32bca8
commit def32f42d4
9 changed files with 203 additions and 91 deletions

View File

@@ -20,8 +20,9 @@ textsecure.registerOnLoadFunction(function() {
extension.navigator.tabs.create("options.html");
} else {
new Whisper.ConversationListView();
new Whisper.ConversationListView({el: $('#contacts')});
new Whisper.ConversationComposeView({el: $('body')});
Whisper.Threads.fetch({reset: true});
$('.my-number').text(textsecure.storage.getUnencrypted("number_id").split(".")[0]);
textsecure.storage.putUnencrypted("unreadCount", 0);
extension.navigator.setBadgeText("");