Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tugasAkhir_DwinowoMuhammad
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dwinowo Muhammad
tugasAkhir_DwinowoMuhammad
Commits
4d946df9
Commit
4d946df9
authored
Mar 25, 2022
by
Dwinowo Muhammad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Perbaikan
parent
962434e3
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1091 additions
and
108 deletions
+1091
-108
Register.java
src/main/java/com/kampus/Register.java
+90
-0
SelectedDelete.java
src/main/java/com/kampus/SelectedDelete.java
+3
-0
login.java
src/main/java/com/kampus/login.java
+28
-6
Dashboard.jsp
src/main/webapp/Dashboard.jsp
+311
-61
Edit.jsp
src/main/webapp/Edit.jsp
+23
-16
Login.jsp
src/main/webapp/Login/Login.jsp
+22
-11
RegisterUser.jsp
src/main/webapp/RegisterUser.jsp
+46
-14
web.xml
src/main/webapp/WEB-INF/web.xml
+1
-0
cssEditForm.css
src/main/webapp/cssEditForm.css
+151
-0
styles.css
src/main/webapp/styles.css
+272
-0
stylesLogin.css
src/main/webapp/stylesLogin.css
+72
-0
stylesRegister.css
src/main/webapp/stylesRegister.css
+72
-0
No files found.
src/main/java/com/kampus/Register.java
0 → 100644
View file @
4d946df9
package
com
.
kampus
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
import
java.sql.Connection
;
import
java.sql.PreparedStatement
;
import
javax.servlet.ServletException
;
import
javax.servlet.annotation.WebServlet
;
import
javax.servlet.http.HttpServlet
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
/**
* Servlet implementation class Register
*/
@WebServlet
(
"/Register"
)
public
class
Register
extends
HttpServlet
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* @see HttpServlet#HttpServlet()
*/
public
Register
()
{
super
();
// TODO Auto-generated constructor stub
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse
* response)
*/
protected
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
PrintWriter
out
=
response
.
getWriter
();
response
.
setContentType
(
"text/html;charset=UTF-8"
);
out
.
println
(
"<html>"
);
out
.
println
(
"<head>"
);
out
.
println
(
"<title> </title>"
);
out
.
println
(
"</head>"
);
out
.
println
(
"<body>"
);
out
.
println
(
"<script type=\"text/javascript\">"
);
out
.
println
(
"alert('User baru telah ditambahkan!!');"
);
out
.
println
(
"location='Login/Login.jsp';"
);
out
.
println
(
"</script>"
);
out
.
println
(
"</body>"
);
out
.
println
(
"</html>"
);
response
.
getWriter
().
append
(
"Served at: "
).
append
(
request
.
getContextPath
());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse
* response)
*/
protected
void
doPost
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
try
{
Connection
con
=
DatabaseConnection
.
initializeDatabase
();
// create sql query insert data to table
PreparedStatement
st
=
con
.
prepareStatement
(
"INSERT INTO tbl_user VALUES(?, ?, ?, ?)"
);
// for the first parameter, amgka 1 itu urutan tanda tanya diatas
st
.
setInt
(
1
,
Integer
.
valueOf
(
request
.
getParameter
(
"idBaru"
)));
st
.
setString
(
2
,
request
.
getParameter
(
"namaBaru"
));
st
.
setString
(
3
,
request
.
getParameter
(
"emailBaru"
));
st
.
setString
(
4
,
request
.
getParameter
(
"passwordBaru"
));
// Execute the insert command using executeUpdate()
st
.
executeUpdate
();
// close all connection
st
.
close
();
con
.
close
();
response
.
sendRedirect
(
"Login/Login.jsp"
);
}
catch
(
Exception
e
)
{
// TODO: handle exception
}
doGet
(
request
,
response
);
}
}
src/main/java/com/kampus/SelectedDelete.java
View file @
4d946df9
...
...
@@ -88,6 +88,9 @@ try {
response
.
sendRedirect
(
"/tugasAkhir_DwinowoMuhammad/Delete.jsp"
);
// request.getRequestDispatcher("Dashboard.jsp").forward(request, response);
// response.sendRedirect("/tugasAkhir_DwinowoMuhammad/Dashboard.jsp");
}
catch
(
Exception
e
)
{
// TODO: handle exception
}
...
...
src/main/java/com/kampus/login.java
View file @
4d946df9
package
com
.
kampus
;
import
java.io.IOException
;
import
java.io.PrintWriter
;
import
java.sql.Connection
;
import
java.sql.ResultSet
;
import
java.sql.Statement
;
import
javax.servlet.RequestDispatcher
;
import
javax.servlet.ServletException
;
import
javax.servlet.annotation.WebServlet
;
import
javax.servlet.http.HttpServlet
;
...
...
@@ -36,7 +39,20 @@ public class login extends HttpServlet {
*/
protected
void
doGet
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
// TODO Auto-generated method stub
PrintWriter
out
=
response
.
getWriter
();
response
.
setContentType
(
"text/html;charset=UTF-8"
);
out
.
println
(
"<html>"
);
out
.
println
(
"<head>"
);
out
.
println
(
"<title> </title>"
);
out
.
println
(
"</head>"
);
out
.
println
(
"<body>"
);
out
.
println
(
"<script type=\"text/javascript\">"
);
out
.
println
(
"alert('User atau password salah');"
);
out
.
println
(
"location='Login/Login.jsp';"
);
out
.
println
(
"</script>"
);
out
.
println
(
"</body>"
);
out
.
println
(
"</html>"
);
response
.
getWriter
().
append
(
"Served at: "
).
append
(
request
.
getContextPath
());
}
...
...
@@ -46,7 +62,10 @@ public class login extends HttpServlet {
*/
protected
void
doPost
(
HttpServletRequest
request
,
HttpServletResponse
response
)
throws
ServletException
,
IOException
{
response
.
setContentType
(
"text/html;charset=UTF-8"
);
try
{
...
...
@@ -68,11 +87,14 @@ public class login extends HttpServlet {
pegawaiKampus
.
setPassword
(
rs
.
getString
(
"password"
));
}
if
(
pegawaiKampus
.
getEmail
().
equals
(
emailSignIn
))
{
System
.
out
.
println
(
"Login Success"
);
if
(
pegawaiKampus
.
getEmail
().
equals
(
emailSignIn
)
&&
pegawaiKampus
.
getPassword
().
equals
(
passwordSignIn
))
{
// System.out.println("Login Success");
HttpSession
session
=
request
.
getSession
();
session
.
setAttribute
(
"nama"
,
pegawaiKampus
.
getNama
());
session
.
setAttribute
(
"email"
,
pegawaiKampus
.
getEmail
());
// request.getRequestDispatcher("Dashboard.jsp").forward(request, response);
//
...
...
@@ -81,8 +103,8 @@ public class login extends HttpServlet {
}
else
{
request
.
getRequestDispatcher
(
"/Login/Login.jsp"
).
include
(
request
,
response
);
// kasih alert pesan
//
request.getRequestDispatcher("/Login/Login.jsp").include(request, response);
}
...
...
src/main/webapp/Dashboard.jsp
View file @
4d946df9
This diff is collapsed.
Click to expand it.
src/main/webapp/Edit.jsp
View file @
4d946df9
...
...
@@ -7,12 +7,17 @@
<html>
<head>
<meta
charset=
"ISO-8859-1"
>
<link
rel=
"stylesheet"
href=
"/tugasAkhir_DwinowoMuhammad/cssEditForm.css"
>
<link
href=
'https://fonts.googleapis.com/css?family=Nunito:400,300'
rel=
'stylesheet'
type=
'text/css'
>
<title>
Insert title here
</title>
</head>
<body>
<h2
align=
"center"
>
Edit Data Mahasiswa
</h2>
<%
Mahasiswa
mahasiswa
=
(
Mahasiswa
)
request
.
getAttribute
(
"mahasiswaSelected"
);
...
...
@@ -85,19 +90,19 @@ for (int i = 0; i < arrHobi.length; i++) {
<label>
Hobi :
</label>
<input
type=
"checkbox"
name=
"berenang"
id=
"berenang"
value=
"Berenang"
<%=
renang
%>>
<label
for=
"berenang"
>
Berenang
</label>
<label
class=
"light"
for=
"berenang"
>
Berenang
</label>
<input
type=
"checkbox"
name=
"membacaBuku"
id=
"membacaBuku"
value=
"Membaca Buku"
<%=
membaca
%>>
<label
for=
"membacaBuku"
>
Membaca Buku
</label>
<label
class=
"light"
for=
"membacaBuku"
>
Membaca Buku
</label>
<input
type=
"checkbox"
name=
"futsal"
id=
"futsal"
value=
"Futsal"
<%=
futsal
%>>
<label
for=
"futsal"
>
Futsal
</label>
<label
class=
"light"
for=
"futsal"
>
Futsal
</label>
<br>
<input
type=
"checkbox"
name=
"badminton"
id=
"badminton"
value=
"Badminton"
<%=
badminton
%>>
<label
for=
"badminton"
>
Badminton
</label>
<label
class=
"light"
for=
"badminton"
>
Badminton
</label>
<input
type=
"checkbox"
name=
"lainnya"
id=
"lainnya"
value=
"Lainnya"
<%=
lainnya
%>>
<label
for=
"lainnya"
>
Lainnya
</label>
<label
class=
"light"
for=
"lainnya"
>
Lainnya
</label>
<br/>
...
...
@@ -132,28 +137,30 @@ for (int i = 0; i < arrHobi.length; i++) {
<label>
Pendidikan Terakhir :
</label>
<input
type=
"radio"
id=
"smp"
name=
"pendidikanTerakhir"
value=
"SMP"
<%=
smp
%>>
<label
for=
"smp"
>
SMP
</label>
<label
class=
"light"
for=
"smp"
>
SMP
</label>
<input
type=
"radio"
id=
"smaSederajat"
name=
"pendidikanTerakhir"
value=
"SMA/SMK/Sederajat"
<%=
smaDkk
%>>
<label
for=
"smaSederajat"
>
SMA/SMK/Sederajat
</label>
<label
class=
"light"
for=
"smaSederajat"
>
SMA/SMK/Sederajat
</label>
<br>
<input
type=
"radio"
id=
"strata1"
name=
"pendidikanTerakhir"
value=
"Strata 1"
<%=
s1
%>>
<label
for=
"strata1"
>
Strata 1
</label>
<label
class=
"light"
for=
"strata1"
>
Strata 1
</label>
<input
type=
"radio"
id=
"strata2"
name=
"pendidikanTerakhir"
value=
"Strata 2"
<%=
s2
%>>
<label
for=
"strata2"
>
Strata 2
</label>
<label
class=
"light"
for=
"strata2"
>
Strata 2
</label>
<input
type=
"radio"
id=
"strata3"
name=
"pendidikanTerakhir"
value=
"Strata 3"
<%=
s3
%>>
<label
for=
"strata3"
>
Strata 3
</label>
<label
class=
"light"
for=
"strata3"
>
Strata 3
</label>
<br/>
<br>
<label>
Alamat :
</label>
<input
type=
"text"
name=
"alamat"
value=
"
<%=
mahasiswa
.
getAlamat
()
%>
"
>
<textarea
rows=
"4"
cols=
"50"
name=
"alamat"
><%=
mahasiswa
.
getAlamat
()
%></textarea
>
<br/>
<input
type=
"hidden"
name=
"idBaru"
value=
"
<%=
mahasiswa
.
getId
()
%>
"
>
<input
type=
"submit"
value=
"Submit"
>
<input
type=
"submit"
value=
"Submit"
class=
"tombolRegister"
>
<br>
</form>
...
...
src/main/webapp/Login/Login.jsp
View file @
4d946df9
...
...
@@ -4,22 +4,33 @@
<html>
<head>
<meta
charset=
"ISO-8859-1"
>
<link
rel=
"stylesheet"
href=
"/tugasAkhir_DwinowoMuhammad/stylesLogin.css"
>
<title>
Halaman Login
</title>
</head>
<body>
<form
action=
"/tugasAkhir_DwinowoMuhammad/login"
method=
"post"
>
<label
for=
"email"
>
Email:
</label><br>
<input
type=
"email"
id=
"email"
name=
"email"
><br>
<label
for=
"password"
>
Password:
</label><br>
<input
type=
"password"
id=
"password"
name=
"password"
><br>
<br>
<input
type=
"submit"
value=
"Sign in"
>
</form>
<form
action=
"sxxxxxxxxxxxxxxxx"
method=
"post"
>
<input
type=
"submit"
value=
"Sign up"
>
</form>
<div
id=
"wrapper"
>
<div
class=
"main-content"
>
<div
class=
"header"
>
<form
action=
"/tugasAkhir_DwinowoMuhammad/login"
method=
"post"
>
<label
for=
"email"
>
Email:
</label><br>
<input
type=
"email"
id=
"email"
name=
"email"
class=
"input-1"
><br>
<label
for=
"password"
>
Password:
</label><br>
<input
type=
"password"
id=
"password"
name=
"password"
class=
"input-2"
><br>
<br>
<input
type=
"submit"
value=
"Sign in"
class=
"btnSignIn"
>
</form>
<br>
<form
action=
"/tugasAkhir_DwinowoMuhammad/RegisterUser.jsp"
method=
"post"
>
<input
type=
"submit"
value=
"Sign up"
class=
"btnSignUp"
>
</form>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
src/main/webapp/RegisterUser.jsp
View file @
4d946df9
...
...
@@ -4,42 +4,74 @@
<html>
<head>
<meta
charset=
"ISO-8859-1"
>
<link
rel=
"stylesheet"
href=
"/tugasAkhir_DwinowoMuhammad/stylesRegister.css"
>
<title>
Register Admin
</title>
</head>
<body>
<form
action=
""
method=
"post"
>
<div
id=
"wrapper"
>
<div
class=
"main-content"
>
<div
class=
"header"
>
<form
action=
"Register"
method=
"post"
>
<label>
ID
</label>
<input
type=
"text"
name=
"idBaru"
id=
"idBaru"
required=
"required"
><br/>
<input
type=
"text"
name=
"idBaru"
id=
"idBaru"
required=
"required"
class=
"input-1"
><br/>
<label>
Nama
</label>
<input
type=
"text"
name=
"namaBaru"
id=
"namaBaru"
required=
"required"
><br/>
<input
type=
"text"
name=
"namaBaru"
id=
"namaBaru"
required=
"required"
class=
"input-1"
><br/>
<label>
Email
</label>
<input
type=
"email"
name=
"emailBaru"
id=
"emailBaru"
required=
"required"
><br/>
<input
type=
"email"
name=
"emailBaru"
id=
"emailBaru"
required=
"required"
class=
"input-1"
><br/>
<label>
Password
</label>
<input
type=
"password"
name=
"passwordBaru"
id=
"password
Baru"
required=
"required"
><br/>
<input
type=
"password"
name=
"passwordBaru"
id=
"password
"
required=
"required"
class=
"input-1"
onkeyup=
'check();'
><br/>
<label>
Password Konfirmasi
</label>
<input
type=
"password"
name=
"passwordBaruKonfrm"
id=
"passwordBaruKonfrm"
required=
"required"
>
<input
type=
"submit"
value=
"Register"
>
<input
type=
"password"
name=
"passwordBaruKonfrm"
id=
"confirm_password"
required=
"required"
class=
"input-1"
onkeyup=
'check();'
>
<span
id=
'message'
></span>
<input
type=
"submit"
value=
"Register"
class=
"btnSignUp"
>
</form>
</div>
</div>
</div>
<script>
var
check
=
function
()
{
if
(
document
.
getElementById
(
'password'
).
value
==
document
.
getElementById
(
'confirm_password'
).
value
)
{
document
.
getElementById
(
'message'
).
style
.
color
=
'green'
;
document
.
getElementById
(
'message'
).
innerHTML
=
'password sama'
;
}
else
{
document
.
getElementById
(
'message'
).
style
.
color
=
'red'
;
document
.
getElementById
(
'message'
).
innerHTML
=
'tidak sama'
;
}
}
</script>
<script
type=
"text/javascript"
>
var
password
=
document
.
getElementById
(
"passwordBaru"
)
,
password_konfirmasi
=
document
.
getElementById
(
"passwordBaruKonfrm"
);
var
password
=
document
.
getElementById
(
"password"
)
,
confirm_password
=
document
.
getElementById
(
"confirm_password"
);
function
validatePassword
(){
if
(
password
.
value
!=
password_konfirmasi
.
value
)
{
password_konfirmasi
.
setCustomValidity
(
"Passwords Tidak Sama
"
);
if
(
password
.
value
!=
confirm_password
.
value
)
{
confirm_password
.
setCustomValidity
(
"password tidak sama!!
"
);
}
else
{
password_konfirmasi
.
setCustomValidity
(
''
);
confirm_password
.
setCustomValidity
(
''
);
}
}
password
.
onchange
=
validatePassword
;
konfirmasi_password
.
onkeyup
=
validatePassword
;
confirm_password
.
onkeyup
=
validatePassword
;
</script>
</body>
</html>
\ No newline at end of file
src/main/webapp/WEB-INF/web.xml
View file @
4d946df9
...
...
@@ -8,5 +8,6 @@
<welcome-file>
default.html
</welcome-file>
<welcome-file>
default.jsp
</welcome-file>
<welcome-file>
default.htm
</welcome-file>
<welcome-file>
Login.jsp
</welcome-file>
</welcome-file-list>
</web-app>
\ No newline at end of file
src/main/webapp/cssEditForm.css
0 → 100644
View file @
4d946df9
@charset
"ISO-8859-1"
;
*,
*
:before
,
*
:after
{
-moz-box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
body
{
font-family
:
'Nunito'
,
sans-serif
;
color
:
#384047
;
}
form
{
max-width
:
300px
;
margin
:
10px
auto
;
padding
:
10px
20px
;
background
:
#f4f7f8
;
border-radius
:
8px
;
}
h1
{
margin
:
0
0
30px
0
;
text-align
:
center
;
}
input
[
type
=
"text"
],
input
[
type
=
"password"
],
input
[
type
=
"date"
],
input
[
type
=
"datetime"
],
input
[
type
=
"email"
],
input
[
type
=
"number"
],
input
[
type
=
"search"
],
input
[
type
=
"tel"
],
input
[
type
=
"time"
],
input
[
type
=
"url"
],
textarea
,
select
{
background
:
rgba
(
255
,
255
,
255
,
0.1
);
border
:
none
;
font-size
:
16px
;
height
:
auto
;
margin
:
0
;
outline
:
0
;
padding
:
15px
;
width
:
100%
;
background-color
:
#e8eeef
;
color
:
#8a97a0
;
box-shadow
:
0
1px
0
rgba
(
0
,
0
,
0
,
0.03
)
inset
;
margin-bottom
:
30px
;
}
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin
:
0
4px
8px
0
;
}
select
{
padding
:
6px
;
height
:
32px
;
border-radius
:
2px
;
}
.button
{
padding
:
19px
39px
18px
39px
;
color
:
#FFF
;
background-color
:
#c94b4b
;
font-size
:
18px
;
text-align
:
center
;
font-style
:
normal
;
border-radius
:
5px
;
width
:
100%
;
border
:
1px
solid
#c13a3a
;
border-width
:
1px
1px
3px
;
box-shadow
:
0
-1px
0
rgba
(
255
,
255
,
255
,
0.1
)
inset
;
margin-bottom
:
10px
;
}
.tombolRegister
{
padding
:
19px
39px
18px
39px
;
color
:
#FFF
;
background-color
:
#4bc970
;
font-size
:
18px
;
text-align
:
center
;
font-style
:
normal
;
border-radius
:
5px
;
width
:
100%
;
border
:
1px
solid
#3ac162
;
border-width
:
1px
1px
3px
;
box-shadow
:
0
-1px
0
rgba
(
255
,
255
,
255
,
0.1
)
inset
;
margin-bottom
:
10px
;
cursor
:
pointer
;
}
.tombolReset
{
padding
:
19px
39px
18px
39px
;
color
:
#FFF
;
background-color
:
#c94b4b
;
font-size
:
18px
;
text-align
:
center
;
font-style
:
normal
;
border-radius
:
5px
;
width
:
100%
;
border
:
1px
solid
#c13a3a
;
border-width
:
1px
1px
3px
;
box-shadow
:
0
-1px
0
rgba
(
255
,
255
,
255
,
0.1
)
inset
;
margin-bottom
:
10px
;
cursor
:
pointer
;
}
fieldset
{
margin-bottom
:
30px
;
border
:
none
;
}
legend
{
font-size
:
1.4em
;
margin-bottom
:
10px
;
}
label
{
display
:
block
;
margin-bottom
:
8px
;
}
label
.light
{
font-weight
:
300
;
display
:
inline
;
}
.number
{
background-color
:
#5fcf80
;
color
:
#fff
;
height
:
30px
;
width
:
30px
;
display
:
inline-block
;
font-size
:
0.8em
;
margin-right
:
4px
;
line-height
:
30px
;
text-align
:
center
;
text-shadow
:
0
1px
0
rgba
(
255
,
255
,
255
,
0.2
);
border-radius
:
100%
;
}
@media
screen
and
(
min-width
:
480px
)
{
form
{
max-width
:
480px
;
}
}
\ No newline at end of file
src/main/webapp/styles.css
0 → 100644
View file @
4d946df9
@charset
"ISO-8859-1"
;
body
{
color
:
#566787
;
background
:
#f5f5f5
;
font-family
:
'Varela Round'
,
sans-serif
;
font-size
:
13px
;
}
.tombolEdit
{
width
:
100%
;
background-color
:
#4CAF50
;
color
:
white
;
padding
:
7px
20px
;
margin
:
3px
0
;
border
:
none
;
border-radius
:
4px
;
cursor
:
pointer
;
}
.tombolEdit
:hover
{
background-color
:
#45a049
;
}
.tombolDelete
{
width
:
100%
;
background-color
:
#af4c4c
;
color
:
white
;
padding
:
7px
20px
;
margin
:
3px
0
;
border
:
none
;
border-radius
:
4px
;
cursor
:
pointer
;
}
.tombolDelete
:hover
{
background-color
:
#a04545
;
}
.table-responsive
{
margin
:
30px
0
;
}
.table-wrapper
{
background
:
#fff
;
padding
:
20px
25px
;
border-radius
:
3px
;
min-width
:
1000px
;
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
.05
);
}
.table-title
{
padding-bottom
:
15px
;
background
:
#435d7d
;
color
:
#fff
;
padding
:
16px
30px
;
min-width
:
100%
;
margin
:
-20px
-25px
10px
;
border-radius
:
3px
3px
0
0
;
}
.table-title
h2
{
margin
:
5px
0
0
;
font-size
:
24px
;
}
.table-title
.btn-group
{
float
:
right
;
}
.table-title
.btn
{
color
:
#fff
;
float
:
right
;
font-size
:
13px
;
border
:
none
;
min-width
:
50px
;
border-radius
:
2px
;
border
:
none
;
outline
:
none
!important
;
margin-left
:
10px
;
}
.table-title
.btn
i
{
float
:
left
;
font-size
:
21px
;
margin-right
:
5px
;
}
.table-title
.btn
span
{
float
:
left
;
margin-top
:
2px
;
}
table
.table
tr
th
,
table
.table
tr
td
{
border-color
:
#e9e9e9
;
padding
:
12px
10px
;
vertical-align
:
middle
;
}
table
.table
tr
th
:first-child
{
width
:
60px
;
}
table
.table
tr
th
:last-child
{
width
:
100px
;
}
table
.table-striped
tbody
tr
:nth-of-type
(
odd
)
{
background-color
:
#fcfcfc
;
}
table
.table-striped.table-hover
tbody
tr
:hover
{
background
:
#f5f5f5
;
}
table
.table
th
i
{
font-size
:
13px
;
margin
:
0
5px
;
cursor
:
pointer
;
}
table
.table
td
:last-child
i
{
opacity
:
0.9
;
font-size
:
22px
;
margin
:
0
5px
;
}
table
.table
td
a
{
font-weight
:
bold
;
color
:
#566787
;
display
:
inline-block
;
text-decoration
:
none
;
outline
:
none
!important
;
}
table
.table
td
a
:hover
{
color
:
#2196F3
;
}
table
.table
td
a
.edit
{
color
:
#FFC107
;
}
table
.table
td
a
.delete
{
color
:
#F44336
;
}
table
.table
td
i
{
font-size
:
19px
;
}
table
.table
.avatar
{
border-radius
:
50%
;
vertical-align
:
middle
;
margin-right
:
10px
;
}
.pagination
{
float
:
right
;
margin
:
0
0
5px
;
}
.pagination
li
a
{
border
:
none
;
font-size
:
13px
;
min-width
:
30px
;
min-height
:
30px
;
color
:
#999
;
margin
:
0
2px
;
line-height
:
30px
;
border-radius
:
2px
!important
;
text-align
:
center
;
padding
:
0
6px
;
}
.pagination
li
a
:hover
{
color
:
#666
;
}
.pagination
li
.active
a
,
.pagination
li
.active
a
.page-link
{
background
:
#03A9F4
;
}
.pagination
li
.active
a
:hover
{
background
:
#0397d6
;
}
.pagination
li
.disabled
i
{
color
:
#ccc
;
}
.pagination
li
i
{
font-size
:
16px
;
padding-top
:
6px
}
.hint-text
{
float
:
left
;
margin-top
:
10px
;
font-size
:
13px
;
}
/* Custom checkbox */
.custom-checkbox
{
position
:
relative
;
}
.custom-checkbox
input
[
type
=
"checkbox"
]
{
opacity
:
0
;
position
:
absolute
;
margin
:
5px
0
0
3px
;
z-index
:
9
;
}
.custom-checkbox
label
:before
{
width
:
18px
;
height
:
18px
;
}
.custom-checkbox
label
:before
{
content
:
''
;
margin-right
:
10px
;
display
:
inline-block
;
vertical-align
:
text-top
;
background
:
white
;
border
:
1px
solid
#bbb
;
border-radius
:
2px
;
box-sizing
:
border-box
;
z-index
:
2
;
}
.custom-checkbox
input
[
type
=
"checkbox"
]
:checked
+
label
:after
{
content
:
''
;
position
:
absolute
;
left
:
6px
;
top
:
3px
;
width
:
6px
;
height
:
11px
;
border
:
solid
#000
;
border-width
:
0
3px
3px
0
;
transform
:
inherit
;
z-index
:
3
;
transform
:
rotateZ
(
45deg
);
}
.custom-checkbox
input
[
type
=
"checkbox"
]
:checked
+
label
:before
{
border-color
:
#03A9F4
;
background
:
#03A9F4
;
}
.custom-checkbox
input
[
type
=
"checkbox"
]
:checked
+
label
:after
{
border-color
:
#fff
;
}
.custom-checkbox
input
[
type
=
"checkbox"
]
:disabled
+
label
:before
{
color
:
#b8b8b8
;
cursor
:
auto
;
box-shadow
:
none
;
background
:
#ddd
;
}
/* Modal styles */
.modal
.modal-dialog
{
max-width
:
400px
;
}
.modal
.modal-header
,
.modal
.modal-body
,
.modal
.modal-footer
{
padding
:
20px
30px
;
}
.modal
.modal-content
{
border-radius
:
3px
;
font-size
:
14px
;
}
.modal
.modal-footer
{
background
:
#ecf0f1
;
border-radius
:
0
0
3px
3px
;
}
.modal
.modal-title
{
display
:
inline-block
;
}
.modal
.form-control
{
border-radius
:
2px
;
box-shadow
:
none
;
border-color
:
#dddddd
;
}
.modal
textarea
.form-control
{
resize
:
vertical
;
}
.modal
.btn
{
border-radius
:
2px
;
min-width
:
100px
;
}
.modal
form
label
{
font-weight
:
normal
;
}
\ No newline at end of file
src/main/webapp/stylesLogin.css
0 → 100644
View file @
4d946df9
@charset
"ISO-8859-1"
;
*
{
margin
:
0px
;
padding
:
0px
;
}
body
{
background-color
:
#eee
;
}
#wrapper
{
width
:
500px
;
height
:
50%
;
overflow
:
hidden
;
border
:
0px
solid
#000
;
margin
:
50px
auto
;
padding
:
10px
;
}
.main-content
{
width
:
250px
;
height
:
40%
;
margin
:
10px
auto
;
background-color
:
#fff
;
border
:
2px
solid
#e6e6e6
;
padding
:
40px
50px
;
}
.header
{
border
:
0px
solid
#000
;
margin-bottom
:
5px
;
}
.input-1
,
.input-2
{
width
:
100%
;
margin-bottom
:
5px
;
padding
:
8px
12px
;
border
:
1px
solid
#dbdbdb
;
box-sizing
:
border-box
;
border-radius
:
3px
;
}
.btnSignIn
{
width
:
100%
;
background-color
:
#3897f0
;
border
:
1px
solid
#3897f0
;
padding
:
5px
12px
;
color
:
#fff
;
font-weight
:
bold
;
cursor
:
pointer
;
border-radius
:
3px
;
}
.btnSignUp
{
width
:
100%
;
background-color
:
rgb
(
128
,
128
,
255
);
border
:
1px
solid
rgb
(
128
,
128
,
255
);
padding
:
5px
12px
;
color
:
#fff
;
font-weight
:
bold
;
cursor
:
pointer
;
border-radius
:
3px
;
}
src/main/webapp/stylesRegister.css
0 → 100644
View file @
4d946df9
@charset
"ISO-8859-1"
;
*
{
margin
:
0px
;
padding
:
0px
;
}
body
{
background-color
:
#eee
;
}
#wrapper
{
width
:
500px
;
height
:
50%
;
overflow
:
hidden
;
border
:
0px
solid
#000
;
margin
:
50px
auto
;
padding
:
10px
;
}
.main-content
{
width
:
250px
;
height
:
40%
;
margin
:
10px
auto
;
background-color
:
#fff
;
border
:
2px
solid
#e6e6e6
;
padding
:
40px
50px
;
}
.header
{
border
:
0px
solid
#000
;
margin-bottom
:
5px
;
}
.input-1
,
.input-2
{
width
:
100%
;
margin-bottom
:
5px
;
padding
:
8px
12px
;
border
:
1px
solid
#dbdbdb
;
box-sizing
:
border-box
;
border-radius
:
3px
;
}
.btnSignIn
{
width
:
100%
;
background-color
:
#3897f0
;
border
:
1px
solid
#3897f0
;
padding
:
5px
12px
;
color
:
#fff
;
font-weight
:
bold
;
cursor
:
pointer
;
border-radius
:
3px
;
}
.btnSignUp
{
width
:
100%
;
background-color
:
rgb
(
128
,
128
,
255
);
border
:
1px
solid
rgb
(
128
,
128
,
255
);
padding
:
5px
12px
;
color
:
#fff
;
font-weight
:
bold
;
cursor
:
pointer
;
border-radius
:
3px
;
}
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