Refactor .content-inner div to wrap all content blocks

This commit is contained in:
Xevion
2022-03-27 06:55:39 -05:00
parent 9b8209841d
commit 5134723841
13 changed files with 20 additions and 21 deletions

View File

@@ -13,9 +13,11 @@
<div class="content-outer">
<div class="content">
{% include 'layouts/header.html' %}
{% block content %}
Do not extend <strong>base.html</strong> directly.
{% endblock content %}
<div class="content-inner">
{% block content %}
Do not extend <strong>base.html</strong> directly.
{% endblock content %}
</div>
</div>
{% include 'layouts/footer.html' %}
</div>

View File

@@ -1,10 +1,5 @@
{% extends 'layouts/base.html' %}
{% block content %}
<div class="content-inner">
<h4>New Users</h4>
<div>
</div>
</div>
{% endblock %}

View File

@@ -1,6 +1,5 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
<div id="about">
<p>Designed for RowdyHacks 2022, <strong>Runnerspace</strong> is a retro throwback site designed to mimic the feel and features
of the popular website 'MySpace' and other social media of it's era. Runnerspace aims to be simple, easy to use, easy to
@@ -11,5 +10,4 @@
Seligman</a>. You can find all the source code and a full commit log at <a href="https://github.com/Xevion/runnerspace">github.com/Xevion/runnerspace</a>.
</p>
</div>
</div>
{% endblock %}

View File

@@ -1,6 +1,5 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="notification is-danger">
@@ -33,5 +32,4 @@
<p class="form-subtext">
Don't have a login? <a href="{{ url_for('main.signup') }}">Sign-up</a> instead!
</p>
</div>
{% endblock content %}

View File

@@ -1,7 +1,6 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="notification is-danger">
@@ -36,5 +35,4 @@
<p class="form-subtext">
Already have a login? <a href="{{ url_for('main.login') }}">Login</a> instead!
</p>
</div>
{% endblock content %}

View File

@@ -1 +1,3 @@
{% extends 'layouts/index.html' %}
{% block content %}
{% endblock %}

View File

@@ -1,7 +1,6 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
<div class="user-list">
{% for user_row in users|batch(2, '&nbsp;') %}
<div class="user-list-row">
@@ -32,5 +31,4 @@
</div>
{% endfor %}
</div>
</div>
{% endblock %}

View File

@@ -1 +1,5 @@
{% extends 'layouts/index.html' %}
{% block content %}
{% endblock content %}

View File

@@ -1 +1,4 @@
{% extends 'layouts/index.html' %}
{% block content %}
{% endblock %}

View File

@@ -1 +1,4 @@
{% extends 'layouts/index.html' %}
{% block content %}
{% endblock %}

View File

@@ -1 +1,4 @@
{% extends 'layouts/index.html' %}
{% block content %}
{% endblock %}

View File

@@ -1,7 +1,6 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
<div class="profile-title">
<span class="profile-username">{{ user.name }}</span>
{% with seen_text = user.get_last_seen() %}
@@ -28,5 +27,4 @@
</p>
</div>
</div>
</div>
{% endblock %}

View File

@@ -1,8 +1,5 @@
{% extends 'layouts/index.html' %}
{% block content %}
<div class="content-inner">
<h3>Edit Profile</h3>
</div>
{% endblock %}