File tree 5 files changed +4
-7
lines changed
5 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -euo pipefail
3
3
4
- if [ " $PRODUCTION " = " 1" ]; then
4
+ if [ " ${ PRODUCTION:- 1} " = " 1" ]; then
5
5
# PRODUCTION
6
6
exec python3 -m gunicorn --config gunicorn.conf.py " tronbyt_server:create_app()"
7
7
else
Original file line number Diff line number Diff line change @@ -8,6 +8,6 @@ <h1>{% block title %}{{ _('Log In') }}{% endblock %}</h1>
8
8
< input name ="username " id ="username " required >
9
9
< label for ="password "> {{ _('Password') }}</ label >
10
10
< input type ="password " name ="password " id ="password " required >
11
- < input type ="submit " value ="{{ _('Log In') }} ">
11
+ < input type ="submit " class =" w3-button w3-green " value ="{{ _('Log In') }} ">
12
12
</ form >
13
13
{% endblock %}
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ <h1>{% block title %}{{ _('Register') }}{% endblock %}</h1>
11
11
< label for ="email "> {{ _('Email Address (optional)') }}</ label >
12
12
< input type ="text " name ="email " id ="email ">
13
13
14
- < input type ="submit " value ="{{ _('Register') }} ">
14
+ < input type ="submit " class =" w3-button w3-green " value ="{{ _('Register') }} ">
15
15
</ form >
16
16
{% endblock %}
Original file line number Diff line number Diff line change @@ -73,9 +73,6 @@ <h3>{{ title }}</h3>
73
73
< textarea name ="notes " id ="notes "> {{ request.form['notes'] }}</ textarea >
74
74
75
75
< input type ="submit " value ="{{ _('Configure') }} " class ="w3-button w3-green " onclick ="move() "> </ input >
76
- < div class ="w3-light-grey ">
77
- < div id ="myBar " class ="w3-container w3-green " style ="height:24px;width:1%;visibility: hidden "> </ div >
78
- </ div >
79
76
</ form >
80
77
81
78
< style >
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ <h1>{% block title %}{{ _('Upload App (.star files only)') }}{% endblock %}</h1>
7
7
{% endif %}
8
8
< form method ="POST " enctype ="multipart/form-data ">
9
9
< input type ="file " name =file >
10
- < input type ="submit " value ="{{ _('Upload') }} ">
10
+ < input type ="submit " class =" w3-button w3-green " value ="{{ _('Upload') }} ">
11
11
</ form >
12
12
< h3 > {{ _('Current files:') }}</ h3 >
13
13
{% for filename in files %}
You can’t perform that action at this time.
0 commit comments