ServerStats.test.tsx.snap 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. rel="noopener"
  163. target="_blank"
  164. >
  165. <i
  166. className="fa fa-file-code-o"
  167. />
  168. Docs
  169. </a>
  170. </li>
  171. <li>
  172. <a
  173. href="https://grafana.com/services/support"
  174. rel="noopener"
  175. target="_blank"
  176. >
  177. <i
  178. className="fa fa-support"
  179. />
  180. Support Plans
  181. </a>
  182. </li>
  183. <li>
  184. <a
  185. href="https://community.grafana.com/"
  186. rel="noopener"
  187. target="_blank"
  188. >
  189. <i
  190. className="fa fa-comments-o"
  191. />
  192. Community
  193. </a>
  194. </li>
  195. <li>
  196. <a
  197. href="https://grafana.com"
  198. rel="noopener"
  199. target="_blank"
  200. >
  201. Grafana
  202. </a>
  203. <span>
  204. v
  205. v1.0
  206. (commit:
  207. 1
  208. )
  209. </span>
  210. </li>
  211. </ul>
  212. </div>
  213. </footer>
  214. </div>
  215. </div>
  216. <div
  217. className="css-52gpmd track-horizontal"
  218. style={
  219. Object {
  220. "display": "none",
  221. "height": 6,
  222. "position": "absolute",
  223. }
  224. }
  225. >
  226. <div
  227. className="thumb-horizontal"
  228. style={
  229. Object {
  230. "display": "block",
  231. "height": "100%",
  232. "position": "relative",
  233. }
  234. }
  235. />
  236. </div>
  237. <div
  238. className="css-52gpmd track-vertical"
  239. style={
  240. Object {
  241. "display": "none",
  242. "position": "absolute",
  243. "width": 6,
  244. }
  245. }
  246. >
  247. <div
  248. className="thumb-vertical"
  249. style={
  250. Object {
  251. "display": "block",
  252. "position": "relative",
  253. "width": "100%",
  254. }
  255. }
  256. />
  257. </div>
  258. </div>
  259. </div>
  260. `;