Feat: cancel icon

This commit is contained in:
Reid 'arrdem' McKenzie 2023-07-20 00:23:55 -06:00
parent 2645fa909b
commit 4ce85e09bf
2 changed files with 48 additions and 1 deletions

View file

@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 28 28"
x="0px"
y="0px"
version="1.1"
id="svg190"
sodipodi:docname="noun-cross-5084906.svg"
width="28"
height="28"
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs194" />
<sodipodi:namedview
id="namedview192"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
showgrid="false"
inkscape:zoom="22.975"
inkscape:cx="13.993471"
inkscape:cy="17.997824"
inkscape:window-width="1920"
inkscape:window-height="1170"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg190" />
<title
id="title180">Basic_UI1_32px_2px_Solid</title>
<g
data-name="Layer 35"
id="g184"
transform="translate(-2,-2)">
<path
d="M 16,2 A 14,14 0 1 0 30,16 14,14 0 0 0 16,2 Z m 6.36,19 a 1,1 0 1 1 -1.41,1.41 l -4.95,-5 -4.95,5 A 1,1 0 0 1 9.64,21 l 4.95,-5 -4.95,-5 a 1,1 0 0 1 1.41,-1.41 l 4.95,5 4.95,-5 A 1,1 0 0 1 22.36,11 l -4.95,5 z"
id="path182" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -20,7 +20,7 @@
<form class="inline" method="post" action="/jobs"> <form class="inline" method="post" action="/jobs">
<input type="hidden" name="action" value="cancel" /> <input type="hidden" name="action" value="cancel" />
<input type="hidden" name="job_id" value="{{ id }}" /> <input type="hidden" name="job_id" value="{{ id }}" />
<input id="submit" type="submit" value="Cancel"/> <input id="submit" type="image" src="/static/cancel.svg" height="24" width="24" />
</form> </form>
{% endmacro %} {% endmacro %}