Skip to content

Commit

Permalink
Add page titles
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepman4267 committed Apr 27, 2024
1 parent be6b964 commit a12764b
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion OpenShow/slides/editor/templates/editor/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<script src="https://unpkg.com/[email protected]"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>OpenShow Editor</title>
<title>{% block title %}OpenShow Editor{% endblock %}</title>
<style id="slide-style" hx-swap-oob="true">
</style>
<link rel="stylesheet" href="{% static 'slides/widgets.css' %}">
Expand Down
2 changes: 2 additions & 0 deletions OpenShow/slides/editor/templates/editor/deck_editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
</style>
{% endblock %}

{% block title %}Editing {{ deck.name }} - OpenShow{% endblock %}

{% block content %}
<div id="show-editor" class="show-editor" data-deck-pk="{{ deck.pk }}">
<navbar class="navbar">
Expand Down
2 changes: 2 additions & 0 deletions OpenShow/slides/editor/templates/editor/edit_theme.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<style id="theme">{{ theme.css }}</style>
{% endblock %}

{% block title %}Editing {{ theme.name }} - OpenShow{% endblock %}

{% block content %}
<div id="show-editor" class="show-editor" data-show-pk="{{ show.pk }}" data-next-segment-order="{{ show.next_segment_order }}">
<navbar class="navbar">
Expand Down
1 change: 1 addition & 0 deletions OpenShow/slides/editor/templates/editor/show_editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<link rel="stylesheet" href="{% static 'slides/slide-thumbnail.css' %}">
<link rel="stylesheet" href="{% static 'editor/editor.css' %}">
<link rel="stylesheet" href="{% static 'slides/slide.css' %}">
{% block title %}Editing {{ show.name }} - OpenShow{% endblock %}
<style>
{{ show.theme.css }}
</style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<link rel="stylesheet" href="{% static 'editor/editor.css' %}">
{% endblock %}

{% block title %}Editing {{ transition.name }} - OpenShow{% endblock %}

{% block content %}
<div id="transition-editor" class="show-editor" data-transition-pk="{{ transition.pk }}">
<span class="navbar">
Expand Down
2 changes: 2 additions & 0 deletions OpenShow/slides/templates/slides/deck.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
<h1>{{ deck.name }}</h1>
{% endblock %}

{% block title %}{{ deck.name }} - OpenShow{% endblock %}

{% block header_right_button %}
<a href="{% url 'edit-deck' deck.pk %}" class="icon-button" aria-label="Edit {{ deck.name }}">{% icon 'edit-2' %}</a>
{% endblock %}
Expand Down
2 changes: 2 additions & 0 deletions OpenShow/slides/templates/slides/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
<script type="module" src="https://unpkg.com/[email protected]/dist/js/tabs.js"></script>
{% endblock %}

{% block title %}OpenShow Slides{% endblock %}

{% block header %}
<h1>OpenShow Slides</h1>
{% endblock %}
Expand Down
2 changes: 2 additions & 0 deletions OpenShow/slides/templates/slides/show.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

{% endblock %}

{% block title %}{{ show.name }} - OpenShow{% endblock %}

{% block header %}
<h1>{{ show.name }}</h1>
{% endblock %}
Expand Down

0 comments on commit a12764b

Please sign in to comment.