Changeset 674 for trunk/templates


Ignore:
Timestamp:
01/14/15 12:58:58 (10 years ago)
Author:
Kris Deugau
Message:

/trunk

Start extending rDNS support to allow entering per-IP reverse names. See #1.

  • configuration for maximum IP list length
  • CSS to support hideable space so longer lists don't distort and confuse the page too much
  • Hideable space on the assignment confirmation page for per-IP fields
  • Generate IP list for assignment confirmation - note we can't do it on the previous page without heavy AJAX (or heavier Javascript) because we don't know what block we're even assigning at that stage.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/confirm.tmpl

    r633 r674  
    3232
    3333<tr class="row0">
    34 <td>Reverse DNS pattern:</td>
    35 <td><TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
     34<td>Reverse DNS:</td>
     35<td>
     36<TMPL_IF rdns><TMPL_VAR NAME=rdns><TMPL_ELSE>[ Keep default ]</TMPL_IF>
    3637<input type="button" value=" ? " onclick="helpRDNS()" class="regular">
     38<TMPL_IF r_iplist>
     39<div class="rdns revdata">
     40<ul class="collapsible notalist">
     41<li><label for="per-iplist">Per-IP reverse entries (click to show) <img src="<TMPL_VAR NAME=webpath>/images/tree_open.png"></label>
     42<input type="checkbox" id="per-iplist" />
     43<ul class="notalist">
     44<li>
     45<table>
     46<TMPL_LOOP name="r_iplist">
     47<tr>
     48<td><TMPL_VAR NAME=r_ip></td>
     49<td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td>
     50</tr>
     51</TMPL_LOOP>
     52</table>
     53</li>
     54</ul>
     55</li>
     56</ul>
     57</div>
     58</TMPL_IF>
     59
    3760</td>
    3861</tr>
Note: See TracChangeset for help on using the changeset viewer.