<!-- Search Modal -->
<div class="search-project" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS" class="col-lg-6 col-sm-12" style="display: none; width: 85%; padding-top: 20px; padding-bottom: 20px; padding-left: 20px; border-style: groove; border-color: #dfdfdf; border-radius: 15px; max-height: 95%;">

	<!-- Search Options -->
	<!-- ================================================================================= -->
	<div class="container-fluid row">
		<!--
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="number" class="form-control" placeholder="Sync ID" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_SERVER_ID_TXT" />
			</div>
		</div>
		-->
		<!--
		<div class="col-md-4" style="display: none;">
			<div class="input-group mb-3" style="background-color: #ffffff;">
				<select class="BSSP_SEARCH_ACC_ACCESS_ACC_LEVEL_ID_CMB" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_ACC_LEVEL_ID_CMB" data-live-search="true" data-live-search-style="startsWith" data-style="btn-outline-secondary"></select>
			</div>
		</div>		
		-->
		<!--
		<div class="col-md-4" style="display: none;">
			<div class="input-group mb-3" style="background-color: #ffffff;">
				<select class="BSSP_SEARCH_ACC_ACCESS_SYS_MODULE_ID_CMB" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_SYS_MODULE_ID_CMB" data-live-search="true" data-live-search-style="startsWith" data-style="btn-outline-secondary"></select>
			</div>
		</div>		
		-->
		<!--
		<div class="col-md-4" style="display: none;">
			<div class="input-group mb-3" style="background-color: #ffffff;">
				<select class="BSSP_SEARCH_ACC_ACCESS_SYS_AUTHORITY_ID_CMB" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_SYS_AUTHORITY_ID_CMB" data-live-search="true" data-live-search-style="startsWith" data-style="btn-outline-secondary"></select>
			</div>
		</div>		
		-->
		<!--
		<div class="col-md-4">
			Access Rank
		</div>	
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="number" class="form-control" placeholder="Access Rank : From" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_AUTHORITY_POINT_FROM_TXT" />
			</div>
		</div>	
		<div class="col-md-4">
			<div class="input-group mb-3">
				<input type="number" class="form-control" placeholder="Access Rank : To" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ACC_ACCESS_AUTHORITY_POINT_TO_TXT" />
			</div>
		</div>	
		-->
								
		<div class="col-md-3">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH__CMB">
					<option value="1">Inactive</option>
					<option value="2" selected>Active</option>
					<option value="3" disabled style="display:none">Closed</option>
					<option value="4" disabled style="display:none">Completed</option>
				</select>
			</div>
		</div>
	</div>
	
	<div class="container-fluid row">	
		<div class="col-md-3">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_ORDER_BY_CMB">					
					<option value="ACC_ACCESS_ID_ASC">Order by : ID &darr;A-Z</option>
					<option value="ACC_ACCESS_ID">Order by : ID &uarr;Z-A</option>
					<option value="ACC_ACCESS_SERVER_ID_ASC">Order by : Sync ID &darr;A-Z</option>
					<option value="ACC_ACCESS_SERVER_ID">Order by : Sync ID &uarr;Z-A</option>
					<option value="ACC_ACCESS_AUTHORITY_POINT_ASC">Order by : Access Rank &darr;A-Z</option>
					<option value="ACC_ACCESS_AUTHORITY_POINT">Order by : Access Rank &uarr;Z-A</option>
				</select>
			</div>
		</div>
								
		<div class="col-md-3" style="display: none;">
			<div class="input-group mb-3">
				<select class="form-control" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_LIMIT_CMB">	
					<option value="25">Show : 25 rows</option>
					<option value="50">Show : 50 rows</option>
					<option value="100" selected>Show : 100 rows</option>
					<option value="500">Show : 500 rows</option>
					<option value="1000">Show : 1,000 rows</option>
				</select>
			</div>
		</div>	
						
		<div class="col-sm-3 search-btn" style="text-align: right;">
			<button class="btn btn-primary" type="button" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_SEARCH_CMD" title="Search"><i class="fas fa-search"></i>Search</button>
		</div>
	</div>

	<!-- Selection DataGridView -->
	<!-- ================================================================================= -->
	<div class="container-fluid row">	
		<table class="table table-content table-striped" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV"> 
			<thead class="bg-blue" style="color: #fff;">
				<tr style="cursor: pointer; display: table; width: 100%; table-layout: fixed;" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER">
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ROW_IS_SELECTED" style="cursor: pointer; width: 40px;"></th>
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ROW_COUNT" style="cursor: pointer; width: 60px;">#</th>

					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_ID" style="display: none;">ID</th>
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_SERVER_ID" style="cursor: pointer;">Sync ID</th>					
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_ACC_LEVEL_ID" style="display: none;">Access Level</th>
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_SYS_MODULE_ID" style="display: none;">System Module</th>
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_SYS_AUTHORITY_ID" style="display: none;">Authority Level</th>
					<th id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_HEADER_ACC_ACCESS_AUTHORITY_POINT" style="cursor: pointer;">Access Rank</th>					
				</tr>
			</thead>
		
			<tbody style="display: block; height: 250px; overflow-y: scroll;">
				<tr style="cursor: pointer; display: table; width: 100%; table-layout: fixed;" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW">
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ROW_IS_SELECTED" style="width: 40px;"><input type='radio' name='SELECT_MODAL__RADIO'></td>
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ROW_COUNT" style="width: 60px;"></td>
					
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_ID" style="display: none;">ID</td>
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_SERVER_ID" style="cursor: pointer;">Sync ID</td>					
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_ACC_LEVEL_ID" style="display: none;">Access Level</td>
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_SYS_MODULE_ID" style="display: none;">System Module</td>
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_SYS_AUTHORITY_ID" style="display: none;">Authority Level</td>
					<td id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_DGV_ROW_ACC_ACCESS_AUTHORITY_POINT" style="cursor: pointer;">Access Rank</td>					
				</tr>
			</tbody>
		</table>
	</div>	
	<div class="container-fluid row">	
		<button style="float: left; height: 45px; margin-right: 5px;" class="btn btn-lg btn-primary" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_LOAD_PREV_BBI"><i class="fas fa-chevron-left"></i></button>
		<select class="form-control col-md-2" style="float: left; width: 120px; height: 45px;" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_LOAD_PAGING_CMB"></select>
		<button style="float: left; height: 45px;margin-left: 5px;" class="btn btn-lg btn-primary" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_LOAD_NEXT_BBI"><i class="fas fa-chevron-right"></i></button>	
	</div>
	
	<!-- Action Buttons -->
	<!-- ================================================================================= -->
	<div class="container-fluid row">	
		<div class="col-sm-12 search-btn" style="text-align: right;">
			<button class="btn btn-secondary" type="button" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_CANCEL_CMD" title="Cancel">Cancel</button>
			<button class="btn btn-primary" type="button" id="SELECT_MODAL_ACCOUNT_ACCESS_RIGHTS_APPLY_CMD" title="OK">OK</button>
		</div>	
	</div>
	
</div>
<script type="text/javascript" src="<!--[#SITE_URL;]-->/res/import/account/access_rights/selmodal.js"></script>
