silvrgit/views/pages/slackV2-min.ejs

58 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-04-05 13:22:31 +00:00
<% include ../partials/head-min %>
2017-04-02 23:07:55 +00:00
<!-- Slack - I have plenty of talent and vision I just don't give a damn -->
<header id="header">
<div class="mui-appbar mui--appbar-line-height">
<div class="mui-container-fluid">
Slack
</div>
</div>
</header>
<div class="mui-container">
<div class="mui--appbar-height">
</div>
<div id="container" class="mui-panel">
2017-04-11 13:30:48 +00:00
<div class="mui-row" id="events">
2017-04-02 23:07:55 +00:00
</div>
</div>
2017-06-13 09:58:25 +00:00
<% include ../partials/links %>
2017-04-02 23:07:55 +00:00
<div id='weather'></div>
2017-04-02 23:07:55 +00:00
</div>
2017-04-20 13:55:33 +00:00
<script type="text/template" id="password-template">
<div>Long: {{=long }}</div><div>Short: {{=short }}</div>
2017-04-20 13:55:33 +00:00
</script>
2017-04-02 23:07:55 +00:00
</body>
<script src="live/js/vendor.js"></script>
<script src="live/js/app.js"></script>
<script>
2017-06-13 09:58:25 +00:00
;(function (w) {
/*navigator.geolocation.getCurrentPosition((show_weather) => {
2017-04-11 13:30:48 +00:00
w.weather = new WeatherSlim({model: new WeatherModel({geo:show_weather})});
});*/
const webSocketModel = new SOCKETMANAGER();
2017-04-11 13:30:48 +00:00
const btcModel = new BitcoinModel();
webSocketModel.setBTC(btcModel);
w.wview = new WView({'el': document.getElementById('weather')});
w.contractEnds = new EventView({model: new EventModel({event: new Date(2017, 8, 29), label: 'Contract Ends:'})});
/*w.bitcoin = new Bitcoin({model: new BitcoinModel()});*/
w.bitcoin = new Bitcoin({model: btcModel});
w.fx = new FxView({model: new FxModel()});
w.dbqglqView = new TrainView({model: new TrainModel({'from': 'dbe', 'to': 'glq'})});
w.glqdbeView = new TrainView({model: new TrainModel({'from': 'glq', 'to': 'dbe'})});
w.glqhymView = new TrainView({model: new TrainModel({'from': 'glq', 'to': 'hym'})});
w.hymglqView = new TrainView({model: new TrainModel({'from': 'hym', 'to': 'glq'})});
2017-04-02 23:07:55 +00:00
2017-04-20 12:42:55 +00:00
w.passwords = new PasswordView();
})(window);
2017-04-02 23:07:55 +00:00
</script>
</html>