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