Changeset 815 for trunk/templates


Ignore:
Timestamp:
03/09/16 17:25:26 (8 years ago)
Author:
Kris Deugau
Message:

/trunk

Pass VRF in to add master page, and include it in the database checks. See #54.
Add missing breadcrumb links on add master entry and confirmation pages.

Location:
trunk/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/addmaster.tmpl

    r687 r815  
    77<td>Master block to add: (CIDR)</td>
    88<td><input type="text" name="cidr"></td>
    9 </tr>
    10 <tr>
    11 <td>Default VRF:</td>
    12 <td><input type="text" name="vrf"></td>
    139</tr>
    1410<tr>
     
    3329</tr>
    3430</table>
     31<input type="hidden" name="vrf" value="<TMPL_VAR NAME=vrf>">
    3532<input type="hidden" name="action" value="newmaster">
    3633</fieldset>
  • trunk/templates/showvrf.tmpl

    r808 r815  
    2929<TMPL_IF addmaster>
    3030<br>
    31 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster">Add new master block</a>
     31<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=addmaster&vrf=<TMPL_VAR NAME=vrf>">Add new master block</a>
    3232</TMPL_IF>
    3333</div>
Note: See TracChangeset for help on using the changeset viewer.