From 6b90ca39eb295eda59c2e2d5b9815ca6a50136dd Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Mon, 17 Aug 2020 15:38:52 +0200 Subject: [PATCH] Converted indentation to spaces globally. --- .../lostplaces_app/templates/global.html | 160 +++++++++--------- .../templates/place/place_create.html | 20 +-- .../templates/place/place_delete.html | 30 ++-- .../templates/place/place_detail.html | 38 ++--- .../templates/place/place_update.html | 22 +-- lostplaces/templates/403.html | 4 +- lostplaces/templates/registration/login.html | 12 +- lostplaces/templates/signup.html | 10 +- 8 files changed, 148 insertions(+), 148 deletions(-) diff --git a/lostplaces/lostplaces_app/templates/global.html b/lostplaces/lostplaces_app/templates/global.html index 0140f25..97038f7 100644 --- a/lostplaces/lostplaces_app/templates/global.html +++ b/lostplaces/lostplaces_app/templates/global.html @@ -8,89 +8,89 @@ {% block title %}Urban Exploration{% endblock %} - - - {% block additional_head %} - {% endblock additional_head %} + + + {% block additional_head %} + {% endblock additional_head %} - - + + -
-
- -
- - {% if user.is_authenticated %} - Hi {{ user.username }}! - logout - {% if user.is_superuser %} - | admin - {% endif %} - - {% else %} - You are not logged in. - login | - signup - {% endif %} - -
-
- - - -
- {% if messages %} -
-
    - {% for message in messages %} -
  • -
    -
    -
    -
    -
    -
    - {{ message }} -
    -
    -
  • - {% endfor %} -
-
- {% endif %} - {% block maincontent %} - {% endblock maincontent %} -
-
+
+
+ +
+ + {% if user.is_authenticated %} + Hi {{ user.username }}! + logout + {% if user.is_superuser %} + | admin + {% endif %} + + {% else %} + You are not logged in. + login | + signup + {% endif %} + +
+
+ + + +
+ {% if messages %} +
+
    + {% for message in messages %} +
  • +
    +
    +
    +
    +
    +
    + {{ message }} +
    +
    +
  • + {% endfor %} +
+
+ {% endif %} + {% block maincontent %} + {% endblock maincontent %} +
+
\ No newline at end of file diff --git a/lostplaces/lostplaces_app/templates/place/place_create.html b/lostplaces/lostplaces_app/templates/place/place_create.html index ddaca85..d085629 100644 --- a/lostplaces/lostplaces_app/templates/place/place_create.html +++ b/lostplaces/lostplaces_app/templates/place/place_create.html @@ -38,16 +38,16 @@ -
-
- -
- -
+
+
+ +
+ +
diff --git a/lostplaces/lostplaces_app/templates/place/place_delete.html b/lostplaces/lostplaces_app/templates/place/place_delete.html index cdae9aa..f23895f 100644 --- a/lostplaces/lostplaces_app/templates/place/place_delete.html +++ b/lostplaces/lostplaces_app/templates/place/place_delete.html @@ -9,22 +9,22 @@
Delete place {% csrf_token %} -
-
-

Are you sure you want to delete "{{place.name}}"?

-
-
+
+
+

Are you sure you want to delete "{{place.name}}"?

+
+
-
-
- -
- -
+
+
+ +
+ +
{% endblock maincontent %} diff --git a/lostplaces/lostplaces_app/templates/place/place_detail.html b/lostplaces/lostplaces_app/templates/place/place_detail.html index b94c5fe..71ce78f 100644 --- a/lostplaces/lostplaces_app/templates/place/place_detail.html +++ b/lostplaces/lostplaces_app/templates/place/place_detail.html @@ -5,20 +5,20 @@ {% block title %}{{place.name}}{% endblock %} {% block additional_menu_items %} -
  • Edit place
  • -
  • Delete place
  • +
  • Edit place
  • +
  • Delete place
  • {% endblock additional_menu_items %} - + {% block maincontent %}
    -

    {{ place.name }}

    - {% if place.images.first.filename.hero.url %} -
    - -
    - {% endif %} +

    {{ place.name }}

    + {% if place.images.first.filename.hero.url %} +
    + +
    + {% endif %}
    @@ -29,25 +29,25 @@

    Map-Links

    - - + +

    Bilder

      - {% for place_image in place.images.all %} -
    • - -
    • - {% endfor %} + {% for place_image in place.images.all %} +
    • + +
    • + {% endfor %}
    -
    - + +
    {% endblock maincontent %} \ No newline at end of file diff --git a/lostplaces/lostplaces_app/templates/place/place_update.html b/lostplaces/lostplaces_app/templates/place/place_update.html index d5f6059..5d274f6 100644 --- a/lostplaces/lostplaces_app/templates/place/place_update.html +++ b/lostplaces/lostplaces_app/templates/place/place_update.html @@ -37,17 +37,17 @@ {% include 'partials/form/inputField.html' with field=form.filename %} - -
    -
    - -
    - -
    + +
    +
    + +
    + +
    diff --git a/lostplaces/templates/403.html b/lostplaces/templates/403.html index 7c3b767..3e56fb0 100644 --- a/lostplaces/templates/403.html +++ b/lostplaces/templates/403.html @@ -4,12 +4,12 @@ {% block additional_head %} {% if request.META.HTTP_REFERER %} - + {% endif %} {% endblock additional_head %} {% block maincontent %} {% if request.META.HTTP_REFERER %} -

    You will be redirected in 5 seconds

    Go Back

    +

    You will be redirected in 5 seconds

    Go Back

    {% endif %} {% endblock maincontent %} \ No newline at end of file diff --git a/lostplaces/templates/registration/login.html b/lostplaces/templates/registration/login.html index bbd6d63..c2c2211 100644 --- a/lostplaces/templates/registration/login.html +++ b/lostplaces/templates/registration/login.html @@ -18,12 +18,12 @@ -
    -
    - -
    -
    - +
    +
    + +
    +
    + diff --git a/lostplaces/templates/signup.html b/lostplaces/templates/signup.html index 4787602..517989e 100644 --- a/lostplaces/templates/signup.html +++ b/lostplaces/templates/signup.html @@ -35,11 +35,11 @@ -
    -
    - -
    -
    +
    +
    + +
    +