summary refs log tree commit diff
path: root/webclient/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'webclient/index.html')
-rw-r--r--webclient/index.html13
1 files changed, 8 insertions, 5 deletions
diff --git a/webclient/index.html b/webclient/index.html
index 387505372a..455eff4a13 100644
--- a/webclient/index.html
+++ b/webclient/index.html
@@ -7,8 +7,9 @@
     <link rel="icon" href="favicon.ico">
    
     <script type='text/javascript' src='js/jquery-1.8.3.min.js'></script> 
-    <script src="js/angular.js"></script>
-    <script src="js/angular-route.js"></script>
+    <script src="js/angular.min.js"></script>
+    <script src="js/angular-route.min.js"></script>
+    <script src="js/angular-sanitize.min.js"></script>
     <script type='text/javascript' src='js/ng-infinite-scroll-matrix.js'></script>
     <script src="app.js"></script>
     <script src="app-controller.js"></script>
@@ -24,9 +25,9 @@
 
 <body>
 
-    <header class="header">
+    <header id="header">
         <!-- Do not show buttons on the login page -->
-        <div class="header-buttons" ng-hide="'/login' == location ">
+        <div id="header-buttons" ng-hide="'/login' == location ">
             <button ng-click="showConfig()">Config</button>
             <button ng-click="logout()">Log out</button>
         </div>
@@ -34,10 +35,12 @@
         <h1>[matrix]</h1>
     </header>
 
-    <div class="config" ng-hide="!config">
+    <div id="config" ng-hide="!config">
         <div>Home server: {{ config.homeserver }} </div>
         <div>User ID: {{ config.user_id }} </div>
         <div>Access token: {{ config.access_token }} </div>
+        <div><button ng-click="requestNotifications()">Request notifications</button></div>
+        <div><button ng-click="closeConfig()">Close</button></div>
     </div>