diff --git a/bootstrap/config.py b/bootstrap/config.py index 2a5ffb9..c5d3be8 100644 --- a/bootstrap/config.py +++ b/bootstrap/config.py @@ -5,6 +5,8 @@ basepath = os.path.dirname(os.path.realpath(__file__)) DATA_DIR = os.path.join(basepath, "data") STATIC_DATA_DIR = os.path.join(basepath, "data_static") +MEDIA_DIR = os.path.join(basepath, "media") + TASKS_DIR = os.path.join(DATA_DIR, "tasks") TASKS_IN_DIR = os.path.join(TASKS_DIR, "in") TASKS_BUF_DIR = os.path.join(TASKS_DIR, "buf") @@ -19,5 +21,5 @@ TEMPLATES_FOLDER = os.path.join(basepath, "webapp", "templates") STATIC_FOLDER = os.path.join(basepath, "webapp", "static") MAKEDIRS = [ - DATA_DIR, STATIC_DATA_DIR, TASKS_DIR, TASKS_IN_DIR, TASKS_PROC_DIR, TASKS_BUF_DIR, + DATA_DIR, STATIC_DATA_DIR, MEDIA_DIR, TASKS_DIR, TASKS_IN_DIR, TASKS_PROC_DIR, TASKS_BUF_DIR, ] diff --git a/bootstrap/webapp/templates/layout.html b/bootstrap/webapp/templates/layout.html index 9ebe1f0..e148634 100644 --- a/bootstrap/webapp/templates/layout.html +++ b/bootstrap/webapp/templates/layout.html @@ -43,14 +43,17 @@ } - input[type=text], textarea { - width: 100%; + input, textarea { padding: 0.5em; font-family: Open Sans, Arial sans-serif; font-size: 1em; box-sizing: border-box; } + .full-width { + width: 100%; + } + textarea { height: 5em; } @@ -144,8 +147,14 @@ .vertical-padding { height: 80px; } + + .video-inline { + width: 30%; + } + + {% block style %}{% endblock %}
@@ -176,8 +185,25 @@ {% block content %}{% endblock %} - + + + -{% block script %}{% endblock %} +{% block script %} + +{% endblock %}