summaryrefslogtreecommitdiff
path: root/rushs/eplace/src/components/rooms/upsert.html
blob: 8b02b698dc88d21f4f20c7cef83e41f00fd4275b (plain)
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
64
65
66
67
68
69
70
<div class="FormOverlay">
  <form class="StylisedForm" id="room-upsert-form">
    <div class="FormHeader">
      <h2 class="FormTitle">{{form_title}}</h2>
    </div>
    <div class="FormItem">
      <label for="name" class="FormLabel">Name</label>
      <input
        type="text"
        class="FormInput"
        id="name"
        name="name"
        placeholder="Enter name"
      />
    </div>
    <div class="FormItem">
      <label for="description" class="FormLabel">Description</label>
      <input
        type="text"
        class="FormInput"
        id="description"
        name="description"
        placeholder="Enter description"
      />
    </div>
    <div class="FormItem">
      <label for="icon-url" class="FormLabel">Icon URL</label>
      <input
        type=""
        class="FormInput"
        id="icon-url"
        name="icon-url"
        placeholder="Enter icon URL"
      />
    </div>
    <div class="FormItem">
      <label for="whitelist" class="FormLabel">Students Whitelist</label>
      <input
        type="text"
        class="FormInput"
        id="whitelist"
        name="whitelist"
        placeholder="Enter student's logins or UIDs, separated by commas (private rooms only)"
      />
    </div>
    <div class="FormItem">
      <label for="blacklist" class="FormLabel">Students Blacklist</label>
      <input
        type="text"
        class="FormInput"
        id="blacklist"
        name="blacklist"
        placeholder="Enter student's logins or UIDs, separated by commas (public rooms only)"
      />
    </div>
    <div class="FormItem">
      <label for="is-public" class="FormLabel">Is Public</label>
      <input
        type="checkbox"
        class="FormInput"
        id="is-public"
        name="is-public"
      />
    </div>
    <div class="FormButtons">
      <button type="button" id="close-modal">Cancel</button>
      <button type="submit">Submit</button>
    </div>
  </form>
</div>