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