2022-01-14 23:09:03 +00:00
|
|
|
{{template "top" .}}
|
|
|
|
<style type="text/css">
|
|
|
|
.line { width:100%; text-align:left; border-bottom: 1px solid #8f8f8f; line-height:0.1em; margin:10px 0 20px; color: #8f8f8f; }
|
|
|
|
.line span { background:#fff; padding:0 10px; margin-left: 50px; }
|
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" href="/public/croppie.css" />
|
|
|
|
<script src="/public/croppie.js"></script>
|
|
|
|
<div class="container" style="margin-top: 100px;">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
2022-01-15 12:07:08 +00:00
|
|
|
{{template "gallery_nav" .}}
|
2022-01-14 23:09:03 +00:00
|
|
|
</div>
|
2022-01-15 11:43:27 +00:00
|
|
|
|
2022-01-14 23:09:03 +00:00
|
|
|
<div class="col-md-9">
|
2022-01-15 11:43:27 +00:00
|
|
|
<form method="post">
|
2022-01-14 23:09:03 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
2022-01-15 11:43:27 +00:00
|
|
|
<img src="/image?path={{ .gallery.MainImage }}" style="max-width: 80%;" ></img>
|
2022-01-14 23:09:03 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-md-10">
|
2022-01-15 11:43:27 +00:00
|
|
|
<a href="/gallery/edit/{{.gallery.Id}}/image">[Change Image]</a>
|
2022-01-14 23:09:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row" style="margin-top: 20px;">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="form-floating mb-3">
|
2022-01-15 11:43:27 +00:00
|
|
|
<input type="text" name="name" class="form-control" id="floatingInput" placeholder="Name" value="{{ .gallery.Name }}">
|
2022-01-14 23:09:03 +00:00
|
|
|
<label for="floatingInput">Name</label>
|
|
|
|
</div>
|
|
|
|
<input type="submit" class="btn btn-success" value="Save" style="width: 100%;"></input>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-01-15 11:43:27 +00:00
|
|
|
</form>
|
2022-01-14 23:09:03 +00:00
|
|
|
</div>
|
2022-01-15 11:43:27 +00:00
|
|
|
|
2022-01-14 23:09:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{template "bottom" .}}
|