Adds "Add Setting" button to table, and shows a popup with form elements for adding a new setting. Does not yet add setting to the db.
22 lines
594 B
Smarty
22 lines
594 B
Smarty
<table>
|
|
<thead>
|
|
<th>Name</th>
|
|
<th>Type</th>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>
|
|
<input type="text" id="settings_add_name" value="" />
|
|
</td>
|
|
<td>
|
|
<select id="settings_add_tpe">
|
|
<option value="int">Integer</option>
|
|
<option value="bool">Boolean</option>
|
|
<option value="string">String</option>
|
|
<option value="string_list">String List</option>
|
|
</select>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|