mirror of
https://github.com/neocities/neocities.git
synced 2025-06-26 06:04:35 +02:00
site inspector touchups
This commit is contained in:
parent
d86f614248
commit
390414e1ee
1 changed files with 15 additions and 1 deletions
|
@ -7,6 +7,20 @@
|
||||||
|
|
||||||
<div class="content misc-page single-Col txt-Center" style="padding-top: 20px;">
|
<div class="content misc-page single-Col txt-Center" style="padding-top: 20px;">
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<form action="/admin/banhammer" target="_blank" method="POST">
|
||||||
|
<%== csrf_token_input_html %>
|
||||||
|
<input type="hidden" name="username" value="<%= @site.username %>">
|
||||||
|
<p><input class="btn-Action" type="submit" value="Ban"></p>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<form action="/admin/mark_nsfw" method="POST">
|
||||||
|
<%== csrf_token_input_html %>
|
||||||
|
<input type="hidden" name="username" value="<%= @site.username %>">
|
||||||
|
<p><input class="btn-Action" type="submit" value="Mark NSFW"></p>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
<h3>Site Pages</h3>
|
<h3>Site Pages</h3>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
@ -14,7 +28,7 @@
|
||||||
<tr style="outline: thin solid black;">
|
<tr style="outline: thin solid black;">
|
||||||
<td><img src="<%= @site.screenshot_url(site_file.path, '210x158') %>"></td>
|
<td><img src="<%= @site.screenshot_url(site_file.path, '210x158') %>"></td>
|
||||||
<td>
|
<td>
|
||||||
<p><strong><%= site_file.path %></strong></p>
|
<p><strong><a href="<%= @site.uri + '/' + site_file.path %>"><%= site_file.path %></a></strong></p>
|
||||||
<% if !site_file.classifier.blank? %>
|
<% if !site_file.classifier.blank? %>
|
||||||
<p>
|
<p>
|
||||||
<% if site_file.classifier == 'ham' %>
|
<% if site_file.classifier == 'ham' %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue