229 lines
11 KiB
Plaintext
229 lines
11 KiB
Plaintext
<%@page language="java" contentType="text/html;charset=utf-8" pageEncoding="UTF-8" %>
|
|
|
|
<div ng-controller="ENDR200Controller" class="skin-black">
|
|
|
|
<jsp:include page="TOP_MENU.jsp"/>
|
|
|
|
<div class="wrapper row-offcanvas row-offcanvas-left">
|
|
<!-- Left side column. contains the logo and sidebar -->
|
|
<jsp:include page="LEFT_MENU.jsp"/>
|
|
|
|
<!-- Right side column. Contains the navbar and content of the page -->
|
|
<aside class="right-side">
|
|
<section class="content">
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<div class="panel">
|
|
<header class="panel-heading">
|
|
สิทธิ์การใช้งาน
|
|
</header>
|
|
<div class="panel-body table-responsive">
|
|
<form novalidate name="searchForm" class="search-form">
|
|
<fieldset>
|
|
<table width="98%;">
|
|
<tbody>
|
|
<tr>
|
|
<td width="19%;" valign="middle">User ID</td>
|
|
<td width="17%;">
|
|
<div class="controls form-inline">
|
|
<input
|
|
id="userId"
|
|
name="userId"
|
|
ng-model="schForm.userId"
|
|
type="text"
|
|
class="form-control input-sm"
|
|
style="width: 92px;"
|
|
/>
|
|
</div>
|
|
</td>
|
|
|
|
<td width="10%;" align="right" valign="middle">First Name : </td>
|
|
<td width="8%;">
|
|
<div class="controls form-inline">
|
|
<input
|
|
id="firstName"
|
|
name="firstName"
|
|
ng-model="schForm.firstname"
|
|
type="text"
|
|
class="form-control input-sm"
|
|
style="width: 92px;"
|
|
/>
|
|
<%--<span style="color: #ff0000;" ng-show="searchForm.approveDate.$error.mask">Invalid Date</span>--%>
|
|
</div>
|
|
</td>
|
|
|
|
<td width="8%;" align="right" valign="middle">Last Name : </td>
|
|
<td width="8%;">
|
|
<div class="controls form-inline">
|
|
<input
|
|
id="lastName"
|
|
name="lastName"
|
|
ng-model="schForm.lastname"
|
|
type="text"
|
|
class="form-control input-sm"
|
|
style="width: 92px;"
|
|
/>
|
|
</div>
|
|
</td>
|
|
|
|
<td width="12%;">
|
|
<input type="button" ng-click="doSearch(searchForm)" class="btn btn-info btn-sm" style="width: 55px; height: 30px;" value="Search"/>
|
|
<input type="button" ng-click="doClearSch(searchForm)" class="btn btn-warning" style="width: 60px; height: 30px;" value="Cancel"/>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
<br ng-show="userLst.length==0"/>
|
|
</fieldset>
|
|
</form>
|
|
|
|
|
|
|
|
<fieldset>
|
|
<%--// Top page--%>
|
|
<div ng-show="userLst.length > 0"> <!-- total-items="totalItems1" max-size="maxSize" num-pages="40"-->
|
|
<pagination total-items="totalItems1" ng-model="currentPage1" items-per-page="perPages"
|
|
max-size="maxSize" class="pagination-sm"
|
|
boundary-links="true" rotate="false"
|
|
>
|
|
</pagination>
|
|
</div>
|
|
<%--// End Top page--%>
|
|
|
|
<table class="table table-hover" width="97%">
|
|
<%--<table border="0" cellpadding="0" cellspacing="0" class="tableresult" width="100%">--%>
|
|
|
|
<th width="5%;">
|
|
<div align="center">
|
|
<label style="cursor: pointer;">
|
|
<input
|
|
type="checkbox"
|
|
id="selectAll"
|
|
name="selectAll"
|
|
ng-model="selectAll"
|
|
ng-false-value="0"
|
|
ng-true-value="1"
|
|
ng-change="doSelectAll();"
|
|
style="min-width: 15px; min-height: 15px;"
|
|
ng-checked="selectAll==1"
|
|
>
|
|
</label>
|
|
</div>
|
|
</th>
|
|
<th width="5%;"><div align="center">No</div></th>
|
|
<th width="15%;"><div align="center">User ID</div></th>
|
|
<th width="10%;"><div align="center">First Name</div></th>
|
|
<th width="30%;"><div align="center">Last Name</div></th>
|
|
<th width="10%;"><div align="center">TEL</div></th>
|
|
<th width="10%;"><div align="center">OPER</div></th>
|
|
|
|
<tr ng-show="userLst.length==0">
|
|
<td style="color: red" colspan="9" align="center">{{dataNotFound}}</td>
|
|
</tr>
|
|
|
|
<tbody ng-show="userLst.length!=0" ng-repeat="i in userLst | slices:((currentPage1-1) * perPages):(((currentPage1-1) * perPages)+perPages) track by $index">
|
|
<tr>
|
|
<td height="30px;">
|
|
<div style="cursor: pointer" align="center">
|
|
<label>
|
|
<input
|
|
type="checkbox"
|
|
id="selectFlag"
|
|
name="selectFlag"
|
|
ng-model="i.selectFlag"
|
|
ng-click="toggleSelect(i.taskId);"
|
|
style="min-width: 15px; min-height: 15px;"
|
|
ng-checked="i.selectFlag==1"
|
|
ng-false-value="0"
|
|
ng-true-value="1"
|
|
>
|
|
</label>
|
|
</div>
|
|
</td>
|
|
<td align="right">{{((currentPage1-1)*perPages)+$index+1}}</td>
|
|
<td align="center">{{i.userId}}</td>
|
|
<td align="center">{{i.firstname}}</td>
|
|
<td>{{i.endrCode}} {{i.lastname}}</td>
|
|
<td align="center">{{i.tel}}</td>
|
|
<td align="center">{{i.operId}}</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%--// down page--%>
|
|
<div ng-show="userLst.length > 0"> <!-- total-items="totalItems1" max-size="maxSize" num-pages="40"-->
|
|
<pagination total-items="totalItems1" ng-model="currentPage1" items-per-page="perPages"
|
|
max-size="maxSize" class="pagination-sm"
|
|
boundary-links="true" rotate="false"
|
|
>
|
|
</pagination>
|
|
</div>
|
|
<%--// End down page--%>
|
|
|
|
</fieldset>
|
|
|
|
<%--<form novalidate name="printForm" class="print-form">--%>
|
|
<%--<fieldset>--%>
|
|
<%--<%–<br/>–%>--%>
|
|
<%--<table width="97%;" class="table">--%>
|
|
<%--<tbody>--%>
|
|
<%--<tr>--%>
|
|
<%--<td width="70%;" valign="middle">--%>
|
|
<%--<div class="controls form-inline">--%>
|
|
<%--เลือกเครื่องพิมพ์ <em style="color: #e40000">*</em> --%>
|
|
|
|
<%--<select id="serverId"--%>
|
|
<%--name="serverId"--%>
|
|
<%--ng-model="pntForm.serverId"--%>
|
|
<%--class="form-control input-sm"--%>
|
|
<%--style="width: auto; height: 30px;"--%>
|
|
<%--placeholder="Select serverId"--%>
|
|
<%--ng-required="true"--%>
|
|
<%-->--%>
|
|
<%--<option ng-selected="pntForm.serverId==''" value="">SELECT PRINTER</option>--%>
|
|
<%--<option ng-selected="pntForm.serverId==i.serverId" ng-repeat="i in printerLst track by $index" value="{{i.serverId}}">{{i.serverName}}</option>--%>
|
|
<%--</select>--%>
|
|
<%--<span ng-show="msgErrorPrint=='0' && printForm.serverId.$error.required" style="color: #e40000">Required !!!</span>--%>
|
|
|
|
<%-- --%>
|
|
<%--<input type="button" ng-click="doPrint(printForm)" class="btn btn-info btn-sm" style="width: 70px; height: 30px;" value="Print"/>--%>
|
|
|
|
<%--<%–<input type="button" ng-click="doClearPnt(printForm)" class="btn btn-warning" style="width: 70px; height: 30px;" value="Cancel"/>–%>--%>
|
|
<%--</div>--%>
|
|
<%--</td>--%>
|
|
<%--<td width="30%;" valign="middle">--%>
|
|
<%--<div class="controls form-inline">--%>
|
|
<%--<div align="right">--%>
|
|
<%--<input type="button" ng-click="doRejectPrint();" class="btn btn-danger btn-sm" style="width: 70px; height: 30px;" value="Reject"/>--%>
|
|
<%--</div>--%>
|
|
<%--</div>--%>
|
|
<%--</td>--%>
|
|
<%--</tr>--%>
|
|
<%--</tbody>--%>
|
|
<%--</table>--%>
|
|
<%--</fieldset>--%>
|
|
<%--</form>--%>
|
|
|
|
</div><!-- /.box-body -->
|
|
</div><!-- /.box -->
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<footer style="width:100%;
|
|
height:30px;
|
|
position:fixed;
|
|
bottom:0;
|
|
left:0;
|
|
background:#aaaaaa;
|
|
text-align: center;
|
|
border-top: 1px solid #aaaaaa;
|
|
padding-top: 5px;
|
|
color: #f012be;
|
|
">
|
|
Copyright © Director, 2015 by PRINT ENDR
|
|
</footer>
|
|
</aside><!-- /.right-side -->
|
|
</div>
|
|
|
|
</div> |