diff --git a/res/static/res/script/listmaker.js b/res/static/res/script/listmaker.js
index 4d8a00d..048c0ae 100644
--- a/res/static/res/script/listmaker.js
+++ b/res/static/res/script/listmaker.js
@@ -12,9 +12,9 @@ function createList(){
}
var url = "/api/list";
-
+
var postData = {};
-
+
var title = prompt(
"You are creating a list containing " + listfiles.length + " files.\n"
+ "What do you want to call it?", "My New Album"
@@ -29,13 +29,13 @@ function createList(){
"description": "yo",
"files": new Array()
};
-
+
for (var i = 0; i < listfiles.length; i++) {
postData.files.push({
"id": listfiles[i]
});
}
-
+
$.ajax({
url: url,
contentType: "application/json",
@@ -53,9 +53,9 @@ function listCreated(response){
+ "Your List URL:
"
+ ""+window.location.hostname+"/l/" + response.id + ""
+ "";
-
+
$('#uploads_queue').prepend(
- $(resultString).hide().fadeIn('slow')
+ $(resultString).hide().fadeIn('slow').css("display", "")
);
window.open('/l/'+response.id, '_blank');
}else{
@@ -63,9 +63,9 @@ function listCreated(response){
+ "The server responded with this:
"
+ response.type + ": " + response.value
+ "";
-
+
$('#uploads_queue').prepend(
- $(resultString).hide().fadeIn('slow')
+ $(resultString).hide().fadeIn('slow').css("display", "")
);
}
}
@@ -74,9 +74,9 @@ function listCreated(response){
// var fileDesc = $("#txtListDesc").val();
//
// addToList(fileId, fileDesc);
-//
+//
// divItems.prepend("ID: " + fileId + "
Description:
" + fileDesc + "
");
-//
+//
// $("#txtListId").val("");
// $("#txtListDesc").val("");
-//});
\ No newline at end of file
+//});
diff --git a/res/static/res/style/layout.css b/res/static/res/style/layout.css
index 1852d25..40b4fee 100644
--- a/res/static/res/style/layout.css
+++ b/res/static/res/style/layout.css
@@ -133,14 +133,8 @@ hr{
::-webkit-scrollbar-thumb {background-color: #555;}
::-webkit-scrollbar-corner{background: transparent;}
-a{
- color: var(--highlight_color);
- text-decoration: none;
-}
-a:hover{
- text-decoration: underline;
- color: var(--highlight_color);
-}
+a {color: var(--highlight_color); text-decoration: none;}
+a:hover {color: var(--highlight_color); text-decoration: underline;}
.form{
margin-left: auto;
@@ -243,10 +237,13 @@ pre{
/* BUTTONS */
button,
+.button,
input[type="submit"],
input[type="button"],
input[type="color"],
select{
+ display: inline-block;
+ box-sizing: border-box;
border-radius: 4px;
border: none;
margin: 2px;
@@ -254,24 +251,33 @@ select{
padding: 6px 10px 6px 10px;
box-shadow: 2px 2px 8px #000000;
font-weight: bold;
+ font-size: 0.85em;
+ line-height: 1;
+ text-decoration: none;
color: #FFFFFF;
outline: 0;
vertical-align: middle;
cursor: pointer;
+
}
button:hover,
+.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="color"]:hover,
select:hover,
button:focus,
+.button:focus,
input[type="submit"]:focus,
input[type="button"]:focus,
input[type="color"]:focus,
select:focus{
+ color: #FFFFFF;
+ text-decoration: none;
box-shadow: var(--highlight_border), 2px 2px 8px #000000;
}
button:active,
+.button:active,
input[type="submit"]:active,
input[type="button"]:active,
input[type="color"]:active,
@@ -291,6 +297,7 @@ option{background-color: #404040; color: #FFFFFF;}
/* TEXT FIELDS */
textarea,
+.groove,
input[type="text"],
input[type="password"],
input[type="email"],
diff --git a/res/template/account/file_manager.html b/res/template/account/file_manager.html
index cd351f1..ab417fe 100644
--- a/res/template/account/file_manager.html
+++ b/res/template/account/file_manager.html
@@ -3,20 +3,63 @@