mirror of
				https://github.com/TeaOSLab/EdgeAdmin.git
				synced 2025-11-04 05:00:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
{$layout}
 | 
						|
{$template "waf_menu"}
 | 
						|
 | 
						|
<form method="post" class="ui form" data-tea-action="$" data-tea-success="success">
 | 
						|
	<csrf-token></csrf-token>
 | 
						|
	<input type="hidden" name="firewallPolicyId" :value="firewallPolicyId"/>
 | 
						|
 | 
						|
	<table class="ui table definition selectable">
 | 
						|
		<tr>
 | 
						|
			<td class="title">选择入站规则</td>
 | 
						|
			<td>
 | 
						|
				<span v-if="inboundGroups.length == 0" class="disabled">暂时还没有入站规则。</span>
 | 
						|
				<div class="groups-box" v-show="inboundGroups.length > 0">
 | 
						|
					<div v-for="g in inboundGroups" class="group-box">
 | 
						|
						<checkbox name="inboundGroupIds" :value="true" :v-value="g.id">{{g.name}}</checkbox>
 | 
						|
					</div>
 | 
						|
				</div>
 | 
						|
			</td>
 | 
						|
		</tr>
 | 
						|
		<tr>
 | 
						|
			<td>选择出站规则</td>
 | 
						|
			<td>
 | 
						|
				<span v-if="outboundGroups.length == 0" class="disabled">暂时还没有出站规则。</span>
 | 
						|
				<div class="groups-box" v-show="outboundGroups.length > 0">
 | 
						|
					<div v-for="g in outboundGroups" class="group-box">
 | 
						|
						<checkbox name="outboundGroupIds" :value="true" :v-value="g.id">{{g.name}}</checkbox>
 | 
						|
					</div>
 | 
						|
				</div>
 | 
						|
			</td>
 | 
						|
		</tr>
 | 
						|
	</table>
 | 
						|
	<submit-btn>导出</submit-btn>
 | 
						|
</form> |