Changeset 687 for trunk/templates
- Timestamp:
- 01/29/15 17:02:06 (10 years ago)
- Location:
- trunk/templates
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/templates/addmaster.tmpl
r582 r687 1 1 <div class="indent"> 2 <div class="heading">Add new master IP block</div><br>3 2 <form method="POST" action="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi"> 4 3 <fieldset><legend class="noshow"> </legend> 5 <table class="regular" cellspacing="1" cellpadding="1"> 6 <tr class="row0"> 4 <table class="regular altrows" cellspacing="1" cellpadding="1"> 5 <tr class="heading"><td>Add new master IP block</td></tr> 6 <tr> 7 7 <td>Master block to add: (CIDR)</td> 8 8 <td><input type="text" name="cidr"></td> 9 9 </tr> 10 <tr class="row1">10 <tr> 11 11 <td>Default VRF:</td> 12 12 <td><input type="text" name="vrf"></td> 13 13 </tr> 14 <tr class="row0">14 <tr> 15 15 <td>Default rDNS pattern:</td> 16 16 <td><input type="text" name="rdns"><input type="button" value=" ? " onclick="helpRDNS()" class="regular"></td> 17 17 </tr> 18 <tr class="row1">18 <tr> 19 19 <TMPL_IF loclist> 20 20 <td>Default DNS scope:</td> … … 27 27 </td> 28 28 </tr> 29 <tr class="row0">29 <tr> 30 30 <TMPL_ELSE> 31 31 </TMPL_IF> -
trunk/templates/assign.tmpl
r675 r687 1 1 <div class="indent"> 2 <div class="tblsubtitle">Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></div>3 <br>4 2 5 3 <form method="post" action="main.cgi" class="regular"> 6 4 <fieldset><legend class="noshow"> </legend> 7 5 8 <table class="regular" cellspacing="1" cellpadding="1"> 6 <table class="regular altrows" cellspacing="1" cellpadding="1"> 7 <tr class="tblsubtitle"><td>Assign IP<TMPL_UNLESS fbip>s</TMPL_UNLESS></td></tr> 9 8 10 9 <TMPL_IF allocfrom> 11 <tr class="row0">10 <tr> 12 11 <TMPL_IF fbip> 13 12 <td>IP pool:</td> … … 20 19 </td> 21 20 </tr> 22 <tr class="row1">21 <tr> 23 22 <TMPL_IF fbip> 24 23 <td>IP:</td> … … 37 36 </TMPL_IF> 38 37 39 <tr class="row0">38 <tr> 40 39 <td>Customer location:</td> 41 40 <td> … … 49 48 </tr> 50 49 51 <tr class="row1">50 <tr> 52 51 <td>Allocation type:</td> 53 52 <td> … … 65 64 66 65 <TMPL_UNLESS allocfrom> 67 <tr class="row0">66 <tr> 68 67 <td>Subnet CIDR mask length:</td> 69 68 <td valign="top"> / <input type="text" name="maskbits" size="3" maxlength="3"></td> … … 71 70 </TMPL_UNLESS> 72 71 73 <tr class="<TMPL_VAR NAME=rowa>">72 <tr> 74 73 <td>Reverse DNS pattern:</td> 75 74 <td> … … 80 79 </tr> 81 80 82 <tr class="<TMPL_VAR NAME=rowb>">81 <tr> 83 82 <td>Customer ID:</td> 84 83 <td><input type="text" name="custid" size="15" maxlength="15"> (Only required for Customer allocations)</td> 85 84 </tr> 86 85 87 <tr class="<TMPL_VAR NAME=rowa>">86 <tr> 88 87 <td>Layer-2/demarc node</td> 89 88 <td> … … 98 97 99 98 <TMPL_UNLESS allocfrom> 100 <tr class="<TMPL_VAR NAME=rowb>">99 <tr> 101 100 <td>Allocate from blocks in this location:</td> 102 101 <td> … … 109 108 </tr> 110 109 111 <tr class="<TMPL_VAR NAME=rowa>">110 <tr> 112 111 <td>Limit to blocks in this master: </td> 113 112 <td> … … 121 120 </TMPL_UNLESS> 122 121 123 <tr class="<TMPL_VAR NAME=rowb>">122 <tr> 124 123 <td>Circuit ID:</td> 125 124 <td><input name="circid" size="40"></td> 126 125 </tr> 127 126 128 <tr class="<TMPL_VAR NAME=rowa>">127 <tr> 129 128 <td>Description/Name:</td> 130 129 <td><input name="desc" size="40"></td> 131 130 </tr> 132 131 133 <tr class="<TMPL_VAR NAME=rowb>">132 <tr> 134 133 <td>Notes: </td> 135 134 <td><textarea name="notes" rows="3" cols="40"></textarea></td> … … 137 136 138 137 <TMPL_IF privdata> 139 <tr class="<TMPL_VAR NAME=rowa>">138 <tr> 140 139 <td>Restricted data:</td> 141 140 <td><textarea rows="3" cols="64" name="privdata" class="regular"></textarea></td> … … 143 142 </TMPL_IF> 144 143 145 <tr class="<TMPL_IF privdata><TMPL_VAR NAME=rowb><TMPL_ELSE><TMPL_VAR NAME=rowa></TMPL_IF>">144 <tr> 146 145 <td class="center" colspan="2"><input type="submit" value=" Assign "></td> 147 146 </tr> -
trunk/templates/confirm.tmpl
r674 r687 6 6 </div> 7 7 <TMPL_ELSE> 8 <div class="heading">Please confirm</div>9 8 <div class="indent"> 10 9 11 10 <form method="POST" action="main.cgi" class="regular"> 12 11 <fieldset><legend class="noshow"> </legend> 13 <table class="regular" cellspacing="1" cellpadding="1"> 12 <table class="regular altrows" cellspacing="1" cellpadding="1"> 13 <tr class="heading"><td>Please confirm</td></tr> 14 14 15 <tr class="row0">15 <tr> 16 16 <td>CIDR block to be allocated:</td> 17 17 <td><TMPL_VAR NAME=cidr></td> 18 18 </tr> 19 19 20 <tr class="row1">20 <tr> 21 21 <td>Block allocation is taken from:</td> 22 22 <TMPL_IF staticip> … … 31 31 </tr> 32 32 33 <tr class="row0">33 <tr> 34 34 <td>Reverse DNS:</td> 35 35 <td> … … 45 45 <table> 46 46 <TMPL_LOOP name="r_iplist"> 47 <tr >47 <tr class="revdata"> 48 48 <td><TMPL_VAR NAME=r_ip></td> 49 49 <td><input class="host" name="host_<TMPL_VAR NAME=r_ip>" value="<TMPL_VAR NAME=iphost>"></td> … … 61 61 </tr> 62 62 63 <tr class="row1">63 <tr> 64 64 <td>City:</td> 65 65 <td><TMPL_VAR NAME=city></td> 66 66 </tr> 67 67 68 <tr class="row0">68 <tr> 69 69 <td>Layer-2/demarc node:</td> 70 70 <td><TMPL_VAR NAME=nodename></td> 71 71 </tr> 72 72 73 <tr class="row1">73 <tr> 74 74 <td>Allocation type:</td> 75 75 <td><TMPL_VAR NAME=typefull></td> 76 76 </tr> 77 77 78 <tr class="row0">78 <tr> 79 79 <td>Customer ID:</td> 80 80 <td><TMPL_VAR NAME=custid></td> 81 81 </tr> 82 82 83 <tr class="row1">83 <tr> 84 84 <td valign="top">Circuit ID:</td> 85 85 <td><TMPL_VAR NAME=circid></td> 86 86 </tr> 87 87 88 <tr class="row0">88 <tr> 89 89 <td valign="top">Description/name:</td> 90 90 <td><TMPL_VAR NAME=desc></td> 91 91 </tr> 92 92 93 <tr class="row1">93 <tr> 94 94 <td valign="top">Notes:</td> 95 95 <td><TMPL_VAR NAME=notes></td> … … 97 97 98 98 <TMPL_IF privdata> 99 <tr class="row0">99 <tr> 100 100 <td>Restricted data:</td> 101 101 <td><TMPL_VAR NAME=privdata></td> … … 104 104 105 105 <!-- warn --> 106 <tr class="<TMPL_IF privdata>row1<TMPL_ELSE>row0</TMPL_IF>">106 <tr> 107 107 <td class="center" colspan="2"> 108 108 <TMPL_UNLESS poollist><input type="hidden" name="alloc_from" value="<TMPL_VAR NAME=alloc_from>"></TMPL_UNLESS> -
trunk/templates/delete.tmpl
r638 r687 1 1 <TMPL_IF webpath></TMPL_IF> 2 <div class="heading">Please confirm removal of:</div>3 2 <br> 4 3 <TMPL_VAR NAME=err> … … 6 5 <form action="main.cgi" method="POST" class="regular"> 7 6 <fieldset><legend class="noshow"> </legend> 8 <table class="indent" cellspacing="1" cellpadding="1"> 7 <table class="indent altrows" cellspacing="1" cellpadding="1"> 8 <tr class="heading"><td>Please confirm removal of:</td></tr> 9 9 10 <tr class="row0">10 <tr> 11 11 <td>IP block:</td> 12 12 <td><TMPL_VAR NAME=block></td> 13 13 </tr> 14 14 15 <tr class="row1">15 <tr> 16 16 <td>Reverse DNS pattern:</td> 17 17 <td><TMPL_VAR NAME=rdns></td> 18 18 </tr> 19 19 20 <tr class="row0">20 <tr> 21 21 <td>Remove associated forward DNS entry?</td> 22 22 <td><input type="checkbox" name="delforward"<TMPL_IF autodel> checked</TMPL_IF>></td> 23 23 </tr> 24 24 25 <tr class="row1">25 <tr> 26 26 <td>City:</td> 27 27 <td><TMPL_VAR NAME=city></td> 28 28 </tr> 29 29 30 <tr class="row0">30 <tr> 31 31 <td>Type:</td> 32 32 <td><TMPL_VAR NAME=disptype></td> 33 33 </tr> 34 34 35 <tr class="row1">35 <tr> 36 36 <td>Customer ID:</td> 37 37 <td><TMPL_VAR NAME=custid></td> 38 38 </tr> 39 39 40 <tr class="row0">40 <tr> 41 41 <td>Circuit ID:</td> 42 42 <td><TMPL_VAR ESCAPE=HTML NAME=circid></td> 43 43 </tr> 44 44 45 <tr class="row1">45 <tr> 46 46 <td valign="top">Description/Name:</td> 47 47 <td><TMPL_VAR ESCAPE=HTML NAME=desc></td> 48 48 </tr> 49 49 50 <tr class="row0">50 <tr> 51 51 <td valign="top">Notes:</td> 52 52 <td><TMPL_VAR NAME=notes></td> … … 54 54 55 55 <TMPL_IF privdata> 56 <tr class="row1">56 <tr> 57 57 <td valign="top">Restricted data:</td> 58 58 <td><TMPL_VAR NAME=privdata></td> … … 60 60 </TMPL_IF> 61 61 62 <tr class="warning">63 <td colspan="2"> 62 <tr> 63 <td colspan="2"><div class="warning"> 64 64 Warning: clicking confirm will remove this record entirely. 65 65 <TMPL_IF delpool><br>Any IPs allocated from this pool will also be removed!</TMPL_IF> 66 </div> 66 67 </td> 67 68 </tr> 68 69 69 <tr class="row<TMPL_IF privdata>0<TMPL_ELSE>1</TMPL_IF>">70 <tr> 70 71 <td class="center" colspan="2"> 71 72 <input type="button" value="Back" onclick="history.go(-1)"><input type="submit" value="Confirm"> -
trunk/templates/edit.tmpl
r675 r687 1 1 <TMPL_IF webpath></TMPL_IF> 2 2 <div class="indent"> 3 <div class="heading">Edit the information below</div>4 3 5 4 <table cellpadding="0" cellspacing="0"> 5 6 6 <tr> 7 7 <td> … … 14 14 </TMPL_IF> 15 15 16 <table cellspacing="1"> 17 18 <tr class="row0"> 16 <table class="altrows" cellspacing="1"> 17 <tr class="heading"><td>Edit the information below</td></tr> 18 19 <tr> 19 20 <td class=heading>IP block:</td> 20 21 <td class="regular"><TMPL_VAR NAME=block></td> 21 22 </tr> 22 23 23 <tr class="row1">24 <tr> 24 25 <td class="heading">Reverse DNS:</td> 25 26 <td class="regular"> … … 56 57 </tr> 57 58 58 <tr class="row0">59 <tr> 59 60 <td class=heading>City:</td> 60 61 <td class="regular"> … … 67 68 </tr> 68 69 69 <tr class="row1">70 <tr> 70 71 <td class=heading>Type:</td> 71 72 <td class=regular> … … 82 83 </tr> 83 84 84 <tr class="row0">85 <tr> 85 86 <td class=heading>Layer-2/demarc node:</td> 86 87 <td class=regular> … … 98 99 </tr> 99 100 100 <tr class="row1">101 <tr> 101 102 <td class=heading>CustID:</td> 102 103 <td class="regular"> … … 109 110 </tr> 110 111 111 <tr class="row0">112 <tr> 112 113 <td class=heading>SWIPed?:</td> 113 114 <td class=regular> … … 124 125 </tr> 125 126 126 <tr class="row1">127 <tr> 127 128 <td class=heading>Last modified:</td> 128 129 <td class=regular><TMPL_VAR NAME=lastmod></td> 129 130 </tr> 130 131 131 <tr class="row0">132 <tr> 132 133 <td class="heading">Circuit ID:</td> 133 134 <td class="regular"> … … 140 141 </tr> 141 142 142 <tr class="row1">143 <tr> 143 144 <td class="heading">Description/Name:</td> 144 145 <td class="regular"> … … 151 152 </tr> 152 153 153 <tr class="row0">154 <tr> 154 155 <td class="heading" valign="top">Notes:</td> 155 156 <td class="regular"> … … 162 163 163 164 <TMPL_IF nocling> 164 <tr class="row1">165 <tr> 165 166 <td class="heading" valign="top">Restricted data:</td> 166 167 <td class="regular"> … … 175 176 176 177 <TMPL_IF maychange> 177 <tr class="row<TMPL_IF nocling>0<TMPL_ELSE>1</TMPL_IF>">178 <tr> 178 179 <td colspan="2" class="center"> 179 180 <input type="hidden" name="basetype" value="<TMPL_VAR NAME=basetype>"> … … 193 194 <form method="POST" action="main.cgi"> 194 195 <fieldset><legend class="noshow"> </legend> 195 <div class="r ow<TMPL_IF nocling><TMPL_IF maychange>1<TMPL_ELSE>0</TMPL_IF><TMPL_ELSE><TMPL_IF maychange>0<TMPL_ELSE>1</TMPL_IF></TMPL_IF>">196 <div class="revdata"> 196 197 <input type="hidden" name="action" value="delete"> 197 198 <input type="hidden" name="block" value="<TMPL_VAR NAME=id>"> -
trunk/templates/index.tmpl
r626 r687 1 1 <br> 2 2 <div class="center"> 3 <table class="center " width="98%" cellspacing="0">3 <table class="center altrows" width="98%" cellspacing="0"> 4 4 <TMPL_IF masterlist> 5 5 <tr class="heading"> … … 12 12 </tr> 13 13 <TMPL_LOOP NAME=masterlist> 14 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">14 <tr> 15 15 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=master></a></td> 16 16 <td><TMPL_VAR NAME=vrf></td> -
trunk/templates/listpool.tmpl
r630 r687 18 18 </TMPL_IF> 19 19 20 <table width="98%" cellspacing="0" class="center ">20 <table width="98%" cellspacing="0" class="center altrows"> 21 21 <tr> 22 22 <td class="heading">IP</td> … … 28 28 29 29 <TMPL_LOOP name=poolips> 30 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">30 <tr> 31 31 <td> 32 32 <TMPL_IF delme> -
trunk/templates/nodesearch.tmpl
r519 r687 3 3 Failed to retrieve node list: <TMPL_VAR NAME=errmsg> 4 4 <TMPL_ELSE> 5 <div class="heading">Switch/tower search</div>6 5 <form action="<TMPL_VAR NAME=webpath>/cgi-bin/search.cgi" method=POST> 7 6 <fieldset><legend class="noshow"> </legend> 8 <table cellspacing="1" cellpadding="2"> 9 <tr class="row0"> 7 <table cellspacing="1" cellpadding="2" class="altrows"> 8 <tr class="heading"><td>Switch/tower search</td></tr> 9 <tr> 10 10 <td>Find customers connected through:</td> 11 11 <td><select name="node"> … … 16 16 </tr> 17 17 18 <tr class="row1">18 <tr> 19 19 <td colspan="2" align="center"><input type="submit" value="Find customers"></td> 20 20 </tr> -
trunk/templates/showsubs.tmpl
r682 r687 1 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block></div> 1 <div class="tbltitle">Subnets in <TMPL_VAR NAME=block> 2 (<a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=self_id>&basetype=b">Edit</a>) 3 </div> 4 2 5 <TMPL_VAR NAME=addperm> 3 6 4 7 <TMPL_IF contlist> 5 <br>6 8 <hr class="w30"> 7 9 <div class="tbltitle">Containers</div> 8 10 <br> 9 <table class="center " width="98%" cellspacing="0">10 <tr >11 <table class="center altrows" width="98%" cellspacing="0"> 12 <tr class="headrow"> 11 13 <td class="heading">Container block</td> 12 14 <td class="heading">Location</td> … … 19 21 20 22 <TMPL_LOOP NAME=contlist> 21 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">23 <tr> 22 24 <td><a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=showsubs&parent=<TMPL_VAR NAME=id>"><TMPL_VAR NAME=block></a></td> 23 25 <td><TMPL_VAR NAME=city></td> … … 39 41 <div class="tbltitle">Usage allocations</div> 40 42 <br> 41 <table width="98%" cellspacing="0" class="center ">43 <table width="98%" cellspacing="0" class="center altrows"> 42 44 <tr> 43 45 <td class="heading">CIDR allocation</td> … … 50 52 51 53 <TMPL_LOOP NAME=alloclist> 52 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">54 <tr> 53 55 <td> 54 56 <a href="<TMPL_VAR NAME=webpath>/cgi-bin/main.cgi?action=edit&id=<TMPL_VAR NAME=id>&basetype=b"><TMPL_VAR NAME=block></a> … … 74 76 <fieldset><legend class="noshow"> </legend> 75 77 <input type=hidden name=action value="delete"> 76 <input type=hidden name=block value="<TMPL_VAR NAME= del_id>">78 <input type=hidden name=block value="<TMPL_VAR NAME=self_id>"> 77 79 <input type=hidden name=basetype value="b"> 78 80 <input type=submit value=" Remove this block "> … … 88 90 89 91 <TMPL_IF freelist> 90 <table width="98%" cellspacing="0" class="center ">92 <table width="98%" cellspacing="0" class="center altrows"> 91 93 <tr> 92 94 <td class="heading">CIDR block</td> … … 95 97 96 98 <TMPL_LOOP name=freelist> 97 <tr class="row<TMPL_IF __odd__>0<TMPL_ELSE>1</TMPL_IF>">99 <tr> 98 100 <TMPL_IF newvrf><td colspan=2>vrf: <TMPL_VAR NAME=newvrf></td> 99 101 <TMPL_ELSE> -
trunk/templates/update.tmpl
r634 r687 5 5 </div> 6 6 <TMPL_ELSE> 7 <div class="heading">Allocation info updated:</div>8 7 9 <table class="indent" cellspacing="1" cellpadding="1"> 8 <table class="indent altrows" cellspacing="1" cellpadding="1"> 9 <tr class="heading"><td>Allocation info updated:</td></tr> 10 10 11 <tr class="row0">11 <tr> 12 12 <td>IP<TMPL_UNLESS backpool> block</TMPL_UNLESS>:</td> 13 13 <td><TMPL_VAR NAME=cidr></td> 14 14 </tr> 15 15 16 <tr class="row1">16 <tr> 17 17 <td>Reverse DNS pattern:</td> 18 18 <td><TMPL_VAR NAME=rdns> … … 21 21 </tr> 22 22 23 <tr class="row0">23 <tr> 24 24 <td>City:</td> 25 25 <td><TMPL_VAR NAME=city></td> 26 26 </tr> 27 27 28 <tr class="row1">28 <tr> 29 29 <td>Type:</td> 30 30 <td><TMPL_VAR NAME=disptype></td> 31 31 </tr> 32 32 33 <tr class="row0">33 <tr> 34 34 <td>Layer-2/demarc node:</td> 35 35 <td><TMPL_IF nodename><TMPL_VAR NAME=nodename><TMPL_ELSE>N/A</TMPL_IF></td> 36 36 </tr> 37 37 38 <tr class="row1">38 <tr> 39 39 <td>Customer ID:</td> 40 40 <td><TMPL_VAR NAME=custid></td> 41 41 </tr> 42 42 43 <tr class="row0">43 <tr> 44 44 <td>SWIPed?:</td> 45 45 <td><TMPL_VAR NAME=swip></td> 46 46 </tr> 47 47 48 <tr class="row1">48 <tr> 49 49 <td>Circuit ID:</td> 50 50 <td><TMPL_VAR ESCAPE=HTML NAME=circid></td> 51 51 </tr> 52 52 53 <tr class="row0">53 <tr> 54 54 <td valign="top">Description/Name:</td> 55 55 <td><TMPL_VAR ESCAPE=HTML NAME=desc></td> 56 56 </tr> 57 57 58 <tr class="row1">58 <tr> 59 59 <td valign="top">Notes:</td> 60 60 <td><TMPL_VAR NAME=notes></td> … … 62 62 63 63 <TMPL_IF privdata> 64 <tr class="row0">64 <tr> 65 65 <td valign="top">Restricted data:</td> 66 66 <td><TMPL_VAR NAME=privdata></td>
Note:
See TracChangeset
for help on using the changeset viewer.