Minor change in layout and correct bug in up dl
This commit is contained in:
parent
8ae5c2d9d6
commit
45942794c9
@ -13,6 +13,7 @@ DEFAULT_ARGS_CURL=()
|
||||
# Defaults field to use. If equal to $UNSET will be oncsiedered as no set
|
||||
URLPATH="/up"
|
||||
GETPATH="/d"
|
||||
GETPATHSUFFIX="/raw"
|
||||
USERNAME="-1"
|
||||
PASSWORD="-1"
|
||||
URL="-1"
|
||||
@ -218,13 +219,14 @@ ARGS=()
|
||||
if [ $GET -eq 1 ]
|
||||
then
|
||||
# File password
|
||||
[ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "filepwd=$FILEPASSWORD")
|
||||
[ ! $FILEPASSWORD = "$UNSET" ] && ARGS+=("-F" "password=$FILEPASSWORD")
|
||||
# Add files
|
||||
for FPATH in "${FILES[@]}"
|
||||
do
|
||||
FULLURL="$URL"
|
||||
[ ! "$GETPATH" = "$UNSET" ] && FULLURL+="$GETPATH"
|
||||
FULLURL+="/$USERNAME/$FPATH"
|
||||
[ ! "$GETPATHSUFFIX" = "$UNSET" ] && FULLURL+="$GETPATHSUFFIX"
|
||||
ARGS+=("$FULLURL")
|
||||
done
|
||||
else
|
||||
|
@ -49,8 +49,7 @@ div, p, li, a, th, td {
|
||||
margin-right: auto;
|
||||
margin-bottom: 0px;
|
||||
margin-left: auto;
|
||||
height: 600px;
|
||||
width: 1200px;
|
||||
width: 100%;
|
||||
/* border: 1px solid #092E1E; */
|
||||
}
|
||||
/****************/
|
||||
@ -88,8 +87,9 @@ div, p, li, a, th, td {
|
||||
width: 20%;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
margin: 2px 15px 2px 30px;
|
||||
margin: 2px auto 2px auto;
|
||||
float: right;
|
||||
overflow:hide;
|
||||
|
||||
font-size: 140%;
|
||||
font-weight: bold;
|
||||
|
@ -4,7 +4,7 @@
|
||||
<link rel="shortcut icon" href="/static/favicon.ico">
|
||||
{% include ['head-perso.html', 'head.html'] %}
|
||||
{% block head %}
|
||||
<title>{% block title %}{% endblock %} - FS</title>
|
||||
<title>{% block title %}{% endblock %} - SFS</title>
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
|
Loading…
Reference in New Issue
Block a user