diff options
| author | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
|---|---|---|
| committer | Gertjan van den Burg <gertjanvandenburg@gmail.com> | 2019-05-30 13:29:31 +0100 |
| commit | da15e439e64c8314825ad5f28073fbcbd436946f (patch) | |
| tree | 62b40c9be838316fc1c0e1a5372d7bf8fbdc496b /app/templates/demo/learn.html | |
| parent | Add database migration for cp_index (diff) | |
| download | AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.tar.gz AnnotateChange-da15e439e64c8314825ad5f28073fbcbd436946f.zip | |
Initial version of demo
This commit introduces the demo functionality.
The task assignment has been removed at the moment,
as this will be changed in a future commit.
Diffstat (limited to 'app/templates/demo/learn.html')
| -rw-r--r-- | app/templates/demo/learn.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/templates/demo/learn.html b/app/templates/demo/learn.html new file mode 100644 index 0000000..8d3d6c9 --- /dev/null +++ b/app/templates/demo/learn.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block styles %} +{{ super() }} +<link rel="stylesheet" href="{{url_for('static', filename='css/demo/learn.css')}}"> +{% endblock %} + +{% block app_content %} +<h1>{{ title }}</h1> + +<div id="lesson" class="row"> + <div class="col-md-6"> + {{ text | safe }} + </div> +</div> + +<div class="row"> + <div id="next-btn" class="col-md-6"> + {{ wtf.quick_form(form, button_map={'submit': 'primary'}) }} + </div> +</div> +{% endblock %} |
