Download:
child 84:1084946757b4
parent 82:c440b44d557f
83:02495e40ccde
Anton Shestakov <av6@dwimlabs.net>, Sun, 03 Apr 2016 12:29:29 +0800
tram: new possible pip color (chat), add another pip to the sidebar

4 файлов изменено, 8 вставок(+), 1 удалений(-) [+]
coffee/tram.coffee file | annotate | diff | comparison | revisions
index.html file | annotate | diff | comparison | revisions
js/tram.js file | annotate | diff | comparison | revisions
js/tram.js.map file | annotate | diff | comparison | revisions
--- a/coffee/tram.coffee Sun Apr 03 12:27:31 2016 +0800
+++ b/coffee/tram.coffee Sun Apr 03 12:29:29 2016 +0800
@@ -17,6 +17,7 @@
colors:
show:
+ chat: '#a959c5'
online: '#8cc14c'
away: '#faa732'
xa: '#da314b'
--- a/index.html Sun Apr 03 12:27:31 2016 +0800
+++ b/index.html Sun Apr 03 12:29:29 2016 +0800
@@ -65,6 +65,11 @@
<div class="has-sidebar uk-hidden" data-step="main">
<div class="sidebar" data-app="sidebar">
<ul class="uk-nav uk-nav-side uk-nav-offcanvas uk-text-nowrap">
+ <li rv-class-uk-active="model:show | eq 'chat'">
+ <a data-show="chat" rv-on-click="view.show">
+ <div class="status-pip" rv-style="'chat' | fn view.getPipColor"></div> Ready to chat
+ </a>
+ </li>
<li rv-class-uk-active="model:show | eq 'online'">
<a data-show="online" rv-on-click="view.show">
<div class="status-pip" rv-style="'online' | fn view.getPipColor"></div> Online
--- a/js/tram.js Sun Apr 03 12:27:31 2016 +0800
+++ b/js/tram.js Sun Apr 03 12:29:29 2016 +0800
@@ -21,6 +21,7 @@
},
colors: {
show: {
+ chat: '#a959c5',
online: '#8cc14c',
away: '#faa732',
xa: '#da314b',
--- a/js/tram.js.map Sun Apr 03 12:27:31 2016 +0800
+++ b/js/tram.js.map Sun Apr 03 12:29:29 2016 +0800
@@ -6,5 +6,5 @@
"coffee/tram.coffee"
],
"names": [],
- "mappings": ";AAAA;EAAA,MAAM,CAAC,IAAP,GACE;IAAA,IAAA,EACE;MAAA,MAAA,EAAQ,SAAR;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