<commit_before><div class="panel panel-default">
	<div class="panel-body text-right">
		<button type="button" class="btn btn-primary" ng-click="save()">保存</button>
	</div>
</div>
<div class="panel panel-default">
	<div class="panel-body">
	   	<h5>用户配置</h5>
	   	<hr>
	   	<div class="row">
			<div class="col-md-6">
				<form action="" method="POST" role="form" class="form-inline" name="setting">
					<div class="form-group">
						<label for="">登录保存时间</label>
						<input type="number" class="form-control" name="session_expire" placeholder="" ng-model="settings.user.session_expire" min="0" max="240">
						<span>小时 (0为不保存，最大为240小时)</span>
						<span ng-show="setting.session_expire.$error.max" class="text-danger">不能大于240小时</span>
						<span ng-show="setting.session_expire.$error.min" class="text-danger">不能小于0小时</span>
					</div>
					<div class="form-group">
						<label for="">每页列表行数</label>
						<input type="number" class="form-control" name="per_page" ng-model="settings.user.per_page">
					</div>
				</form>
			</div>
	   	</div>

		@if( he_is('employee') && username() == 'admin')
	   	<h5>系统配置</h5>
	   	<hr>
	   	<div class="row">
			<div class="col-md-6">
				<form action="" method="POST" role="form" class="form-horizontal">
					<div class="form-group">
						<label for="" class="control-label col-md-8">
							<p class="text-left">代理商结束时间在多少天内，则显示“即将过期”标识</p>
						</label>
						<div class="col-md-2">
							<input type="number" class="form-control" name="agency_end" ng-model="settings.system.agency_end">
						</div>
					</div>
					<div class="form-group">
						<label for="" class="control-label col-md-8"><commit_msg>修改登录时间提示<commit_after><div class="panel panel-default">
	<div class="panel-body text-right">
		<button type="button" class="btn btn-primary" ng-click="save()">保存</button>
	</div>
</div>
<div class="panel panel-default">
	<div class="panel-body">
	   	<h5>用户配置</h5>
	   	<hr>
	   	<div class="row">
			<div class="col-md-6">
				<form action="" method="POST" role="form" class="form-inline" name="setting">
					<div class="form-group">
						<label for="">登录保存时间</label>
						<input type="number" class="form-control" name="session_expire" placeholder="" ng-model="settings.user.session_expire" min="1" max="240">
						<span>小时 (最小1小时, 最大为240小时)</span>
						<span ng-show="setting.session_expire.$error.max" class="text-danger">不能大于240小时</span>
						<span ng-show="setting.session_expire.$error.min" class="text-danger">不能小于1小时</span>
					</div>
					<div class="form-group">
						<label for="">每页列表行数</label>
						<input type="number" class="form-control" name="per_page" ng-model="settings.user.per_page">
					</div>
				</form>
			</div>
	   	</div>

		@if( he_is('employee') && username() == 'admin')
	   	<h5>系统配置</h5>
	   	<hr>
	   	<div class="row">
			<div class="col-md-6">
				<form action="" method="POST" role="form" class="form-horizontal">
					<div class="form-group">
						<label for="" class="control-label col-md-8">
							<p class="text-left">代理商结束时间在多少天内，则显示“即将过期”标识</p>
						</label>
						<div class="col-md-2">
							<input type="number" class="form-control" name="agency_end" ng-model="settings.system.agency_end">
						</div>
					</div>
					<div class="form-group">
						<label for="" class="control-label col-md-8">
{'fraction_non_alphanumeric': 0.20976491862567812, 'fraction_numerical': 0.012658227848101266, 'mean_word_length': 3.6484593837535013, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4929559', 'n_tokens_mistral': 1536, 'n_tokens_neox': 1282, 'n_words': 206}