You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

242 lines
5.5 KiB

  1. <html>
  2. <head>
  3. <title>ABB Room selector</title>
  4. <style>
  5. html, body { /* sense marges ni padding */
  6. margin: 0;
  7. padding: 0;
  8. font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  9. font-size: 14px;
  10. height: 100%;
  11. width: 100%;
  12. overflow: hidden;
  13. background: #a8caba;
  14. background: -moz-linear-gradient(-45deg, #a8caba 0%, #5d4157 100%);
  15. background: -webkit-linear-gradient(-45deg, #a8caba 0%,#5d4157 100%);
  16. background: linear-gradient(135deg, #a8caba 0%,#5d4157 100%);
  17. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a8caba', endColorstr='#5d4157',GradientType=1 );
  18. }
  19. #chat{
  20. }
  21. #nickWrap{
  22. display: none;
  23. }
  24. #contentWrap{
  25. }
  26. #chatWrap{
  27. float:left;
  28. border:1px #000 solid;
  29. border-radius: 5px;
  30. }
  31. .loginbox{
  32. background: -moz-linear-gradient(top, rgba(96,118,132,0.1) 0%, rgba(96,118,132,0.42) 100%);
  33. background: -webkit-linear-gradient(top, rgba(96,118,132,0.1) 0%,rgba(96,118,132,0.42) 100%);
  34. background: linear-gradient(to bottom, rgba(96,118,132,0.1) 0%,rgba(96,118,132,0.42) 100%);
  35. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1a607684', endColorstr='#6b607684',GradientType=0 );
  36. /*position: absolute;*/
  37. max-width: 200px;
  38. margin-top: 10%;
  39. margin-left: auto;
  40. margin-right: auto;
  41. padding: 10px;
  42. /*border-radius: 5px;*/
  43. animation-name: loginboxanimation;
  44. animation-duration: 0.7s;
  45. animation-iteration-count: 1;
  46. }
  47. @keyframes toppannelanimation {
  48. 0% {margin-top:-100%;}
  49. 100% {margin-top:0%;}
  50. }
  51. .loginbox input[type=text] {
  52. width: 100px;
  53. background: rgba(255,255,255,0.6);
  54. border: 0px;
  55. /*border-radius: 3px;*/
  56. margin-top: 10px;
  57. margin-left: auto;
  58. margin-right: auto;
  59. }
  60. .loginbox input[type=text]:focus {
  61. /*border-color:#333;*/
  62. background: rgba(255,255,255,1);
  63. }
  64. .loginbox input[type=submit] {
  65. padding:5px 15px;
  66. background: #1D6BAA;
  67. color: #ffffff;
  68. border:0 none;
  69. cursor:pointer;
  70. -webkit-border-radius: 5px;
  71. border-radius: 5px;
  72. margin-top: 10px;
  73. margin-left: auto;
  74. margin-right: auto;
  75. }
  76. .chat{
  77. background: rgba(240,240,240,0.4);
  78. height:500px;
  79. padding: 10px;
  80. border-radius: 5px;
  81. }
  82. .users2{
  83. /*margin-left: 60%;*/
  84. padding: 10px;
  85. max-width: 150px;
  86. border-radius: 5px;
  87. background: rgba(240,240,240,0.4);
  88. display: none; /*block;*/
  89. }
  90. .userStations{
  91. /*margin-left: 60%;*/
  92. padding: 10px;
  93. max-width: 150px;
  94. border-radius: 5px;
  95. background: rgba(240,240,240,0.4);
  96. display: none; /*block;*/
  97. }
  98. .usersUnity{
  99. /*margin-left: 60%;*/
  100. padding: 10px;
  101. max-width: 150px;
  102. border-radius: 5px;
  103. background: rgba(240,240,240,0.4);
  104. display: block;
  105. }
  106. .RSrooms{
  107. /*margin-left: 60%;*/
  108. padding: 10px;
  109. max-width: 150px;
  110. border-radius: 5px;
  111. background: rgba(240,240,240,0.4);
  112. display: none; /*block;*/
  113. }
  114. .nom{
  115. background: #ffffff;
  116. color: #000000;
  117. width: 100px;
  118. height: 25px;
  119. margin: 5px;
  120. display: block;
  121. border-radius: 5px;
  122. text-align: center;
  123. font-weight: bold;
  124. }
  125. .logobox{
  126. width: 90%;
  127. height: 115px;
  128. margin-left: auto;
  129. margin-right: auto;
  130. display:block;
  131. background: rgba(240,240,240,0.2);
  132. animation-name: toppannelanimation;
  133. animation-duration: 0.7s;
  134. animation-iteration-count: 1;
  135. }
  136. .globalbox{
  137. width: 90%;
  138. margin-left: auto;
  139. margin-right: auto;
  140. }
  141. .rightpannels{
  142. background: rgba(240,240,240,0.1);
  143. /*height:500px;*/
  144. width: 40%;
  145. padding: 10px;
  146. border-radius: 5px;
  147. display: inline-block;
  148. margin-top: 0px;
  149. position: absolute;
  150. }
  151. .systeminfo{
  152. background: rgba(240,240,240,0.4);
  153. /*height:500px;*/
  154. width: 40%;
  155. padding: 10px;
  156. border-radius: 5px;
  157. top: 0px;
  158. display: inline-block;
  159. position: relative;
  160. }
  161. .Room{
  162. padding: 10px;
  163. width: 30%;
  164. max-width: 150px;
  165. border-radius: 5px;
  166. background: rgba(240,240,240,0.4);
  167. border: 2px solid #5E5E5E;
  168. }
  169. .Robotstudio_User{
  170. background: #D3E5D3;
  171. color: #000000;
  172. width: 100px;
  173. height: 25px;
  174. margin: 5px;
  175. display: block;
  176. border-radius: 5px;
  177. text-align: center;
  178. font-weight: bold;
  179. }
  180. .Unity_User{
  181. background: #CED4E5;
  182. color: #000000;
  183. width: 100px;
  184. height: 25px;
  185. margin: 5px;
  186. display: block;
  187. border-radius: 5px;
  188. text-align: center;
  189. font-weight: bold;
  190. }
  191. </style>
  192. </head>
  193. <body onload='OnLoadHTML()'>
  194. <div id="nickWrap" class='loginbox'>
  195. <img src="http://s18.postimg.org/d0ldvx4rd/abblogo.png" style="width:90%; margin-left:5%;"/>
  196. <p>Enter a username:</p>
  197. <p id="nickError"></p>
  198. <form id="setNick">
  199. <input type="text" size ="35" id="nickname"></input>
  200. <input type ="submit"></input>
  201. </form>
  202. </div>
  203. <div id="contentWrap">
  204. <!--<div id="chatWrap">
  205. <div id="chat" class="chat"></div>
  206. <form id="send-message">
  207. <input size="35" id="message"></input>
  208. <input type="submit"></input>
  209. </form>
  210. </div>-->
  211. <div class="logobox">
  212. <img src="http://s18.postimg.org/d0ldvx4rd/abblogo.png" style="height:100%;"/>
  213. </div>
  214. <div class="globalbox">
  215. <div id='systeminfo' class='systeminfo'></div>
  216. <div class="rightpannels">
  217. <div id="users2" class='users2'></div>
  218. <div id="usersStations" class="userStations"></div>
  219. <div id="usersUnity" class="usersUnity"></div>
  220. <div id="RSrooms" class="RSrooms"></div>
  221. </div>
  222. </div>
  223. </div>
  224. <script src="http://code.jquery.com/jquery-latest.min.js"></script>
  225. <script src="/socket.io/socket.io.js"></script>
  226. <script src="functions.js"></script>
  227. </body>
  228. </html> '