aboutsummaryrefslogtreecommitdiff
path: root/src/editModal.html
blob: af3a79da7e9e46aeb586009a97c4ede828e5134e (plain) (blame)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      body {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
          'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
          'Helvetica Neue', sans-serif;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        color: #18181b;
        background-color: #ffffff;
        display: flex;
        align-items: center;
        align-content: center;
        height: 100vh;
        margin: 0;
      }

      main {
        border-radius: 16px;
        margin: auto;
        border: 1px solid rgb(212, 212, 216);
        background-color: rgb(244, 244, 245);
        padding: 32px;
      }

      code {
        font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
          monospace;
      }

      select {
        display: block;
        padding: 0.5rem;
        border-radius: 0.5rem;
        border: solid 1px rgb(212, 212, 216);
      }

      input {
        display: block;
        /* min-width: 320px; */
        padding: 0.5rem;
        border-radius: 0.5rem;
        border: 1px solid rgb(212, 212, 216);
      }
      .flex-row {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0 -0.25rem;
      }

      .flex-row div {
        padding: 0.25rem;
      }

      label {
        display: block;
        padding: 0.4em 0;
      }
      h1 {
        margin-top: 0.2rem;
      }
      button {
        display: block;
        padding: 0.5rem;
        margin: 0.25rem 0.25rem;
        font-size: 1rem;
        border: medium none;
        border-radius: 0.5rem;
        color: rgb(250, 250, 250);
        transition: background-color 0.2s ease-in-out 0s;
        background-color: rgb(59, 130, 246);
      }
    </style>
  </head>
  <body>
    <main>
      <h1>Add record</h1>
      <div className="flex-row">
        <div>
          <label for="cuts">Type</label>
          <select id="cuts" className="svelte-components-form-Select--1t68vuw">
            <option value="4sm">A</option>
            <option value="5sm">AAAA</option>
            <option value="5">CNAME</option>
            <option value="6">MX</option>
            <option value="6">NS</option>
          </select>
        </div>
        <div>
          <label for="name">Name</label>
          <input id="name" />
        </div>
        <div>
          <label for="value">IPv4 Address</label>
          <input id="value" />
        </div>
        <div>
          <label for="cuts">TTL</label>
          <select id="cuts" className="svelte-components-form-Select--1t68vuw">
            <option value="4sm">1 Day</option>
            <option value="5sm">AAAA</option>
            <option value="5">CNAME</option>
            <option value="6">MX</option>
            <option value="6">NS</option>
          </select>
        </div>
      </div>
      <div className="flex-row">
        <button>Cancel</button>
        <button>Update</button>
      </div>
    </main>
  </body>
</html>