143 lines
7.3 KiB
Plaintext
143 lines
7.3 KiB
Plaintext
@*
|
|
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
|
|
*@
|
|
@{
|
|
Layout = "_LooperLayout";
|
|
}
|
|
@section Script {
|
|
<script src="~/assets/vendor/datatables.net/js/jquery.dataTables.min.js"></script>
|
|
<script src="~/assets/vendor/datatables.net-responsive/js/dataTables.responsive.min.js"></script>
|
|
<script src="~/assets/vendor/datatables.net-responsive-bs4/js/responsive.bootstrap4.min.js"></script>
|
|
<script src="~/assets/javascript/pages/dataTables.bootstrap.js"></script>
|
|
<script src="~/assets/javascript/custom/projectlist.js" asp-append-version="true"></script>
|
|
}
|
|
|
|
<!-- .page-inner -->
|
|
<div class="page-inner">
|
|
<!-- .page-title-bar -->
|
|
<header class="page-title-bar">
|
|
<!-- .breadcrumb -->
|
|
<nav aria-label="breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li class="breadcrumb-item active">
|
|
<a href="#"><i class="breadcrumb-icon fa fa-angle-left mr-2"></i>專案清單</a>
|
|
</li>
|
|
</ol>
|
|
</nav><!-- /.breadcrumb -->
|
|
<!-- title -->
|
|
<h1 class="page-title"> 專案清單 </h1>
|
|
<p class="text-muted"> </p><!-- /title -->
|
|
</header><!-- /.page-title-bar -->
|
|
<!-- .page-section -->
|
|
<div class="page-section">
|
|
<button type="button" id="projectNewModal" class="btn btn-primary btn-floated position-absolute" title="Add new client"><i class="fa fa-plus"></i></button>
|
|
<!-- .card -->
|
|
<div class="card card-fluid">
|
|
<!-- .card-body -->
|
|
<div class="card-body">
|
|
<!-- .table -->
|
|
<table id="dt-responsive" class="table dt-responsive nowrap w-100">
|
|
<thead>
|
|
<tr>
|
|
<th> 年度 </th>
|
|
<th> 案號 </th>
|
|
<th> 專案名稱 </th>
|
|
<th> 狀態 </th>
|
|
<th> 合作對象 </th>
|
|
<th> 資料異動時間 </th>
|
|
<th> </th>
|
|
</tr>
|
|
</thead>
|
|
|
|
</table><!-- /.table -->
|
|
</div><!-- /.card-body -->
|
|
</div><!-- /.card -->
|
|
</div><!-- /.page-section -->
|
|
</div><!-- /.page-inner -->
|
|
<!-- Keep in mind that modals should be placed outsite of page sidebar -->
|
|
<!-- .modal -->
|
|
<form id="clientNewForm" name="clientNewForm">
|
|
<div class="modal fade" id="clientNewModal" tabindex="-1" role="dialog" aria-labelledby="clientNewModalLabel" data-backdrop="static"
|
|
data-keyboard="false" aria-hidden="true">
|
|
<!-- .modal-dialog -->
|
|
<div class="modal-dialog modal-lg" role="document">
|
|
<!-- .modal-content -->
|
|
<div class="modal-content">
|
|
<!-- .modal-header -->
|
|
<div class="modal-header">
|
|
<h6 id="clientNewModalLabel" class="modal-title inline-editable">
|
|
<span class="sr-only">Client name</span> <input id="modelTitle" type="text" class="form-control form-control-lg" placeholder="專案資料維護" required="">
|
|
</h6>
|
|
<button type="button" class="close" data-dismiss="modal">
|
|
<span aria-hidden="true">×</span><span class="sr-only">Close</span>
|
|
</button>
|
|
</div><!-- /.modal-header -->
|
|
<!-- .modal-body -->
|
|
<div class="modal-body">
|
|
<input type="hidden" id="method" />
|
|
<input type="hidden" id="project_uid" />
|
|
<!-- .form-row -->
|
|
<div class="form-row">
|
|
|
|
<div class="col-md-12" id="user_name_div">
|
|
<div class="form-group">
|
|
<label class="d-block">狀態</label>
|
|
<div class="custom-control custom-control-inline custom-radio">
|
|
<input type="radio" class="custom-control-input" name="project_isExec[]" id="rd1" value="yes"> <label class="custom-control-label" for="rd1"> 已執行</label>
|
|
</div>
|
|
<div class="custom-control custom-control-inline custom-radio">
|
|
<input type="radio" class="custom-control-input" name="project_isExec[]" id="rd2" value="no"> <label class="custom-control-label" for="rd2"> 僅提案</label>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12" id="prm_project_serial">
|
|
<!-- .form-group -->
|
|
<div class="form-group">
|
|
<label class="control-label" for="select2-data-remote">PRM專案名稱</label> <select id="select2-data-remote" class="form-control">
|
|
</select>
|
|
</div><!-- /.form-group -->
|
|
<div class="form-group" id="file_div">
|
|
<label for="project_file">報價單下載 </label>
|
|
<a href="#" class="btn btn-danger" target="_blank" id="fileUrl">Go somewhere</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-12" id="project_year_month_div">
|
|
<div class="row">
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
<label for="project_year">年度</label>
|
|
<select class="custom-select" id="project_year" required="">
|
|
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<div class="form-group">
|
|
<label for="project_month">月份</label>
|
|
<select class="custom-select" id="project_month" required="">
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-12" id="project_name_div">
|
|
<div class="form-group">
|
|
<label for="project_name">專案名稱</label> <input type="text" id="project_name" class="form-control">
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div><!-- /.form-row -->
|
|
|
|
|
|
</div><!-- /.modal-body -->
|
|
<!-- .modal-footer -->
|
|
<div class="modal-footer">
|
|
<button type="button" id="projectSaveBtn" class="btn btn-primary">儲存</button> <button id="closeBtn" type="button" class="btn btn-light" data-dismiss="modal">關閉</button>
|
|
</div><!-- /.modal-footer -->
|
|
</div><!-- /.modal-content -->
|
|
</div><!-- /.modal-dialog -->
|
|
</div>
|
|
</form><!-- /.modal --> |