dowse app

admin.html 7.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <title>Starter Template for Bootstrap</title>
  10. <!-- Bootstrap core CSS -->
  11. <link href="bootstrap/css/bootstrap.css" rel="stylesheet">
  12. <!-- Custom styles for this template -->
  13. <link href="starter-template.css" rel="stylesheet">
  14. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  15. <!--[if lt IE 9]>
  16. <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  17. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  18. <![endif]-->
  19. <link href="dowse.css" rel="stylesheet" type="text/css">
  20. </head>
  21. <body>
  22. <nav class="navbar navbar-inverse navbar-fixed-top">
  23. <div class="container">
  24. <div class="navbar-header">
  25. <img src="images/dowseLogo.png" width="170" />
  26. <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
  27. <span class="sr-only">Toggle navigation</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. </div>
  33. <div id="navbar" class="collapse navbar-collapse">
  34. <ul class="nav navbar-nav">
  35. <li class="active">
  36. <a href="#">Home</a>
  37. </li>
  38. <li>
  39. <a href="#about">Things</a>
  40. </li>
  41. <li>
  42. <a href="#contact">NEtData</a>
  43. </li>
  44. <li>
  45. <a href="#contact">Installers</a>
  46. </li>
  47. <li>
  48. <a href="documentation.html">Documentation</a>
  49. </li>
  50. </ul>
  51. </div>
  52. <!--/.nav-collapse -->
  53. </div>
  54. </nav>
  55. <div class="container-fluid">
  56. <div class="row">
  57. <div class="col-md-4">
  58. <h3>DOWSE STATUS</h3>
  59. <button type="button" class="btn btn-default">BLOCK THE MF!</button>
  60. <div class=".btn-dowse" class="dowseStatus">GREEN</div>
  61. <p>do you want to block the whole network?</p>
  62. </div>
  63. <div class="col-md-4">
  64. <form role="form">
  65. <div class="form-group">
  66. <label class="control-label" for="exampleInputEmail1">Email address</label>
  67. <input type="email" class="form-control" id="exampleInputEmail1" placeholder="your email here">
  68. </div>
  69. <div class="form-group">
  70. <label class="control-label" for="exampleInputName">Your name</label>
  71. <input type="name" class="form-control" id="exampleInputName" placeholder="your name">
  72. </div>
  73. <div class="form-group">
  74. <label class="control-label" for="exampleInputName">your device name</label>
  75. <input type="device_name" class="form-control" id="exampleInputName" placeholder="Device Name">
  76. </div>
  77. <button type="submit" class="btn">Change</button>
  78. </form>
  79. </div>
  80. <div class="col-md-4">
  81. <h3>Hallo [name of admn]</h3>
  82. <h3 class="messages">you are logged from [name of admin machine]</h3>
  83. <p>
  84. Messages</p>
  85. </div>
  86. </div>
  87. <div class="row">
  88. <div class="col-sm-4 col-lg-12 col-md-12 col-xs-2">
  89. <table class="table">
  90. <thead>
  91. <tr>
  92. <th>#</th>
  93. <th>Device Name</th>
  94. <th>First Seen</th>
  95. <th>Last Seen</th>
  96. <th>Vendor</th>
  97. <th>MAC Address</th>
  98. <th>On/Off</th>
  99. </tr>
  100. </thead>
  101. <tbody>
  102. <tr>
  103. <td>1</td>
  104. <td>
  105. ma-derrcazzo
  106. <button type="button" class="btn btn-default dowse">bah</button>
  107. </td>
  108. <td>one hour ago</td>
  109. <td>now</td>
  110. <td>APPLE inc</td>
  111. <td>A4:5E:60:BB:CC:EF</td>
  112. <td>
  113. <button type="button" class="btn btn-default admin">
  114. <strong>A</strong>
  115. </button>
  116. <img src="images/button_OFF@2x.png" width="30" />
  117. </td>
  118. </tr>
  119. <tr>
  120. <td>2</td>
  121. <td>devuan-moscio</td>
  122. <td>30' ago</td>
  123. <td>1h ago</td>
  124. <td>LAMMERDA inc</td>
  125. <td>78:5E:60:EE:CC:EF</td>
  126. <td>
  127. <img src="images/button_ON@2x.png" width="30" />
  128. </td>
  129. </tr>
  130. </tbody>
  131. </table>
  132. </div>
  133. </div>
  134. <div class="starter-template">
  135. <h1>VERSION 15 march&nbsp;</h1>
  136. <p class="lead">lets' use this temporary just for love messages between UX/DEV/OPS</p>
  137. </div>
  138. </div>
  139. <!-- /.container -->
  140. <!-- Bootstrap core JavaScript
  141. ================================================== -->
  142. <!-- Placed at the end of the document so the pages load faster -->
  143. <script src="assets/js/jquery.min.js"></script>
  144. <script src="bootstrap/js/bootstrap.min.js"></script>
  145. <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
  146. <script src="assets/js/ie10-viewport-bug-workaround.js"></script>
  147. </body>
  148. </html>
  149. umenta