minor cosmetic change

master
Aevann1 2022-10-10 07:25:32 +02:00
parent 83aa914865
commit 1b61d523fa
1 changed files with 6 additions and 3 deletions

View File

@ -12,10 +12,13 @@
img.thumb { img.thumb {
border-radius: 4px; border-radius: 4px;
} }
.remove-streamer {
width: 50%
}
</style> </style>
<script> <script>
function go_to(e, link) { function go_to(e, link) {
if (!e.target.classList.contains('donttrigger')) if (!e.target.classList.contains('remove-streamer'))
window.open(link, '_blank'); window.open(link, '_blank');
} }
</script> </script>
@ -59,7 +62,7 @@
<form action="/live/remove" method="post"> <form action="/live/remove" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}"> <input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="id" value="{{id}}"> <input type="hidden" name="id" value="{{id}}">
<input autocomplete="off" class="btn btn-primary ml-auto donttrigger" data-click="disable(this);this.parentElement.submit()" onclick="areyousure(this)" value="Remove"> <input autocomplete="off" class="btn btn-primary ml-auto remove-streamer" data-click="disable(this);this.parentElement.submit()" onclick="areyousure(this)" value="Remove">
</form> </form>
</td> </td>
{% endif %} {% endif %}
@ -84,7 +87,7 @@
<form action="/live/remove" method="post"> <form action="/live/remove" method="post">
<input type="hidden" name="formkey" value="{{v.formkey}}"> <input type="hidden" name="formkey" value="{{v.formkey}}">
<input type="hidden" name="id" value="{{id}}"> <input type="hidden" name="id" value="{{id}}">
<input autocomplete="off" class="btn btn-primary ml-auto donttrigger" data-click="disable(this);this.parentElement.submit()" onclick="areyousure(this)" value="Remove"> <input autocomplete="off" class="btn btn-primary ml-auto remove-streamer" data-click="disable(this);this.parentElement.submit()" onclick="areyousure(this)" value="Remove">
</form> </form>
</td> </td>
{% endif %} {% endif %}