58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
<% include ../partials/head-min %>
|
|
<!-- 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">
|
|
<div class="mui-row" id="events">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<% include ../partials/links %>
|
|
|
|
<div id='weather'></div>
|
|
</div>
|
|
|
|
<script type="text/template" id="password-template">
|
|
<div>Long: {{=long }}</div><div>Short: {{=short }}</div>
|
|
</script>
|
|
</body>
|
|
<script src="live/js/vendor.js"></script>
|
|
<script src="live/js/app.js"></script>
|
|
<script>
|
|
;(function (w) {
|
|
/*navigator.geolocation.getCurrentPosition((show_weather) => {
|
|
w.weather = new WeatherSlim({model: new WeatherModel({geo:show_weather})});
|
|
});*/
|
|
const webSocketModel = new SOCKETMANAGER();
|
|
|
|
|
|
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'})});
|
|
|
|
w.passwords = new PasswordView();
|
|
})(window);
|
|
|
|
</script>
|
|
</html>
|