Skip to content
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.

As a user I need Clean Pages #33

Open
catalincoroeanu opened this issue Apr 10, 2019 · 0 comments
Open

As a user I need Clean Pages #33

catalincoroeanu opened this issue Apr 10, 2019 · 0 comments
Labels
REFACTOR New feature or request

Comments

@catalincoroeanu
Copy link
Collaborator

Finish to convert/adapt all the templates after the new AdminLte theme

Essential Components:

{% extends 'base.html' %}{% load arrowfilter static %}
{% block title %}{% if title %}{{ title }}{% else %}PAGE NAME{% endif %}{% endblock %}
{% block content %}
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            {% if title %}{{ title }}{% else %}PAGE NAME{% endif %}
        </h1>
        <ol class="breadcrumb">
            <li><i class="fa fa-dashboard"></i> PAGE NAME</li>
        </ol>
    </section>
    <div class="content">
        {% if messages %}
            <div class="alert alert-success alert-dismissible">
                <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                {% for message in messages %}
                    <h4>
                        {% if message.tags %}<i class="icon fa fa-check {{ message.tags }}"></i>{% endif %}
                        {{ message }}
                    </h4>
                {% endfor %}
            </div>
        {% endif %}
        <div class="row">
            <div class="col-xs-12">

           <!-- / CONTENT BLOCK  -->

            </div>
        </div>
    </div>
</div>
{% endblock %}

@catalincoroeanu catalincoroeanu added Quick Fix Quick Fix meant to patch something REFACTOR New feature or request and removed Quick Fix Quick Fix meant to patch something labels Apr 10, 2019
@catalincoroeanu catalincoroeanu added this to the Templates Refactored milestone Apr 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
REFACTOR New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant