Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Illuna-Minecraft
illuna-minecraft.tk
Commits
abf2afb5
Commit
abf2afb5
authored
Jul 25, 2016
by
Milan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
admin: add title to index
parent
3c09c342
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/admin/index.html.erb
app/views/admin/index.html.erb
+6
-5
No files found.
app/views/admin/index.html.erb
View file @
abf2afb5
<%
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
(){
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment