diff --git a/scripts/up b/scripts/up index 36a2dc8..12e8ac4 100755 --- a/scripts/up +++ b/scripts/up @@ -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 diff --git a/static/fs.css b/static/fs.css index 831d079..5ecf9cd 100644 --- a/static/fs.css +++ b/static/fs.css @@ -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; diff --git a/templates/base.html b/templates/base.html index eb1c809..4a3603a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ {% include ['head-perso.html', 'head.html'] %} {% block head %} - {% block title %}{% endblock %} - FS + {% block title %}{% endblock %} - SFS {% endblock %}