| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262 |
- // Jest Snapshot v1, https://goo.gl/fbAQLP
- exports[`ServerStats Should render table with stats 1`] = `
- <div
- className="page-scrollbar-wrapper"
- >
- <div
- className="custom-scrollbar custom-scrollbar--page"
- style={
- Object {
- "height": "auto",
- "maxHeight": "100%",
- "minHeight": "100%",
- "overflow": "hidden",
- "position": "relative",
- "width": "100%",
- }
- }
- >
- <div
- className="view"
- style={
- Object {
- "WebkitOverflowScrolling": "touch",
- "bottom": undefined,
- "left": undefined,
- "marginBottom": 0,
- "marginRight": 0,
- "maxHeight": "calc(100% + 0px)",
- "minHeight": "calc(100% + 0px)",
- "overflow": "scroll",
- "position": "relative",
- "right": undefined,
- "top": undefined,
- }
- }
- >
- <div
- className="page-scrollbar-content"
- >
- <div
- className="page-header-canvas"
- >
- <div
- className="page-container"
- >
- <div
- className="page-header"
- >
- <div
- className="page-header__inner"
- >
- <span
- className="page-header__logo"
- >
- <i
- className="page-header__icon fa fa-fw fa-warning"
- />
- </span>
- <div
- className="page-header__info-block"
- >
- <h1
- className="page-header__title"
- >
- Admin
- </h1>
- <div
- className="page-header__sub-title"
- >
- subTitle
- </div>
- </div>
- </div>
- <nav>
- <div
- className="gf-form-select-wrapper width-20 page-header__select-nav"
- >
- <label
- className="gf-form-select-icon icon"
- htmlFor="page-header-select-nav"
- />
- <select
- className="gf-select-nav gf-form-input"
- id="page-header-select-nav"
- onChange={[Function]}
- value="Admin"
- >
- <option
- value="Admin"
- >
- Admin
- </option>
- </select>
- </div>
- <ul
- className="gf-tabs page-header__tabs"
- >
- <li
- className="gf-tabs-item"
- >
- <a
- className="gf-tabs-link active"
- href="Admin"
- >
- <i
- className="icon"
- />
- Admin
- </a>
- </li>
- </ul>
- </nav>
- </div>
- </div>
- </div>
- <div
- className="page-container page-body"
- >
- <table
- className="filter-table form-inline"
- >
- <thead>
- <tr>
- <th>
- Name
- </th>
- <th>
- Value
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>
- Total dashboards
- </td>
- <td>
- 10
- </td>
- </tr>
- <tr>
- <td>
- Total Users
- </td>
- <td>
- 1
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <footer
- className="footer"
- >
- <div
- className="text-center"
- >
- <ul>
- <li>
- <a
- href="http://docs.grafana.org"
- rel="noopener"
- target="_blank"
- >
- <i
- className="fa fa-file-code-o"
- />
- Docs
- </a>
- </li>
- <li>
- <a
- href="https://grafana.com/services/support"
- rel="noopener"
- target="_blank"
- >
- <i
- className="fa fa-support"
- />
- Support Plans
- </a>
- </li>
- <li>
- <a
- href="https://community.grafana.com/"
- rel="noopener"
- target="_blank"
- >
- <i
- className="fa fa-comments-o"
- />
- Community
- </a>
- </li>
- <li>
- <a
- href="https://grafana.com"
- rel="noopener"
- target="_blank"
- >
- Grafana
- </a>
-
- <span>
- v
- v1.0
- (commit:
- 1
- )
- </span>
- </li>
- </ul>
- </div>
- </footer>
- </div>
- </div>
- <div
- className="css-52gpmd track-horizontal"
- style={
- Object {
- "display": "none",
- "height": 6,
- "position": "absolute",
- }
- }
- >
- <div
- className="thumb-horizontal"
- style={
- Object {
- "display": "block",
- "height": "100%",
- "position": "relative",
- }
- }
- />
- </div>
- <div
- className="css-52gpmd track-vertical"
- style={
- Object {
- "display": "none",
- "position": "absolute",
- "width": 6,
- }
- }
- >
- <div
- className="thumb-vertical"
- style={
- Object {
- "display": "block",
- "position": "relative",
- "width": "100%",
- }
- }
- />
- </div>
- </div>
- </div>
- `;
|