Show stars for mandatory fields.
This commit is contained in:
parent
3bdcf2b661
commit
273442c8a0
|
|
@ -85,6 +85,7 @@ form.inline-form { float: left; margin-right: 100px; }
|
|||
input, select { padding: 0.2em; }
|
||||
input[type=text] { font: 1.1em Lucidatypewriter, Courier, monospace; }
|
||||
input[type=text].wide { width: 300px; }
|
||||
.mand { color: #f88; padding: 0 5px;}
|
||||
|
||||
table.form { margin-bottom: 0.5em; }
|
||||
table.form th { text-align: right; vertical-align: top; }
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@
|
|||
<td>
|
||||
<input type="hidden" name="destination_type" value="q"/>
|
||||
<input type="text" name="source" value=""/>
|
||||
<span class="mand">*</span>
|
||||
</td>
|
||||
</tr>
|
||||
<% } else { %>
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
</th>
|
||||
<td>
|
||||
<input type="text" name="destination" value=""/>
|
||||
<span class="mand">*</span>
|
||||
</td>
|
||||
</tr>
|
||||
<% } %>
|
||||
|
|
|
|||
|
|
@ -54,11 +54,11 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th><label>Name:</label></th>
|
||||
<td><input type="text" name="name"/></td>
|
||||
<td><input type="text" name="name"/><span class="mand">*</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label>Type:</label></th>
|
||||
<td><input type="text" name="type"/></td>
|
||||
<td><input type="text" name="type"/><span class="mand">*</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label>Durability:</label></th>
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th><label>Name:</label></th>
|
||||
<td><input type="text" name="name"/></td>
|
||||
<td><input type="text" name="name"/><span class="mand">*</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><label>Durability:</label></th>
|
||||
|
|
|
|||
|
|
@ -28,7 +28,10 @@
|
|||
<table class="form">
|
||||
<tr>
|
||||
<th><label>Username:</label></th>
|
||||
<td><input type="text" name="username"/></td>
|
||||
<td>
|
||||
<input type="text" name="username"/>
|
||||
<span class="mand">*</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
|
|
@ -42,6 +45,7 @@
|
|||
<td>
|
||||
<div id="password">
|
||||
<input type="text" name="password" />
|
||||
<span class="mand">*</span>
|
||||
</div>
|
||||
<div id="no-password">
|
||||
User cannot log in using password.
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
<table class="form">
|
||||
<tr>
|
||||
<th><label>Name:</label></th>
|
||||
<td><input type="text" name="name"/></td>
|
||||
<td><input type="text" name="name"/><span class="mand">*</span></td>
|
||||
</tr>
|
||||
</table>
|
||||
<input type="submit" value="Add virtual host"/>
|
||||
|
|
|
|||
Loading…
Reference in New Issue