Commit abf2afb5 authored by Milan's avatar Milan

admin: add title to index

parent 3c09c342
<% if logged_in? %>
<h1>Admin</h1>
<button type="button" class="btn btn-primary pull-right" style="margin-top:-5rem;">Refresh</button>
<pre id="tail" style="height:600px;"><%= @logs %></pre>
<% content_for(:after) do %>
<script>
<% content_for :title, 'Admin' %>
<h1>Admin</h1>
<button type="button" class="btn btn-primary pull-right" style="margin-top:-5rem;">Refresh</button>
<pre id="tail" style="height:600px;"><%= @logs %></pre>
<% content_for(:after) do %>
<script>
tailScroll();
function updateDiv(){
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment