-
Notifications
You must be signed in to change notification settings - Fork 216
/
fields.html
61 lines (60 loc) · 2.94 KB
/
fields.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
<!--
~ Copyright (c) 2022 Contributors to the Eclipse Foundation
~
~ See the NOTICE file(s) distributed with this work for additional
~ information regarding copyright ownership.
~
~ This program and the accompanying materials are made available under the
~ terms of the Eclipse Public License 2.0 which is available at
~ http://www.eclipse.org/legal/epl-2.0
~
~ SPDX-License-Identifier: EPL-2.0
-->
<!-- Scrollable modal -->
<div id="fieldsModal" class="modal fade" tabindex="-1">
<div class="modal-dialog modal-dialog-scrollable modal-lg">
<div class="modal-content">
<div class="modal-header">
Adjust fields for things table
<button type="button" class="btn-close btn-sm" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body">
<div class="input-group input-group-sm mb-1 mt-1 has-validation">
<label class="input-group-text">Field Path</label>
<input type="text" class="form-control" id="fieldPath"></input>
<button class="btn btn-outline-secondary btn-sm" id="fieldCreate" data-bs-toggle="tooltip"
title="Add a new field with the given path">
<i class="bi bi-plus-square"></i>
</button>
<button class="btn btn-outline-secondary btn-sm" id="fieldDelete" data-bs-toggle="tooltip"
title="Delete selected field">
<i class="bi bi-trash3"></i>
</button>
<button class="btn btn-outline-secondary btn-sm" id="fieldUp">
<i class="bi bi-chevron-up"></i>
</button>
<button class="btn btn-outline-secondary btn-sm" id="fieldDown">
<i class="bi bi-chevron-down"></i>
</button>
<div class="invalid-feedback"></div>
</div>
<table class="table table-striped table-hover table-sm has-validation">
<tbody id="fieldList"></tbody>
</table>
<h6>Field Details</h6>
<div class="input-group input-group-sm mb-1">
<label class="input-group-text">Field Label</label>
<input type="text" class="form-control form-control-sm" id="fieldLabel"></input>
<button class="btn btn-outline-secondary btn-sm" id="fieldUpdate"
data-bs-toggle="tooltip" title="Save selected field details">
<i class="bi bi-save2"></i>
Save
</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-outline-secondary btn-sm" data-bs-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>