slimmer action on entry
This commit is contained in:
parent
4bbaf3362e
commit
50997c051b
|
@ -74,29 +74,33 @@
|
|||
<br>
|
||||
<br>
|
||||
<h3>Actions</h3>
|
||||
|
||||
|
||||
<div class="grid">
|
||||
<a href="/editor/edit/{{.Entry.ID}}/" role="button" class="secondary outline">Edit</a>
|
||||
</div>
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<form method="post" action="/editor/unpublish/{{.Entry.ID}}/" class="grid">
|
||||
<div style="margin-bottom:1em;">
|
||||
<a style="width:100%;" href="/editor/edit/{{.Entry.ID}}/" role="button" class="">Edit</a>
|
||||
</div>
|
||||
<div>
|
||||
<form method="post" action="/editor/unpublish/{{.Entry.ID}}/">
|
||||
<input type="submit" class="secondary" value="Unpublish" />
|
||||
<br>
|
||||
<label for="confirm">
|
||||
Confirm unpublishing
|
||||
<input type="checkbox" name="confirm" id="confirm" required />
|
||||
</label>
|
||||
<input type="submit" class="secondary outline" value="Unpublish" />
|
||||
</form>
|
||||
<br>
|
||||
<hr>
|
||||
<br>
|
||||
<form method="post" action="/editor/delete/{{.Entry.ID}}/" class="grid">
|
||||
</form>
|
||||
</div>
|
||||
<div>
|
||||
<form method="post" action="/editor/delete/{{.Entry.ID}}/">
|
||||
<input type="submit" class="danger" value="Delete" />
|
||||
<br>
|
||||
<label for="confirm">
|
||||
Confirm deletion
|
||||
<input type="checkbox" name="confirm" id="confirm" required />
|
||||
</label>
|
||||
<input type="submit" class="secondary outline" value="Delete" />
|
||||
</form>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
|
|
@ -18,3 +18,7 @@
|
|||
.action-tile:hover {
|
||||
background: var(--background-light);
|
||||
}
|
||||
|
||||
.danger {
|
||||
background-color: var(--del-color) !important;
|
||||
}
|
Loading…
Reference in New Issue