forked from rc/aircox
		
	work on layout.css
This commit is contained in:
		@ -25,6 +25,7 @@
 | 
			
		||||
            {% block css_extras %}{% endblock %}
 | 
			
		||||
        {% endblock %}
 | 
			
		||||
 | 
			
		||||
        <script src="{% static 'aircox_cms/js/bootstrap.js' %}"></script>
 | 
			
		||||
        <script src="{% static 'aircox_cms/js/utils.js' %}"></script>
 | 
			
		||||
        <script src="{% static 'aircox_cms/js/player.js' %}"></script>
 | 
			
		||||
 | 
			
		||||
@ -36,7 +37,9 @@
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        <header class="header">
 | 
			
		||||
            <div>
 | 
			
		||||
            {% render_sections position="header" %}
 | 
			
		||||
            </div>
 | 
			
		||||
        </header>
 | 
			
		||||
 | 
			
		||||
        <div class="page flex_row">
 | 
			
		||||
@ -71,7 +74,7 @@
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {% block footer %}
 | 
			
		||||
        <footer class="footer">
 | 
			
		||||
        <footer class="menu footer">
 | 
			
		||||
            {% render_sections position="footer" %}
 | 
			
		||||
            <div class="small float_right">Propulsed by
 | 
			
		||||
                <a href="https://github.com/bkfox/aircox">Aircox</a>
 | 
			
		||||
 | 
			
		||||
@ -1,15 +1,10 @@
 | 
			
		||||
{% extends "aircox_cms/sections/section_item.html" %}
 | 
			
		||||
{% load wagtailimages_tags %}
 | 
			
		||||
{% load aircox_cms %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
{% for item in object_list %}
 | 
			
		||||
    {% with link=item.as_dict %}
 | 
			
		||||
    <a href="{{ link.url }}"
 | 
			
		||||
        {% if item.css_class %}class="{{ item.css_class }}"{% endif %}>
 | 
			
		||||
        {% if link.icon %}{% image link.icon fill-24x24 class="icon" %}{% endif %}
 | 
			
		||||
        {{ link.text }}
 | 
			
		||||
    </a>
 | 
			
		||||
    {% endwith %}
 | 
			
		||||
{% for item in self.links.all %}
 | 
			
		||||
{% render_template_mixin item %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,5 @@
 | 
			
		||||
{% extends "aircox_cms/sections/section_item.html" %}
 | 
			
		||||
{% load wagtailimages_tags %}
 | 
			
		||||
 | 
			
		||||
{% block content %}
 | 
			
		||||
{% with link=self.as_dict %}
 | 
			
		||||
<a href="{{ link.url }}" {% if self.info %}title="{{ self.info }}"{% endif %}>
 | 
			
		||||
    {% if link.icon %}
 | 
			
		||||
@ -12,6 +10,4 @@
 | 
			
		||||
    {{ link.text }}
 | 
			
		||||
</a>
 | 
			
		||||
{% endwith %}
 | 
			
		||||
{% endblock %}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user