Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
redeleitsystem
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redl
redeleitsystem
Commits
d26ebece
Commit
d26ebece
authored
9 years ago
by
Robin Sonnabend
Browse files
Options
Downloads
Patches
Plain Diff
Redner in Pausenansicht zeigen
parent
a4b6c53f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.py.example
+0
-1
0 additions, 1 deletion
config.py.example
templates/speech_content_index.html
+27
-28
27 additions, 28 deletions
templates/speech_content_index.html
with
27 additions
and
29 deletions
config.py.example
+
0
−
1
View file @
d26ebece
...
@@ -2,5 +2,4 @@ SQLALCHEMY_DATABASE_URI = "sqlite:///example.db" # SQLAlchemy connection data
...
@@ -2,5 +2,4 @@ SQLALCHEMY_DATABASE_URI = "sqlite:///example.db" # SQLAlchemy connection data
SECRET_KEY = "abcdef" #
SECRET_KEY = "abcdef" #
DEBUG = False # Debug Mode
DEBUG = False # Debug Mode
UPDATE_INDEX_INTERVAL = 1 # Time in seconds between requests
UPDATE_INDEX_INTERVAL = 1 # Time in seconds between requests
UPDATE_SHOW_INTERVAL = 1 #
UPDATE_TIME_INTERVAL = 10 #
UPDATE_TIME_INTERVAL = 10 #
This diff is collapsed.
Click to expand it.
templates/speech_content_index.html
+
27
−
28
View file @
d26ebece
{% for event in events %}
{% for event in events %}
<div
class=
"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mdl-card mdl-shadow--2dp"
>
<div
class=
"mdl-cell mdl-cell--6-col mdl-cell--8-col-tablet mdl-cell--4-col-phone mdl-card mdl-shadow--2dp"
>
{% if not event.paused %}
{% if event.paused %}
<div
class=
"mdl-card__title rede-paused-title"
>
<h4
class=
"mdl-card__title-text rede-paused-title-text"
>
Paused until {{ event.paused_until.strftime("%H:%M") }}
</h4>
</div>
{% endif %}
{% if event.current_topic_id != -1 and event.get_current_topic() %}
{% if event.current_topic_id != -1 and event.get_current_topic() %}
<div
class=
"mdl-card__title"
>
<div
class=
"mdl-card__title"
>
{{ event.name }}: {{ event.get_current_topic().name }}
{{ event.name }}: {{ event.get_current_topic().name }}
...
@@ -16,7 +22,7 @@
...
@@ -16,7 +22,7 @@
{% for statement in event.get_current_topic().sorted_statements() %}
{% for statement in event.get_current_topic().sorted_statements() %}
<tr>
<tr>
<td
class=
"mdl-data-table__cell--non-numeric"
>
{{ statement.speaker.identifier() }}
</td>
<td
class=
"mdl-data-table__cell--non-numeric"
>
{{ statement.speaker.identifier() }}
</td>
<td
class=
"mdl-data-table__cell"
>
{{ statement.speaker.count(event.current_topic) }}
</td>
<td
class=
"mdl-data-table__cell"
>
{{ statement.speaker.count(event.
get_
current_topic
()
) }}
</td>
</tr>
</tr>
{% endfor %}
{% endfor %}
</tbody>
</tbody>
...
@@ -26,12 +32,5 @@
...
@@ -26,12 +32,5 @@
{{ event.name }}: No topic set
{{ event.name }}: No topic set
</div>
</div>
{% endif %}
{% endif %}
{% else %}
<div
class=
"mdl-card__title rede-paused-title"
>
<h4
class=
"mdl-card__title-text rede-paused-title-text"
>
{{ event.name}}: Paused until {{ event.paused_until.strftime("%H:%M") }}
</h4>
</div>
{% endif %}
</div>
</div>
{% endfor %}
{% endfor %}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment