mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Update peer template w/ additional fields
This commit is contained in:
		| @@ -41,6 +41,13 @@ | ||||
|           </div> | ||||
|         </div> | ||||
|  | ||||
|         <div class="row"> | ||||
|           <div class="form-group col-md-6"> | ||||
|             <label for="code"><?php echo _("DNS"); ?></label> | ||||
|             <input type="text" class="form-control" name="wg_srvdns" value="<?php echo htmlspecialchars($wg_srvdns, ENT_QUOTES); ?>" /> | ||||
|           </div> | ||||
|         </div> | ||||
|  | ||||
|     </div> | ||||
|   </div><!-- /.row --> | ||||
| </div><!-- /.tab-pane | settings tab --> | ||||
|   | ||||
| @@ -26,7 +26,21 @@ | ||||
|       </div> | ||||
|  | ||||
|       <div class="row"> | ||||
|         <div class="form-group col-xs-3 col-sm-6 mt-3"> | ||||
|         <div class="form-group col-xs-3 col-sm-3 mt-3"> | ||||
|           <label for="code"><?php echo _("Local Port"); ?></label> | ||||
|           <input type="text" class="form-control" name="wg_plistenport" value="<?php echo htmlspecialchars($wg_plistenport, ENT_QUOTES); ?>" /> | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="row"> | ||||
|         <div class="form-group col-md-6"> | ||||
|           <label for="code"><?php echo _("IP Address"); ?></label> | ||||
|           <input type="text" class="form-control" name="wg_pipaddress" value="<?php echo htmlspecialchars($wg_pipaddress, ENT_QUOTES); ?>" /> | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
|       <div class="row"> | ||||
|         <div class="form-group col-xs-3 col-sm-6"> | ||||
|           <label for="code"><?php echo _("Endpoint address"); ?></label> | ||||
|           <input type="text" class="form-control" name="wg_pendpoint" value="<?php echo htmlspecialchars($wg_pendpoint, ENT_QUOTES); ?>" /> | ||||
|         </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user