12345678910111213141516171819202122232425262728293031323334353637 |
- <nav class="navbar navbar-inverse navbar-static-top">
- <div class="container-fluid">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
- <span class="sr-only">Toggle navigation</span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- {{!-- <a class="navbar-brand" href="{{basePath "/"}}"><img src="{{basePath "/static/nsq_blue.png"}}" width="30" height="30">NSQ</a> --}}
- <a class="navbar-brand" href="{{basePath "/"}}">SMQ</a>
- </div>
- <div class="collapse navbar-collapse" id="navbar">
- <ul class="nav navbar-nav">
- <li><a class="link" href="{{basePath "/"}}">消息主题</a></li>
- <li><a class="link" href="{{basePath "/nodes"}}">消息服务实例</a></li>
- <li><a class="link" href="{{basePath "/counter"}}">统计</a></li>
- <li><a class="link" href="{{basePath "/lookup"}}">服务发现</a></li>
- {{#if graph_enabled}}
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><span class="glyphicon glyphicon-picture white"></span> {{graph_interval}} <span class="caret"></span></a>
- <ul class="dropdown-menu">
- <li class="dropdown-header">Graph Timeframe</li>
- {{#each graph_intervals}}
- <li><a href="javascript:;">{{this}}</a></li>
- {{/each}}
- </ul>
- </li>
- {{/if}}
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <li class="hidden-xs"><p class="navbar-text"><span class="label label-success">v1.0.0</span></p></li>
- </ul>
- </ul>
- </div>
- </div>
- </nav>
|