aded new pages and minor changes in the head and header
authorOscar J. Rodriguez B <josuer08@gmail.com>
Thu, 19 Sep 2019 14:28:32 +0000 (10:28 -0400)
committerOscar J. Rodriguez B <josuer08@gmail.com>
Thu, 19 Sep 2019 14:28:32 +0000 (10:28 -0400)
partials/head.ejs
partials/header.ejs
src/views/access.ejs [new file with mode: 0644]
src/views/starter.ejs [new file with mode: 0644]
src/views/stats.ejs [new file with mode: 0644]
src/views/topology.ejs [new file with mode: 0644]
src/views/topologyMaker.ejs [new file with mode: 0644]

index 9a12a0d327daa5a6eff7a4dd04f55c71eb8f6b6f..280a5a99166530b4e513fee9b30e1c65164628fb 100644 (file)
@@ -1,4 +1,5 @@
 <!-- views/partials/head.ejs -->
+<meta name="viewport" content="width=device-width, initial-scale=1">
 <meta charset="UTF-8">
 <title>VSoRC</title>
 <!-- CSS (load bootstrap from a CDN) -->
@@ -68,7 +69,7 @@
     transform-origin: 4px 0px;
 
     transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
-      background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
+      background 1s cubic-bezier(0.77, 0.2, 0.05, 1.0),
       opacity 0.55s ease;
   }
 
@@ -85,7 +86,7 @@
  * into a crossmark.
  */
   #menuToggle input:checked~span:nth-last-child(4) {
-    transform: translate(-7px, 8px) rotate(-45deg) scale(0.5, 0.8);
+    transform: translate(-6px, 8px) rotate(-45deg) scale(0.4, 0.8);
     background: #ffcdcd;
   }
 
  * Ohyeah and the last one should go the other direction
  */
    #menuToggle input:checked~span:nth-last-child(2) {
-    transform: translate(-5px, -10px) rotate(45deg) scale(0.5, 0.8);
+    transform: translate(-4px, -11px) rotate(45deg) scale(0.4, 0.8);
     background: #ffcdcd;
   }
 
   }
 
   #menu li {
-    padding: 10px 0;
-    font-size: 22px;
+    padding: 0.5rem 0;
+    font-size: 1.5rem;
     color: white;
   }
 
index 8f180d9060fcd1fd310da821f33c18d4231ad21f..60da6dbb91f8c48bd666afcedadc052f25fd80d0 100644 (file)
   -->
   <ul id="menu">
     <a href="/index"><li>Salud</li></a>
-    <a href="/visualize"><li>Visualizador</li></a>
+    <a href="/topology"><li>Visualizador</li></a>
     <a href="/stats"><li>Estadisticas</li></a>
     <a href="/starter"><li>Inicializador</li></a>
-    <a href="/Access"><li>Acceso</li></a>
-    <a href="/Topology"><li>Crear topologia</li></a>
+    <a href="/access"><li>Acceso</li></a>
+    <a href="/topologyMaker"><li>Crear topologia</li></a>
     <a href="https://localhost:8080/" target="_blank"><li>Pagina local</li></a>
   </ul>
 </div>
diff --git a/src/views/access.ejs b/src/views/access.ejs
new file mode 100644 (file)
index 0000000..a160864
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+  <title></title>
+  <link rel="stylesheet" type="text/css" href="/styles/main.css" />
+  <%include ../../partials/head%>
+</head>
+
+<body>
+  <header>
+    <%include ../../partials/header%>
+  </header>
+</body>
+<footer>
+  <%include ../../partials/footer%>
+</footer>
+
+
+</html>
diff --git a/src/views/starter.ejs b/src/views/starter.ejs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/src/views/stats.ejs b/src/views/stats.ejs
new file mode 100644 (file)
index 0000000..a160864
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+  <title></title>
+  <link rel="stylesheet" type="text/css" href="/styles/main.css" />
+  <%include ../../partials/head%>
+</head>
+
+<body>
+  <header>
+    <%include ../../partials/header%>
+  </header>
+</body>
+<footer>
+  <%include ../../partials/footer%>
+</footer>
+
+
+</html>
diff --git a/src/views/topology.ejs b/src/views/topology.ejs
new file mode 100644 (file)
index 0000000..a160864
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+  <title></title>
+  <link rel="stylesheet" type="text/css" href="/styles/main.css" />
+  <%include ../../partials/head%>
+</head>
+
+<body>
+  <header>
+    <%include ../../partials/header%>
+  </header>
+</body>
+<footer>
+  <%include ../../partials/footer%>
+</footer>
+
+
+</html>
diff --git a/src/views/topologyMaker.ejs b/src/views/topologyMaker.ejs
new file mode 100644 (file)
index 0000000..a160864
--- /dev/null
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+
+<head>
+  <title></title>
+  <link rel="stylesheet" type="text/css" href="/styles/main.css" />
+  <%include ../../partials/head%>
+</head>
+
+<body>
+  <header>
+    <%include ../../partials/header%>
+  </header>
+</body>
+<footer>
+  <%include ../../partials/footer%>
+</footer>
+
+
+</html>