diff --git a/src/main/java/es/uvigo/esei/daa/LoginFilter.java b/src/main/java/es/uvigo/esei/daa/LoginFilter.java
index 6dd8ad265521e5322bce8bfcdda4f00118fad349..0e5c102da1f4f331ca42ffa84430544c1afd0e17 100644
--- a/src/main/java/es/uvigo/esei/daa/LoginFilter.java
+++ b/src/main/java/es/uvigo/esei/daa/LoginFilter.java
@@ -35,7 +35,7 @@ public class LoginFilter implements Filter {
private static final String LOGOUT_PATH = "/logout";
private static final String REST_PATH = "/rest";
private static final String[] PUBLIC_PATHS = new String[] {
- "/index.html" // Add the paths that can be publicly accessed (e.g. /js, /css...)
+ "/index.html", "/js", "/css" // Add the paths that can be publicly accessed (e.g. /images...)
};
@Override
diff --git a/src/main/webapp/css/login.css b/src/main/webapp/css/login.css
new file mode 100644
index 0000000000000000000000000000000000000000..e336712d474ccc9d6afdac46453e8fa7dbafaa7e
--- /dev/null
+++ b/src/main/webapp/css/login.css
@@ -0,0 +1,49 @@
+html, body {
+ height: 100%;
+}
+
+body {
+ display: -ms-flexbox;
+ display: -webkit-box;
+ display: flex;
+ -ms-flex-align: center;
+ -ms-flex-pack: center;
+ -webkit-box-align: center;
+ align-items: center;
+ -webkit-box-pack: center;
+ justify-content: center;
+ padding-top: 40px;
+ padding-bottom: 40px;
+ background-color: red;
+}
+
+.form-signin {
+ width: 100%;
+ max-width: 330px;
+ padding: 15px;
+ margin: 0 auto;
+}
+
+.form-signin .form-control {
+ position: relative;
+ box-sizing: border-box;
+ height: auto;
+ padding: 10px;
+ font-size: 16px;
+}
+
+.form-signin .form-control:focus {
+ z-index: 2;
+}
+
+#login {
+ margin-bottom: -1px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+#password {
+ margin-bottom: 10px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
\ No newline at end of file
diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html
index a688425bd7cdd100847d70fdf17e0ec12d227263..d372c33bef0343a86ff325a16f1f83a8a47a84b5 100644
--- a/src/main/webapp/index.html
+++ b/src/main/webapp/index.html
@@ -1,20 +1,25 @@
-
-
-DAA Example - Login
-
-
-
-
+
+
+
+
+ DAA Example - Login
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/main/webapp/js/view/people.js b/src/main/webapp/js/view/people.js
index 2c0b0e5034d04f5756eb40dc74aa71801567e763..87e7433773b3445eeb95816a13521de566d92247 100644
--- a/src/main/webapp/js/view/people.js
+++ b/src/main/webapp/js/view/people.js
@@ -124,12 +124,11 @@ var PeopleView = (function() {
var insertPeopleList = function(parent) {
parent.append(
- '\
- \
- Nombre | \
- Apellido | \
- | \
- | \
+ '\
+ \
+ Nombre | \
+ Apellido | \
+ | \
\
'
);
@@ -137,25 +136,31 @@ var PeopleView = (function() {
var insertPeopleForm = function(parent) {
parent.append(
- ''
);
};
var createPersonRow = function(person) {
- return '
\
- ' + person.name + ' | \
- ' + person.surname + ' | \
- \
- Edit\
- | \
- \
- Delete\
+ return ' |
\
+ ' + person.name + ' | \
+ ' + person.surname + ' | \
+ \
+ Editar\
+ Eliminar\
| \
';
};
diff --git a/src/main/webapp/main.html b/src/main/webapp/main.html
index 461f6e52e8f92bfc313bca30ac8b347d9122387f..d3d786f03dacd58700e5ecea82ebb399529c37ca 100644
--- a/src/main/webapp/main.html
+++ b/src/main/webapp/main.html
@@ -1,24 +1,40 @@
-
-
-DAA Example
-
-
-
+
+
+
+ DAA Example
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file