* Fixed a bug in tools/anvil-update-states that was causing deleted interfaces to update the network_interfaces every pass, growing the DB excessively.
* Cleaned up the file manager; ** Got the jquery file uploader JS to be sane and altered it to be more useful. ** Got the list of existing files to be displayed (links clickable but not working yet). Signed-off-by: Digimer <digimer@alteeve.ca>main
parent
7d3c4371c7
commit
ea84ba68eb
12 changed files with 675 additions and 142 deletions
@ -1,147 +1,149 @@ |
|||||||
/* From: http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css */ |
/* From: http://hayageek.github.io/jQuery-Upload-File/4.0.11/uploadfile.css */ |
||||||
|
|
||||||
.ajax-file-upload-statusbar { |
.ajax-file-upload-statusbar { |
||||||
border: 1px solid #0ba1b5; |
border: 1px solid #0ba1b5; |
||||||
margin-top: 10px; |
margin-top: 10px; |
||||||
width: 420px; |
width: 420px; |
||||||
margin-right: 10px; |
margin-right: 10px; |
||||||
margin: 5px; |
margin: 5px; |
||||||
-moz-border-radius: 4px; |
-moz-border-radius: 4px; |
||||||
-webkit-border-radius: 4px; |
-webkit-border-radius: 4px; |
||||||
border-radius: 4px; |
border-radius: 4px; |
||||||
padding: 5px 5px 5px 15px |
padding: 5px 5px 5px 15px |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload-filename { |
.ajax-file-upload-filename { |
||||||
width: 300px; |
width: 300px; |
||||||
height: auto; |
height: auto; |
||||||
margin: 0 5px 5px 0px; |
margin: 0 5px 5px 0px; |
||||||
|
|
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload-filesize { |
.ajax-file-upload-filesize { |
||||||
width: 50px; |
width: 50px; |
||||||
height: auto; |
height: auto; |
||||||
margin: 0 5px 5px 0px; |
margin: 0 5px 5px 0px; |
||||||
display: inline-block; |
display: inline-block; |
||||||
vertical-align:middle; |
vertical-align: middle; |
||||||
} |
} |
||||||
.ajax-file-upload-progress { |
.ajax-file-upload-progress { |
||||||
margin: 5px 10px 5px 0px; |
margin: 5px 10px 5px 0px; |
||||||
position: relative; |
position: relative; |
||||||
width: 250px; |
width: 250px; |
||||||
border: 1px solid #ddd; |
border: 1px solid #ddd; |
||||||
padding: 1px; |
padding: 1px; |
||||||
border-radius: 3px; |
border-radius: 3px; |
||||||
display: inline-block; |
display: inline-block; |
||||||
color:#FFFFFF; |
color: #FFFFFF; |
||||||
|
|
||||||
} |
} |
||||||
.ajax-file-upload-bar { |
|
||||||
background-color: #0ba1b5; |
|
||||||
width: 0; |
|
||||||
height: 20px; |
|
||||||
border-radius: 3px; |
|
||||||
color:#FFFFFF; |
|
||||||
|
|
||||||
|
.ajax-file-upload-bar { |
||||||
|
background-color: #0ba1b5; |
||||||
|
width: 0; |
||||||
|
height: 20px; |
||||||
|
border-radius: 3px; |
||||||
|
color: #FFFFFF; |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload-percent { |
.ajax-file-upload-percent { |
||||||
position: absolute; |
position: absolute; |
||||||
display: inline-block; |
display: inline-block; |
||||||
top: 3px; |
top: 3px; |
||||||
left: 48% |
left: 48% |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload-red { |
.ajax-file-upload-red { |
||||||
-moz-box-shadow: inset 0 39px 0 -24px #e67a73; |
-moz-box-shadow: inset 0 39px 0 -24px #e67a73; |
||||||
-webkit-box-shadow: inset 0 39px 0 -24px #e67a73; |
-webkit-box-shadow: inset 0 39px 0 -24px #e67a73; |
||||||
box-shadow: inset 0 39px 0 -24px #e67a73; |
box-shadow: inset 0 39px 0 -24px #e67a73; |
||||||
background-color: #e4685d; |
background-color: #e4685d; |
||||||
-moz-border-radius: 4px; |
-moz-border-radius: 4px; |
||||||
-webkit-border-radius: 4px; |
-webkit-border-radius: 4px; |
||||||
border-radius: 4px; |
border-radius: 4px; |
||||||
display: inline-block; |
display: inline-block; |
||||||
color: #fff; |
color: #fff; |
||||||
font-family: arial; |
font-family: arial; |
||||||
font-size: 13px; |
font-size: 13px; |
||||||
font-weight: normal; |
font-weight: normal; |
||||||
padding: 4px 15px; |
padding: 4px 15px; |
||||||
text-decoration: none; |
text-decoration: none; |
||||||
text-shadow: 0 1px 0 #b23e35; |
text-shadow: 0 1px 0 #b23e35; |
||||||
cursor: pointer; |
cursor: pointer; |
||||||
vertical-align: top; |
vertical-align: top; |
||||||
margin: 5px 10px 5px 0px; |
margin: 5px 10px 5px 0px; |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload-green { |
.ajax-file-upload-green { |
||||||
background-color: #77b55a; |
background-color: #77b55a; |
||||||
-moz-border-radius: 4px; |
-moz-border-radius: 4px; |
||||||
-webkit-border-radius: 4px; |
-webkit-border-radius: 4px; |
||||||
border-radius: 4px; |
border-radius: 4px; |
||||||
margin: 0; |
margin: 0; |
||||||
padding: 0; |
padding: 0; |
||||||
display: inline-block; |
display: inline-block; |
||||||
color: #fff; |
color: #fff; |
||||||
font-family: arial; |
font-family: arial; |
||||||
font-size: 13px; |
font-size: 13px; |
||||||
font-weight: normal; |
font-weight: normal; |
||||||
padding: 4px 15px; |
padding: 4px 15px; |
||||||
text-decoration: none; |
text-decoration: none; |
||||||
cursor: pointer; |
cursor: pointer; |
||||||
text-shadow: 0 1px 0 #5b8a3c; |
text-shadow: 0 1px 0 #5b8a3c; |
||||||
vertical-align: top; |
vertical-align: top; |
||||||
margin: 5px 10px 5px 0px; |
margin: 5px 10px 5px 0px; |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload { |
.ajax-file-upload { |
||||||
font-family: Arial, Helvetica, sans-serif; |
font-family: Arial, Helvetica, sans-serif; |
||||||
font-size: 16px; |
font-size: 16px; |
||||||
font-weight: bold; |
font-weight: bold; |
||||||
padding: 15px 20px; |
padding: 15px 20px; |
||||||
cursor:pointer; |
cursor: pointer; |
||||||
line-height:20px; |
line-height: 20px; |
||||||
height:25px; |
height: 25px; |
||||||
margin:0 10px 10px 0; |
margin: 0 10px 10px 0; |
||||||
display: inline-block; |
display: inline-block; |
||||||
background: #fff; |
background: #fff; |
||||||
border: 1px solid #e8e8e8; |
border: 1px solid #e8e8e8; |
||||||
color: #888; |
color: #888; |
||||||
text-decoration: none; |
text-decoration: none; |
||||||
border-radius: 3px; |
border-radius: 3px; |
||||||
-webkit-border-radius: 3px; |
-webkit-border-radius: 3px; |
||||||
-moz-border-radius: 3px; |
-moz-border-radius: 3px; |
||||||
-moz-box-shadow: 0 2px 0 0 #e8e8e8; |
-moz-box-shadow: 0 2px 0 0 #e8e8e8; |
||||||
-webkit-box-shadow: 0 2px 0 0 #e8e8e8; |
-webkit-box-shadow: 0 2px 0 0 #e8e8e8; |
||||||
box-shadow: 0 2px 0 0 #e8e8e8; |
box-shadow: 0 2px 0 0 #e8e8e8; |
||||||
padding: 6px 10px 4px 10px; |
padding: 6px 10px 4px 10px; |
||||||
color: #fff; |
color: #fff; |
||||||
background: #2f8ab9; |
background: #2f8ab9; |
||||||
border: none; |
border: none; |
||||||
-moz-box-shadow: 0 2px 0 0 #13648d; |
-moz-box-shadow: 0 2px 0 0 #13648d; |
||||||
-webkit-box-shadow: 0 2px 0 0 #13648d; |
-webkit-box-shadow: 0 2px 0 0 #13648d; |
||||||
box-shadow: 0 2px 0 0 #13648d; |
box-shadow: 0 2px 0 0 #13648d; |
||||||
vertical-align: middle; |
vertical-align: middle; |
||||||
} |
} |
||||||
|
|
||||||
.ajax-file-upload:hover { |
.ajax-file-upload:hover { |
||||||
background: #3396c9; |
background: #3396c9; |
||||||
-moz-box-shadow: 0 2px 0 0 #15719f; |
-moz-box-shadow: 0 2px 0 0 #15719f; |
||||||
-webkit-box-shadow: 0 2px 0 0 #15719f; |
-webkit-box-shadow: 0 2px 0 0 #15719f; |
||||||
box-shadow: 0 2px 0 0 #15719f; |
box-shadow: 0 2px 0 0 #15719f; |
||||||
} |
} |
||||||
|
|
||||||
.ajax-upload-dragdrop |
.ajax-upload-dragdrop |
||||||
{ |
{ |
||||||
|
border: 1px dotted #7f7f7f; |
||||||
border:2px dotted #A5A5C7; |
width: 50%; |
||||||
width:420px; |
color: #f2f2f2; |
||||||
color: #DADCE3; |
text-align: center; |
||||||
text-align:left; |
vertical-align: middle; |
||||||
vertical-align:middle; |
padding: 10px 10px 10px 10px; |
||||||
padding:10px 10px 0px 10px; |
|
||||||
} |
} |
||||||
|
|
||||||
.state-hover |
.state-hover |
||||||
{ |
{ |
||||||
border:2px solid #A5A5C7; |
border: 2px solid #A5A5C7; |
||||||
} |
} |
||||||
.ajax-file-upload-container |
.ajax-file-upload-container |
||||||
{ |
{ |
||||||
margin:20px 0px 20px 0px; |
margin: 20px 0px 20px 0px; |
||||||
} |
} |
||||||
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 6.8 KiB |
Loading…
Reference in new issue