ServerStats.test.tsx.snap 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`ServerStats Should render table with stats 1`] = `
  3. <div
  4. className="page-scrollbar-wrapper"
  5. >
  6. <div
  7. className="custom-scrollbar custom-scrollbar--page"
  8. style={
  9. Object {
  10. "height": "auto",
  11. "maxHeight": "100%",
  12. "minHeight": "100%",
  13. "overflow": "hidden",
  14. "position": "relative",
  15. "width": "100%",
  16. }
  17. }
  18. >
  19. <div
  20. className="view"
  21. style={
  22. Object {
  23. "WebkitOverflowScrolling": "touch",
  24. "bottom": undefined,
  25. "left": undefined,
  26. "marginBottom": 0,
  27. "marginRight": 0,
  28. "maxHeight": "calc(100% + 0px)",
  29. "minHeight": "calc(100% + 0px)",
  30. "overflow": "scroll",
  31. "position": "relative",
  32. "right": undefined,
  33. "top": undefined,
  34. }
  35. }
  36. >
  37. <div
  38. className="page-scrollbar-content"
  39. >
  40. <div
  41. className="page-header-canvas"
  42. >
  43. <div
  44. className="page-container"
  45. >
  46. <div
  47. className="page-header"
  48. >
  49. <div
  50. className="page-header__inner"
  51. >
  52. <span
  53. className="page-header__logo"
  54. >
  55. <i
  56. className="page-header__icon fa fa-fw fa-warning"
  57. />
  58. </span>
  59. <div
  60. className="page-header__info-block"
  61. >
  62. <h1
  63. className="page-header__title"
  64. >
  65. Admin
  66. </h1>
  67. <div
  68. className="page-header__sub-title"
  69. >
  70. subTitle
  71. </div>
  72. </div>
  73. </div>
  74. <nav>
  75. <div
  76. className="gf-form-select-wrapper width-20 page-header__select-nav"
  77. >
  78. <label
  79. className="gf-form-select-icon icon"
  80. htmlFor="page-header-select-nav"
  81. />
  82. <select
  83. className="gf-select-nav gf-form-input"
  84. id="page-header-select-nav"
  85. onChange={[Function]}
  86. value="Admin"
  87. >
  88. <option
  89. value="Admin"
  90. >
  91. Admin
  92. </option>
  93. </select>
  94. </div>
  95. <ul
  96. className="gf-tabs page-header__tabs"
  97. >
  98. <li
  99. className="gf-tabs-item"
  100. >
  101. <a
  102. className="gf-tabs-link active"
  103. href="Admin"
  104. >
  105. <i
  106. className="icon"
  107. />
  108. Admin
  109. </a>
  110. </li>
  111. </ul>
  112. </nav>
  113. </div>
  114. </div>
  115. </div>
  116. <div
  117. className="page-container page-body"
  118. >
  119. <table
  120. className="filter-table form-inline"
  121. >
  122. <thead>
  123. <tr>
  124. <th>
  125. Name
  126. </th>
  127. <th>
  128. Value
  129. </th>
  130. </tr>
  131. </thead>
  132. <tbody>
  133. <tr>
  134. <td>
  135. Total dashboards
  136. </td>
  137. <td>
  138. 10
  139. </td>
  140. </tr>
  141. <tr>
  142. <td>
  143. Total Users
  144. </td>
  145. <td>
  146. 1
  147. </td>
  148. </tr>
  149. </tbody>
  150. </table>
  151. </div>
  152. <footer
  153. className="footer"
  154. >
  155. <div
  156. className="text-center"
  157. >
  158. <ul>
  159. <li>
  160. <a
  161. href="http://docs.grafana.org"
  162. target="_blank"
  163. >
  164. <i
  165. className="fa fa-file-code-o"
  166. />
  167. Docs
  168. </a>
  169. </li>
  170. <li>
  171. <a
  172. href="https://grafana.com/services/support"
  173. target="_blank"
  174. >
  175. <i
  176. className="fa fa-support"
  177. />
  178. Support Plans
  179. </a>
  180. </li>
  181. <li>
  182. <a
  183. href="https://community.grafana.com/"
  184. target="_blank"
  185. >
  186. <i
  187. className="fa fa-comments-o"
  188. />
  189. Community
  190. </a>
  191. </li>
  192. <li>
  193. <a
  194. href="https://grafana.com"
  195. target="_blank"
  196. >
  197. Grafana
  198. </a>
  199. <span>
  200. v
  201. v1.0
  202. (commit:
  203. 1
  204. )
  205. </span>
  206. </li>
  207. </ul>
  208. </div>
  209. </footer>
  210. </div>
  211. </div>
  212. <div
  213. className="css-52gpmd track-horizontal"
  214. style={
  215. Object {
  216. "display": "none",
  217. "height": 6,
  218. "position": "absolute",
  219. }
  220. }
  221. >
  222. <div
  223. className="thumb-horizontal"
  224. style={
  225. Object {
  226. "display": "block",
  227. "height": "100%",
  228. "position": "relative",
  229. }
  230. }
  231. />
  232. </div>
  233. <div
  234. className="css-52gpmd track-vertical"
  235. style={
  236. Object {
  237. "display": "none",
  238. "position": "absolute",
  239. "width": 6,
  240. }
  241. }
  242. >
  243. <div
  244. className="thumb-vertical"
  245. style={
  246. Object {
  247. "display": "block",
  248. "position": "relative",
  249. "width": "100%",
  250. }
  251. }
  252. />
  253. </div>
  254. </div>
  255. </div>
  256. `;