38 lines
No EOL
1.4 KiB
Cheetah
38 lines
No EOL
1.4 KiB
Cheetah
{{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">
|
|
{{template "gallery_nav" .}}
|
|
</div>
|
|
|
|
<div class="col-md-9">
|
|
<form method="post">
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
<img src="/image?path={{ .gallery.MainImage }}" style="max-width: 80%;" ></img>
|
|
</div>
|
|
<div class="col-md-10">
|
|
<a href="/gallery/edit/{{.gallery.Id}}/image">[Change Image]</a>
|
|
</div>
|
|
</div>
|
|
<div class="row" style="margin-top: 20px;">
|
|
<div class="col-md-12">
|
|
<div class="form-floating mb-3">
|
|
<input type="text" name="name" class="form-control" id="floatingInput" placeholder="Name" value="{{ .gallery.Name }}">
|
|
<label for="floatingInput">Name</label>
|
|
</div>
|
|
<input type="submit" class="btn btn-success" value="Save" style="width: 100%;"></input>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
{{template "bottom" .}} |