-
Notifications
You must be signed in to change notification settings - Fork 1
/
commit.html
63 lines (61 loc) · 1.75 KB
/
commit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: Commit changes
buttonsEnd: modal_close_button.html
---
<form
x-data="commit"
x-on:submit.prevent="submit"
class="flex flex-col gap-4 md:gap-6"
>
<ul class="w-full kvlist">
<li class="kvlist-item">
<input
type="text"
class="kvlist-input kvlist-input-key"
value="Message"
readonly
/>
<textarea
name="message"
class="kvlist-input kvlist-input-value"
required
x-bind:value="message"
x-data
x-autosize
></textarea>
</li>
<li class="kvlist-item">
<input
type="text"
class="kvlist-input kvlist-input-key"
value="Skip CI?"
readonly
/>
<div class="kvlist-input kvlist-input-value">
<input type="checkbox" class="toggle" name="skip" value="1" />
</div>
</li>
<template x-if="useDeleteOld">
<li class="kvlist-item">
<input
type="text"
class="kvlist-input kvlist-input-key"
value="Delete old file?"
readonly
/>
<div class="kvlist-input kvlist-input-value">
<input
type="checkbox"
class="toggle"
name="deleteOld"
value="1"
/>
</div>
</li>
</template>
</ul>
<button
class="w-full button button-success-filled"
x-html="`${icons.save} Push commit`"
></button>
</form>