NDOJ/templates/three-column-content.html

51 lines
1.4 KiB
HTML
Raw Normal View History

2023-02-08 05:14:48 +00:00
{% set layout = 'no_wrapper' %}
2023-01-27 23:11:10 +00:00
{% extends "base.html" %}
{% block title_row %}{% endblock %}
{% block title_ruler %}{% endblock %}
{% block media %}
2023-02-08 05:14:48 +00:00
<style>
2023-07-06 17:54:52 +00:00
#content {
width: 100%;
margin-left: 0;
}
2023-02-04 13:14:50 +00:00
2023-07-06 17:54:52 +00:00
@media(min-width: 800px) {
2023-02-08 05:14:48 +00:00
.middle-right-content {
margin-left: 13%;
2023-03-06 21:57:16 +00:00
display: flex;
2023-07-06 17:54:52 +00:00
margin-right: 2%;
2023-02-08 05:14:48 +00:00
}
2023-01-27 23:11:10 +00:00
}
2023-02-08 05:14:48 +00:00
@media(max-width: 799px) {
.middle-right-content {
display: block;
}
2023-02-04 13:14:50 +00:00
}
2023-02-08 05:14:48 +00:00
</style>
2023-02-04 13:14:50 +00:00
{% endblock %}
2023-01-27 23:11:10 +00:00
2024-05-30 07:59:22 +00:00
{% macro make_tab_item(name, fa, url, text, force_new_page=False) %}
<a class="left-sidebar-item {% if page_type == name %}active{% endif %}" href="{{ url }}" id="{{ name }}-tab" {% if force_new_page%}data-force_new_page="1"{% endif %}>
2023-02-08 05:14:48 +00:00
<span class="sidebar-icon"><i class="{{ fa }}"></i></span>
2023-08-24 16:10:39 +00:00
<span class="sidebar-text">{{ text }}</span>
2023-09-17 05:18:30 +00:00
</a>
2023-01-27 23:11:10 +00:00
{% endmacro %}
{% block body %}
2023-02-08 05:14:48 +00:00
{% block before_posts %}{% endblock %}
<div id="three-col-container">
{% block left_sidebar %}{% endblock %}
<div class="middle-right-content {{'wrapper' if is_two_column}}">
{% block three_col_media %}{% endblock %}
<div class="middle-content">
{% block middle_title %}{% endblock %}
{% block middle_content %}{% endblock %}
</div>
{% block right_sidebar %}{% endblock %}
2023-01-27 23:11:10 +00:00
</div>
</div>
2023-02-08 05:14:48 +00:00
{% block after_posts %}{% endblock %}
2023-01-27 23:11:10 +00:00
{% endblock %}