summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-03-14 08:50:46 -0400
committerChristopher Speller <crspeller@gmail.com>2016-03-16 18:02:55 -0400
commit12896bd23eeba79884245c1c29fdc568cf21a7fa (patch)
tree4e7f83d3e2564b9b89d669e9f7905ff11768b11a /templates
parent29fe6a3d13c9c7aa490fffebbe5d1b5fdf1e3090 (diff)
downloadchat-12896bd23eeba79884245c1c29fdc568cf21a7fa.tar.gz
chat-12896bd23eeba79884245c1c29fdc568cf21a7fa.tar.bz2
chat-12896bd23eeba79884245c1c29fdc568cf21a7fa.zip
Converting to Webpack. Stage 1.
Diffstat (limited to 'templates')
-rw-r--r--templates/head.html92
-rw-r--r--templates/root.html12
2 files changed, 0 insertions, 104 deletions
diff --git a/templates/head.html b/templates/head.html
deleted file mode 100644
index a7eacc85f..000000000
--- a/templates/head.html
+++ /dev/null
@@ -1,92 +0,0 @@
-{{define "head"}}
-<head>
- <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
- <meta name="robots" content="noindex, nofollow">
- <meta name="referrer" content="no-referrer">
-
- <title>{{ .Props.Title }}</title>
-
- <!-- iOS add to homescreen -->
- <meta name="apple-mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-status-bar-style" content="default">
- <meta name="mobile-web-app-capable" content="yes" />
- <meta name="apple-mobile-web-app-title" content="{{ .Props.Title }}">
- <meta name="application-name" content="{{ .Props.Title }}">
- <meta name="format-detection" content="telephone=no">
- <!-- iOS add to homescreen -->
-
- <!-- Android add to homescreen -->
- <link rel="apple-touch-icon" sizes="57x57" href="/static/images/favicon/apple-touch-icon-57x57.png">
- <link rel="apple-touch-icon" sizes="60x60" href="/static/images/favicon/apple-touch-icon-60x60.png">
- <link rel="apple-touch-icon" sizes="72x72" href="/static/images/favicon/apple-touch-icon-72x72.png">
- <link rel="apple-touch-icon" sizes="76x76" href="/static/images/favicon/apple-touch-icon-76x76.png">
- <link rel="apple-touch-icon" sizes="114x114" href="/static/images/favicon/apple-touch-icon-114x114.png">
- <link rel="apple-touch-icon" sizes="120x120" href="/static/images/favicon/apple-touch-icon-120x120.png">
- <link rel="apple-touch-icon" sizes="144x144" href="/static/images/favicon/apple-touch-icon-144x144.png">
- <link rel="apple-touch-icon" sizes="152x152" href="/static/images/favicon/apple-touch-icon-152x152.png">
- <link rel="apple-touch-icon" sizes="180x180" href="/static/images/favicon/apple-touch-icon-180x180.png">
- <link rel="icon" type="image/png" sizes="32x32" href="/static/images/favicon/favicon-32x32.png">
- <link rel="icon" type="image/png" sizes="192x192" href="/static/images/favicon/android-chrome-192x192.png">
- <link rel="icon" type="image/png" sizes="96x96" href="/static/images/favicon/favicon-96x96.png">
- <link rel="icon" type="image/png" sizes="16x16" href="/static/images/favicon/favicon-16x16.png">
- <link rel="manifest" href="/static/config/manifest.json">
- <!-- Android add to homescreen -->
-
- <!-- CSS Should always go first -->
- <link rel="stylesheet" href="/static/css/bootstrap-3.3.5.min.css">
- <link rel="stylesheet" href="/static/css/jasny-bootstrap.min.css">
- <link rel="stylesheet" href="/static/css/bootstrap-colorpicker.min.css">
- <link rel="stylesheet" href="/static/css/styles.css">
- <link rel="stylesheet" href="/static/css/google-fonts.css">
- <link rel="stylesheet" href="/static/css/katex.min.css">
- <link rel="stylesheet" class="code_theme" href="">
-
- <script src="/static/js/intl-1.0.0/Intl.js"></script>
- <script src="/static/js/intl-1.0.0/locale-data/jsonp/en.js"></script>
- <script src="/static/js/intl-1.0.0/locale-data/jsonp/es.js"></script>
- <script src="/static/js/intl-1.0.0/locale-data/jsonp/pt.js"></script>
-
- <script src="/static/js/react-0.14.3.js"></script>
- <script src="/static/js/react-dom-0.14.3.js"></script>
- <script src="/static/js/react-intl-2.0.0-beta-2/react-intl.js"></script>
- <script src="/static/js/react-intl-2.0.0-beta-2/locale-data/en.js"></script>
- <script src="/static/js/react-intl-2.0.0-beta-2/locale-data/es.js"></script>
- <script src="/static/js/react-intl-2.0.0-beta-2/locale-data/pt.js"></script>
- <script src="/static/js/jquery-2.1.4.js"></script>
- <script src="/static/js/bootstrap-3.3.5.js"></script>
- <script src="/static/js/bootstrap-colorpicker.min.js"></script>
- <script src="/static/js/react-bootstrap-0.28.1.js"></script>
- <script src="/static/js/velocity.min.js"></script>
- <script src="/static/js/perfect-scrollbar-0.6.7.jquery.min.js"></script>
- <script src="/static/js/jquery-dragster/jquery.dragster.js"></script>
- <script src="/static/js/babel-polyfill-6.1.18.min.js"></script>
- <script src="/static/js/katex.min.js"></script>
- <script src="/static/js/Chart.min.js"></script>
-
- <style id="antiClickjack">body{display:none !important;}</style>
-
- <script>
- if ('ReactIntl' in window && 'ReactIntlLocaleData' in window) {
- Object.keys(ReactIntlLocaleData).forEach(function(lang) {
- ReactIntl.addLocaleData(ReactIntlLocaleData[lang]);
- });
- }
-
- $(window).on('beforeunload', function(){
- if (window.SocketStore) {
- SocketStore.close();
- }
- });
- </script>
-
- <script src="/static/js/libs.min.js"></script>
- <script src="/static/js/bundle.js"></script>
-
- <script type="text/javascript">
- if (self === top) {
- var blocker = document.getElementById("antiClickjack");
- blocker.parentNode.removeChild(blocker);
- }
- </script>
-</head>
-{{end}}
diff --git a/templates/root.html b/templates/root.html
deleted file mode 100644
index 560c7a4b0..000000000
--- a/templates/root.html
+++ /dev/null
@@ -1,12 +0,0 @@
-{{define "root"}}
-<!DOCTYPE html>
-<html>
-{{template "head" . }}
-<body>
- <div id='root'/>
- <script>
- window.setup_root();
- </script>
-</body>
-</html>
-{{end}}