mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-16 16:16:11 +02:00
81 lines
2.5 KiB
Plaintext
81 lines
2.5 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>
|
|
<% if content_for?(:page_title) %>
|
|
<%= content_for(:page_title) %>
|
|
|
|
|
<% end %>
|
|
<%= fluentd_ui_title %>
|
|
</title>
|
|
<%= stylesheet_link_tag 'application', media: 'all'%>
|
|
<%= javascript_include_tag 'application' %>
|
|
<%= csrf_meta_tags %>
|
|
</head>
|
|
<body>
|
|
<div id="wrapper">
|
|
<nav class="navbar navbar-default navbar-fixed-top" role="navigation" style="margin-bottom: 0">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<%= link_to fluentd_ui_logo, root_path, class: "navbar-brand fluentd-ui-logo" %>
|
|
</div>
|
|
<!-- /.navbar-header -->
|
|
|
|
<ul class="nav navbar-top-links navbar-right">
|
|
<% if @fluentd %>
|
|
<li class="fluentd-status">
|
|
<a href="<%= daemon_path %>" data-toggle="tooltip" data-placement="bottom" title="fluentd <%= fluentd_status_message %>">
|
|
<%= fluentd_status_icon %>
|
|
</a>
|
|
</li>
|
|
<% end %>
|
|
<%= render partial: "shared/vue/notification" %>
|
|
|
|
<li class="dropdown">
|
|
<%= link_to(t("terms.sign_out"), sessions_path, method: :delete) %>
|
|
</li>
|
|
</ul>
|
|
<!-- /.navbar-top-links -->
|
|
|
|
<div class="navbar-default navbar-static-side" role="navigation">
|
|
<div class="sidebar-collapse">
|
|
<%= render partial: "shared/global_nav" %>
|
|
<!-- /#side-menu -->
|
|
</div>
|
|
<!-- /.sidebar-collapse -->
|
|
</div>
|
|
<!-- /.navbar-static-side -->
|
|
</nav>
|
|
|
|
<div id="page-wrapper">
|
|
<%= render partial: "shared/flash" %>
|
|
<% if content_for?(:page_head) %>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<h1 class="page-header"><%= content_for(:page_head) %></h1>
|
|
</div>
|
|
<!-- /.col-xs-12 -->
|
|
</div>
|
|
<!-- /.row -->
|
|
<% end %>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<%= yield %>
|
|
</div>
|
|
</div>
|
|
<!-- /.row -->
|
|
</div>
|
|
<!-- /#page-wrapper -->
|
|
|
|
</div>
|
|
<!-- /#wrapper -->
|
|
</body>
|
|
</html>
|