Changeset 782 for trunk/templates


Ignore:
Timestamp:
10/08/15 17:09:51 (9 years ago)
Author:
Kris Deugau
Message:

/trunk

Add device-backup fields to pool IP assignment. See #52.

  • allocateBlock() in IPDB.pm
  • new assignment page

Refine CSS hiding space-gobbling fields so it can be used multiple places

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/assign.tmpl

    r781 r782  
    150150</tr>
    151151
    152 <TMPL_IF privdata>
     152<TMPL_IF nocling>
    153153<tr>
    154154<td>Restricted data:</td>
    155155<td><textarea rows="8" cols="64" name="privdata" class="regular"></textarea></td>
     156</tr>
     157
     158<tr>
     159<td>Configuration backup:</td>
     160<td>
     161<ul class="collapsible notalist"><li>
     162<label for="backupfields">Device/assignment requires backup?</label>
     163<input type="checkbox" id="backupfields" name="backupfields" />
     164<ul class="notalist"><li>
     165<table><tr><td>Brand:</td><td><input name="bkbrand"></td></tr>
     166<tr><td>Model:</td><td><input name="bkmodel"></td></tr>
     167<tr><td colspan="2">Optional settings if different from standard ones for the device type above:</td></tr>
     168<tr><td>Access method:</td><td><select name="bktype">
     169<option selected="selected">telnet</option>
     170<option>SSH</option>
     171</select></td></tr>
     172<tr><td>Connect from:</td><td><input name="bksrc"></td></tr>
     173<tr><td>Username:</td><td><input name="bkuser"></td></tr>
     174<tr><td>VTY password:</td><td><input name="bkvpass"></td></tr>
     175<tr><td>Enable password:</td><td><input name="bkepass"></td></tr>
     176<tr><td>Alternate port (if required):</td><td><input name="bkport"></td></tr>
     177</table>
     178</li></ul>
     179</li></ul>
     180</td>
    156181</tr>
    157182</TMPL_IF>
Note: See TracChangeset for help on using the changeset viewer.