Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
QLNS_N01
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyễn Văn Hiếu
QLNS_N01
Commits
da63ca98
Commit
da63ca98
authored
Jun 07, 2019
by
Phạm Duy Phi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
5472d4a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
47 deletions
+22
-47
src/main/resources/public/pages/timesheet/timesheet.html
src/main/resources/public/pages/timesheet/timesheet.html
+22
-47
No files found.
src/main/resources/public/pages/timesheet/timesheet.html
View file @
da63ca98
...
...
@@ -5,9 +5,11 @@
<title>
Time Sheet
</title>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<script
src=
"//unpkg.com/@uirouter/angularjs/release/angular-ui-router.min.js"
></script>
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity=
"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin=
"anonymous"
></script>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
<!-- <script src="../../js/angular.js"></script>-->
<script
src=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity=
"sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin=
"anonymous"
></script>
<link
rel=
"stylesheet"
href=
"https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity=
"sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin=
"anonymous"
>
<script
src=
"https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"
></script>
<script
src=
"timesheetController.js"
></script>
...
...
@@ -15,55 +17,28 @@
<body>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-8"
>
<div>
<legend>
Create Time Sheet
</legend>
<table>
<tr>
<td><label>
Title
</label></td>
<td>
<input
type=
"text"
maxlength=
"29"
ng-model=
"ts.title"
/>
</td>
</tr>
<tr>
<td><label>
Content
</label></td>
<td>
<input
type=
"text"
maxlength=
"29"
ng-model=
"ts.content"
/>
</td>
</tr>
<tr>
<td><label>
Note
</label></td>
<td>
<input
type=
"text"
maxlength=
"29"
ng-model=
"ts.note"
/>
</td>
</tr>
</table>
</div>
<div
class=
"col-md-12"
>
<div>
<table
class=
"table"
>
<thead>
<tr>
<th>
ID
</th>
<th>
Title
</th>
<th>
Content
</th>
<th>
Note
</th>
<th>
Employee
</th>
<th>
Create at
</th>
</tr>
<tr>
<th>
ID
</th>
<th>
Title
</th>
<th>
Content
</th>
<th>
Note
</th>
<th>
Employee
</th>
<th>
Create at
</th>
</tr>
</thead>
<tbody>
<tr
class=
"vide"
ng-repeat=
"timesheet in timesheets"
>
<td>
{{$index + 1}}
</td>
<td>
{{timesheet.title}}
</td>
<td>
{{timesheet.content}}
</td>
<td>
{{timesheet.note}}
</td>
<td>
{{timesheet.eproject.name}}
</td>
<td>
{{timesheet.createAt}}
</td>
<!-- <td><a href="#" ng-click="update(emp);">Update</a>-->
<!-- <td><a href="#" confirmed-click="delete(employee);" ng-confirm-click=" Do you want to delete this user?">Delete</a></td>-->
</tr>
<tr
class=
"vide"
ng-repeat=
"timesheet in timesheets"
>
<td>
{{$index + 1}}
</td>
<td>
{{timesheet.title}}
</td>
<td>
{{timesheet.content}}
</td>
<td>
{{timesheet.note}}
</td>
<td>
{{timesheet.eproject.project.name}}
</td>
<td>
{{timesheet.createdAt}}
</td>
</tr>
</tbody>
</table>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment