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
94773722
Commit
94773722
authored
Jun 12, 2019
by
đinh thị đầm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commit
parent
2f868f5c
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
59 additions
and
39 deletions
+59
-39
src/main/resources/public/404.html
src/main/resources/public/404.html
+1
-1
src/main/resources/public/blank-page.html
src/main/resources/public/blank-page.html
+1
-1
src/main/resources/public/buttons.html
src/main/resources/public/buttons.html
+1
-1
src/main/resources/public/charts.html
src/main/resources/public/charts.html
+1
-1
src/main/resources/public/compose.html
src/main/resources/public/compose.html
+1
-1
src/main/resources/public/css/style.css
src/main/resources/public/css/style.css
+8
-1
src/main/resources/public/forms.html
src/main/resources/public/forms.html
+1
-1
src/main/resources/public/general.html
src/main/resources/public/general.html
+1
-1
src/main/resources/public/grids.html
src/main/resources/public/grids.html
+1
-1
src/main/resources/public/icons.html
src/main/resources/public/icons.html
+1
-1
src/main/resources/public/inbox.html
src/main/resources/public/inbox.html
+1
-1
src/main/resources/public/index.html
src/main/resources/public/index.html
+2
-1
src/main/resources/public/js/app.js
src/main/resources/public/js/app.js
+12
-1
src/main/resources/public/login.html
src/main/resources/public/login.html
+1
-1
src/main/resources/public/media.html
src/main/resources/public/media.html
+1
-1
src/main/resources/public/pages/employee/employee.html
src/main/resources/public/pages/employee/employee.html
+1
-1
src/main/resources/public/pages/employee/employeeController.js
...ain/resources/public/pages/employee/employeeController.js
+19
-18
src/main/resources/public/signup.html
src/main/resources/public/signup.html
+1
-1
src/main/resources/public/tables.html
src/main/resources/public/tables.html
+1
-1
src/main/resources/public/typography.html
src/main/resources/public/typography.html
+1
-1
src/main/resources/public/validation.html
src/main/resources/public/validation.html
+1
-1
src/main/resources/public/widgets.html
src/main/resources/public/widgets.html
+1
-1
No files found.
src/main/resources/public/404.html
View file @
94773722
...
...
@@ -411,7 +411,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<!--//scrolling js-->
<!-- Bootstrap Core JavaScript -->
<script
src=
"js/bootstrap.js"
>
</script>
<script
src=
"js/bootstrap.js"
></script>
</body>
</html>
\ No newline at end of file
src/main/resources/public/blank-page.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/buttons.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/charts.html
View file @
94773722
...
...
@@ -77,7 +77,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/compose.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/css/style.css
View file @
94773722
...
...
@@ -8465,6 +8465,13 @@ h4.asd label {
}
}
/*--//responsive-design---*/
table
{
border-collapse
:
collapse
;
font-family
:
sans-serif
;
text-align
:
center
;
}
.table
>
thead
>
tr
>
th
{
text-align
:
center
;
}
\ No newline at end of file
src/main/resources/public/forms.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/general.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/grids.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/icons.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/inbox.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/index.html
View file @
94773722
...
...
@@ -54,6 +54,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<script
src=
"js/ui-bootstrap-tpls-0.3.0.min.js"
></script>
<script
src=
"js/dirPagination.js"
></script>
<script
src=
"js/ui-bootstrap-tpls-0.3.0.min.js"
></script>
<!-- end anguarjs app-->
<link
href=
"css/custom.css"
rel=
"stylesheet"
>
<!--//Metis Menu -->
...
...
@@ -140,7 +141,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/js/app.js
View file @
94773722
/**
*
*/
angular
.
module
(
"
myApp
"
,
[
'
ui.router
'
,
'
ui.bootstrap
'
]).
config
(
function
(
$stateProvider
,
$urlRouterProvider
,
$locationProvider
)
{
angular
.
module
(
"
myApp
"
,
[
'
ui.router
'
]).
config
(
function
(
$stateProvider
,
$urlRouterProvider
,
$locationProvider
)
{
$locationProvider
.
hashPrefix
(
''
);
$urlRouterProvider
.
otherwise
(
"
/employees
"
);
...
...
@@ -31,6 +31,17 @@ angular.module("myApp", ['ui.router','ui.bootstrap']).config(function ($statePro
}
})
.
state
(
'
login
'
,
{
url
:
'
/login
'
,
templateUrl
:
'
pages/login/login.html
'
,
controller
:
'
LoginController
'
})
.
state
(
'
home
'
,
{
url
:
'
/home
'
,
templateUrl
:
'
pages/login/home.html
'
,
controller
:
'
HomeController
'
});
});
src/main/resources/public/login.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/media.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/pages/employee/employee.html
View file @
94773722
...
...
@@ -6,7 +6,7 @@
<td><a
class=
"btn btn-info"
href=
"#"
ui-sref=
"createEmployee"
>
Add
</a></td>
</tr>
<table
class=
"table"
>
<table
class=
"table"
border=
"1"
>
<thead>
<tr>
<tr>
...
...
src/main/resources/public/pages/employee/employeeController.js
View file @
94773722
...
...
@@ -81,6 +81,7 @@ angular.module("myApp").controller("employeeController", function ($scope, $http
},
function
errorCallback
(
response
)
{
console
.
log
(
response
)
});
// $scope.reload = reload;
// function reload() {
// $http.get("http://localhost:8081/employees")
...
...
@@ -95,24 +96,24 @@ angular.module("myApp").controller("employeeController", function ($scope, $http
// $scope.curPage = 1,
$scope
.
curPage
=
1
,
$scope
.
itemsPerPage
=
3
,
$scope
.
maxSize
=
5
;
this
.
emp
=
$scope
.
emp
;
$scope
.
numOfPages
=
function
()
{
return
Math
.
ceil
(
$scope
.
emp
.
length
/
$scope
.
itemsPerPage
);
};
$scope
.
$watch
(
'
curPage + numPerPage
'
,
function
()
{
var
begin
=
((
$scope
.
curPage
-
1
)
*
$scope
.
itemsPerPage
),
end
=
begin
+
$scope
.
itemsPerPage
;
$scope
.
employess
=
$scope
.
emp
.
slice
(
begin
,
end
);
});
//
$scope.curPage = 1,
//
$scope.itemsPerPage = 3,
//
$scope.maxSize = 5;
//
//
this.emp = $scope.emp;
//
//
//
$scope.numOfPages = function () {
//
return Math.ceil($scope.emp.length / $scope.itemsPerPage);
//
//
};
//
//
$scope.$watch('curPage + numPerPage', function() {
//
var begin = (($scope.curPage - 1) * $scope.itemsPerPage),
//
end = begin + $scope.itemsPerPage;
//
//
$scope.employess = $scope.emp.slice(begin, end);
//
});
...
...
src/main/resources/public/signup.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/tables.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/typography.html
View file @
94773722
...
...
@@ -63,7 +63,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/validation.html
View file @
94773722
...
...
@@ -64,7 +64,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
src/main/resources/public/widgets.html
View file @
94773722
...
...
@@ -67,7 +67,7 @@ SmartPhone Compatible web template, free WebDesigns for Nokia, Samsung, LG, Sony
<li
class=
"header"
>
MAIN NAVIGATION
</li>
<li
class=
"treeview"
>
<a
href=
"index.html"
>
<i
class=
"fa fa-dashboard"
></i>
<span>
Dashboard
</span>
<i
class=
"fa fa-dashboard"
></i>
<span>
Employee
</span>
</a>
</li>
<li
class=
"treeview"
>
...
...
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