index.html 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  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. <title>MeteoControl WiFi Station</title>
  8. <!-- Bootstrap core -->
  9. <link href="bootstrap.css" rel="stylesheet">
  10. <script src="jquery.js"></script>
  11. <style>
  12. .main { font-size: 63px; }
  13. </style>
  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. </head>
  20. <body>
  21. <div class="container">
  22. <div class="header">
  23. <nav>
  24. <ul class="nav nav-pills pull-right">
  25. <li role="presentation" class="active"><a href="/">Home</a></li>
  26. <li role="presentation"><a href="/config">Configuration</a></li>
  27. <li role="presentation"><a href="/api">API</a></li>
  28. </ul>
  29. </nav>
  30. <h3 class="text-muted">Wifi Meteo Wall Segment Clock</h3>
  31. </div>
  32. <div class="row">
  33. <h2>&nbsp;</h2>
  34. <div class="col-xs-offset-2">
  35. <div class="col-xs-10 col-md-5">
  36. <div class="panel panel-default">
  37. <div class="panel-heading">
  38. <h3 class="panel-title">Temperature</h3>
  39. </div>
  40. <div class="panel-body">
  41. <h1 class="text-center main">{T} &deg;C</h1>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-xs-10 col-md-5">
  46. <div class="panel panel-default">
  47. <div class="panel-heading">
  48. <h3 class="panel-title">Humidity</h3>
  49. </div>
  50. <div class="panel-body">
  51. <h1 class="text-center main">{RH} %</h1>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="col-xs-10 col-md-5">
  56. <div class="panel panel-default">
  57. <div class="panel-heading">
  58. <h3 class="panel-title">Heatindex</h3>
  59. </div>
  60. <div class="panel-body">
  61. <h1 class="text-center main">{HI} &deg;C</h1>
  62. </div>
  63. </div>
  64. </div>
  65. <div class="col-xs-10 col-md-5">
  66. <div class="panel panel-default">
  67. <div class="panel-heading">
  68. <h3 class="panel-title">Comfort</h3>
  69. </div>
  70. <div class="panel-body">
  71. <h1 class="text-center main">{CR} % &mdash; {CF}</h1>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="col-xs-10 col-md-5">
  76. <div class="panel panel-default">
  77. <div class="panel-heading">
  78. <h3 class="panel-title">ADC Value</h3>
  79. </div>
  80. <div class="panel-body">
  81. <h1 class="text-center main">{ADC}</h1>
  82. </div>
  83. </div>
  84. </div>
  85. <div class="col-xs-10 col-md-5">
  86. <div class="panel panel-default">
  87. <div class="panel-heading">
  88. <h3 class="panel-title">VDD33</h3>
  89. </div>
  90. <div class="panel-body">
  91. <h1 class="text-center main">{VDD}</h1>
  92. </div>
  93. </div>
  94. </div>
  95. <div class="col-xs-10 col-md-5">
  96. <div class="panel panel-default">
  97. <div class="panel-heading">
  98. <h3 class="panel-title">SystemTime</h3>
  99. </div>
  100. <div class="panel-body">
  101. <h1 class="text-center main">{TIME}</h1>
  102. </div>
  103. </div>
  104. </div>
  105. <!-- /col -->
  106. </div>
  107. </div>
  108. </div> <!-- /container -->
  109. </body>
  110. </html>