{$layout}
{$template "../settings_menu"}
{$template "/left_menu_with_menu"}

<div class="right-box with-menu">
	<div class="groups-config-container">
		<div class="ui form groups-config-form">
			<div class="form-title">网站分组配置</div>
			
			<form id="groupsForm" data-tea-action="$" data-tea-success="success">
				<csrf-token></csrf-token>
				<input type="hidden" name="serverId" :value="serverId"/>
				<div class="groups-box">
					<div class="config-section">
						<div class="section-title">
							<i class="icon folder"></i>
							<span>网站分组</span>
						</div>
						
						<div class="config-item">
							<div class="item-label">选择分组</div>
							<div class="item-content">
								<server-group-selector :v-groups="groups" @submit="submit"></server-group-selector>
							</div>
						</div>
					</div>
				</div>
				<!-- <submit-btn></submit-btn> -->
			</form>
		</div>
	</div>
</div>