Skip to content

Commit

Permalink
refactor(templates): move sidebar templates to own subdirectory
Browse files Browse the repository at this point in the history
  • Loading branch information
unsigned-maki committed May 29, 2022
1 parent 1bcc6f9 commit 230b92a
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion views/templates/create.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Create Poll{% endblock %}
{% block options %}
{% include "sidebar.html" %}
{% include "sidebars/sidebar.html" %}
{% endblock %}
{% block content %}
<script src="/static/js/create.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion views/templates/login.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Login{% endblock %}
{% block options %}
{% include "sidebar_anonymous.html" %}
{% include "sidebars/sidebar_anonymous.html" %}
{% endblock %}
{% block content %}
<!-- Content wrapper start -->
Expand Down
2 changes: 1 addition & 1 deletion views/templates/overview.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Settings{% endblock %}
{% block options %}
{% include "sidebar.html" %}
{% include "sidebars/sidebar.html" %}
{% endblock %}
{% block content %}
{% include "modals/share_modal.html" %}
Expand Down
4 changes: 2 additions & 2 deletions views/templates/poll.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{% block title %}View Poll{% endblock %}
{% block options %}
{% if logged_in %}
{% include "sidebar.html" %}
{% include "sidebars/sidebar.html" %}
{% else %}
{% include "sidebar_anonymous.html" %}
{% include "sidebars/sidebar_anonymous.html" %}
{% endif %}
{% endblock %}
{% include "modals/share_modal.html" %}
Expand Down
2 changes: 1 addition & 1 deletion views/templates/settings.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Settings{% endblock %}
{% block options %}
{% include "sidebar.html" %}
{% include "sidebars/sidebar.html" %}
{% endblock %}
{% block content %}
<!-- Content wrapper start -->
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion views/templates/signup.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Create Account{% endblock %}
{% block options %}
{% include "sidebar_anonymous.html" %}
{% include "sidebars/sidebar_anonymous.html" %}
{% endblock %}
{% block content %}
<!-- Content wrapper start -->
Expand Down
4 changes: 2 additions & 2 deletions views/templates/vote.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{% block title %}Create Account{% endblock %}
{% block options %}
{% if logged_in %}
{% include "sidebar.html" %}
{% include "sidebars/sidebar.html" %}
{% else %}
{% include "sidebar_anonymous.html" %}
{% include "sidebars/sidebar_anonymous.html" %}
{% endif %}
{% endblock %}
{% block content %}
Expand Down

0 comments on commit 230b92a

Please sign in to comment.