diff --git a/Webpage/index.html b/Webpage/index.html index 6e49b6c..19f8ec6 100644 --- a/Webpage/index.html +++ b/Webpage/index.html @@ -16,7 +16,6 @@ } function localSet(key, val){ - localStorage.setItem(key, JSON.stringify(val)); } @@ -28,14 +27,14 @@ function documentExists(id){ var docsList = localGet("DOCUMENTS_MANIFEST"); return docsList.includes(id); - // Array#includes seems to be compatible with mobile device browsers } function writeDocument(id, name, paths, undone){ var obj = { name: name, paths: paths, - undone: undone + undone: undone, + time: (new Date()).toLocaleString() }; localSet(id, obj); @@ -54,6 +53,10 @@ window.location.href = window.location.origin + "/?" + id; } + function goBack(){ + window.location.href = window.location.origin; + } + -
SAVE IT v.2.1325
- + + +
+ @@ -307,9 +310,9 @@
-
Testing
-
+
+
diff --git a/Webpage/style.css b/Webpage/style.css index f9db0c9..10e425a 100644 --- a/Webpage/style.css +++ b/Webpage/style.css @@ -1,4 +1,45 @@ button { height: 50px; - width: 100px; + width: 20%; + float:left; + margin-bottom:10px; } + +.toolbar { + width:100%; + background-color:red; + padding:10px; +} +ul { + list-style-type: none; + margin: 0; + padding: 0; + overflow: hidden; + background-color: #333; +} + +li { + float: left; +} +li b { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} +li a { + display: block; + color: white; + text-align: center; + padding: 14px 16px; + text-decoration: none; +} + +a:hover:not(.active) { + background-color: #111; +} + +.active { +background-color:#4CAF50; +} \ No newline at end of file