index.html 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <title>强实时消息队列服务管理平台</title>
  5. <link rel="icon" type="image/png" href="{{basePath "/static/favicon.png"}}">
  6. <link rel="stylesheet" href="{{basePath "/static/bootstrap.min.css"}}">
  7. <link rel="stylesheet" href="{{basePath "/static/base.css"}}">
  8. <meta http-equiv="Content-type" content="text/html; charset=utf-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  10. </head>
  11. <body>
  12. <img class="image-preview img-polaroid">
  13. <div id="container"></div>
  14. <script type="text/javascript">
  15. var USER_AGENT = 'nsqadmin/v{{.Version}}';
  16. var VERSION = {{.Version}};
  17. var GRAPHITE_URL = {{if .ProxyGraphite}}''{{else}}{{.GraphiteURL}}{{end}};
  18. var GRAPH_ENABLED = {{if .GraphEnabled}}true{{else}}false{{end}};
  19. var STATSD_COUNTER_FORMAT = {{.StatsdCounterFormat}};
  20. var STATSD_GAUGE_FORMAT = {{.StatsdGaugeFormat}};
  21. var STATSD_INTERVAL = {{.StatsdInterval}};
  22. var STATSD_PREFIX = {{.StatsdPrefix}};
  23. var NSQLOOKUPD = [{{range .NSQLookupd}}{{.}},{{end}}];
  24. var IS_ADMIN = {{.IsAdmin}};
  25. var BASE_PATH = {{basePath ""}};
  26. </script>
  27. <script src="{{basePath "/static/vendor.js"}}"></script>
  28. <script src="{{basePath "/static/main.js"}}"></script>
  29. </body>
  30. </html>