55 lines
1.4 KiB
HTML
55 lines
1.4 KiB
HTML
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<link rel="icon" type="/image/png" href="/static/img/favicon.png"/>
|
|
<link rel="stylesheet" href="/static/css/manager.css">
|
|
<link rel="stylesheet" href="/static/css/base.css">
|
|
<link rel="stylesheet" href="/static/css/top.css">
|
|
<title>Black Ram Comic Manager</title>
|
|
</head>
|
|
<body>
|
|
<div class="manager-top">
|
|
<div class="logging-buttom">
|
|
<a href="/logout">
|
|
<h1>User <Logout></h1>
|
|
</a>
|
|
</div>
|
|
<div class="create-button">
|
|
<a href="/create">
|
|
<h1>Create</h1>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{{ if .Comics }}
|
|
<div class="manager-list">
|
|
<table>
|
|
<tr>
|
|
<th scope="col"><Title></th>
|
|
<th scope="col"><Date></th>
|
|
<th scope="col"><Image></th>
|
|
<th scope="col"><Actions></th>
|
|
</tr>
|
|
{{ range $comic := .Comics }}
|
|
<tr>
|
|
<td>{{ $comic.Title }}</td>
|
|
<td>{{ $comic.Date }}</td>
|
|
<td>
|
|
<a href="/media/{{ $comic.Image }}">
|
|
{{ $comic.Image }}
|
|
</a>
|
|
</td>
|
|
<td class="actions">
|
|
<a href="/edit/{{ $comic.No }}">Edit</a>
|
|
<a href="/remove/{{ $comic.No }}">Remove</a>
|
|
</td>
|
|
</tr>
|
|
{{ end }}
|
|
</table>
|
|
</div>
|
|
{{ end }}
|
|
</body>
|
|
</html>
|
|
|