Changeset - 08c8f23344a3
pinaxcon/templates/cms_pages/content_page.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "site_base_wagtail.html" %}
 
{% load staticfiles %}
 
{% load wagtailcore_tags %}
 

	
 
{% load sitetree %}
 
{% load i18n %}
 

	
 
{% block body_class %}template-blogpage{% endblock %}
 

	
 
{% block head_title %}{{ page.title }}{% endblock %}
 

	
 
{% block body %}
 
  {% block content %}
 
    {% include "cms_pages/content_page_header_panel.html" %}
 
    <div class="l-content-page">
 
      <div class="l-content-page--richtext">
 
        {{ page.body|richtext }}
pinaxcon/templates/cms_pages/home_page.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "site_base_wagtail.html" %}
 

	
 
{% load i18n %}
 

	
 
{% load wagtailcore_tags %}
 

	
 
{% block head_title %}{% trans "Welcome" %}{% endblock %}
 

	
 
{% block body %}
 

	
 
{{ page.body }}
 

	
 
{% endblock %}
pinaxcon/templates/cms_pages/news_index_page.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "site_base_wagtail.html" %}
 

	
 
{% load staticfiles %}
 
{% load wagtailcore_tags %}
 
{% load wagtailimages_tags %}
 

	
 
{% load sitetree %}
 
{% load i18n %}
 

	
 
{% block body_class %}template-blogpage{% endblock %}
 

	
 
{% block head_title %}{{ page.title }}{% endblock %}
 

	
 
{% block body %}
 
  {% block content %}
 
    {% include "cms_pages/content_page_header_panel.html" %}
 

	
pinaxcon/templates/cms_pages/news_page.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% extends "site_base_wagtail.html" %}
 

	
 
{% load wagtailcore_tags %}
 
{% load wagtailimages_tags %}
 

	
 
{% load sitetree %}
 
{% load i18n %}
 

	
 
{% block body_class %}template-blogpage{% endblock %}
 

	
 
{% block head_title %}{{ page.title }}{% endblock %}
 

	
 
{% block body %}
 
  {% block content %}
 
    {% include "cms_pages/content_page_header_panel.html" %}
 
    <div class="l-content-page">
 
      <div class="l-content-page--richtext">
pinaxcon/templates/dashboard.html
Show inline comments
 
{% extends "site_base.html" %}
 

	
 
{% load staticfiles %}
 
{% load i18n %}
 
{% load proposal_tags %}
 
{% load review_tags %}
 
{% load teams_tags %}
 
{# {% load registrasion_tags %} #}
 

	
 
{% block head_title %}Dashboard{% endblock %}
 

	
 
{% block extra_style %}
 
<link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
 
<!-- Latest compiled and minified CSS -->
 
{% endblock %}
 

	
 
{% block body_class %}auth{% endblock %}
 

	
 
{% block body %}
 
    <div class="panel panel-default">
 
        <div class="panel-heading">
 
            <div class="pull-right">
 
                {% if not user.speaker_profile %}
 
                    <a href="{% url "speaker_create" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-plus-sign"></i> Create a speaker profile
 
                    </a>
 
                {% else %}
 
                    <a href="{% url "speaker_edit" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-pencil"></i> Edit your speaker profile
 
                    </a>
 
                    <a href="{% url "proposal_submit" %}" class="btn btn-xs btn-default">
 
                        <i class="fa fa-plus-sign"></i> Submit a new proposal
pinaxcon/templates/site_base.html
Show inline comments
 
{% load staticfiles %}
 
{% load metron_tags %}
 
{% load i18n %}
 
{% load sitetree %}
 
{# <!-- https://gist.github.com/geedmo/5682742--> #}
 
<!DOCTYPE html>
 
<html lang="en" class="no-js">
 
  <head>
 
    <meta charset="utf-8">
 
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
 
    <meta name="description" content="">
 
{% block viewport %}
 
{% block viewport %}    
 
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
 
{% endblock %}
 
    <title>{% block head_title_base %}{% if SITE_NAME %}{{ SITE_NAME }} | {% endif %}{% block head_title %}{% endblock %}{% endblock %}</title>
 
{% block styles %}
 
    <link rel="stylesheet" href="{% static 'lca2017/css/app.css' %}">
 
    <link rel="stylesheet" href="{% static 'lca2017/css/print.css' %}" media="print">
 
    <!--FIXME: download-->
 
    <link href="https://fonts.googleapis.com/css?family=Titillium+Web:700,900|Roboto:400italic,400,700,700italic" rel="stylesheet" type="text/css">
 
    <!--Meta tags-->
 
    <meta name="theme-color" content="#0c486c">
 
    {% block extra_style %}
 
    <link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
 
    {% endblock %}
 
{% endblock %}
 
    <!--Twitter-->
 
    <meta name="twitter:card" content="summary">
 
    <meta name="twitter:site" content="@linuxconfau">
 
    <meta name="twitter:creator" content="@linuxconfau">
 
    <meta name="twitter:description" content="Linux Conf Hobart 16-20 January 2017">
 
    <meta name="twitter:image:src" content="TODO">
 
    <!--Open Graph-->
 
    <meta property="og:url" content="https://linux.conf.au/">
 
    <meta property="og:title" content="Linux.Conf.Au">
 
    <meta property="og:description" content="Linux Conf Hobart 16-20 January 2017">
 
    <meta property="og:type" content="website">
 
    <meta property="fb:admins" content="TODO">
 
    <meta property="fb:profile_id" content="TODO">
 
        {% block extra_head_base %}
 
            {% block extra_head %}{% endblock %}
...
 
@@ -42,59 +45,66 @@
 
{% block topbar_base %}
 
    <header role="banner" class="l-header">
 
      <div class="l-header--logo">
 
        {% block site_brand %}
 
          <img src="{% static 'lca2017/images/svgs/lca2017-website-logo.svg' %}" width="300px" />
 
        {% endblock %}
 
      </div>
 
    {% block nav %}
 
        {% sitetree_menu from "main" include "trunk" template "sitetree_header.html" %}
 
      <a href="#" data-menu-opener="" class="l-header--menu-opener"></a>
 
    </header>
 
      {% sitetree_menu from "main" include "trunk" template "sitetree_opener.html" %}
 
    {% endblock %}
 
{% endblock %}
 

	
 
{% block body_base %}
 
    <div style="height: 100px;" />
 
    <main role="main">
 
<div class="l-content-page">
 
        <section id="content_body">
 
        <div class="container">
 
            {% include "_messages.html" %}
 
            <div class="row">
 
                <div class="col-md-9">
 
    {% block body %}
 
      {% block content %}
 
      {% endblock %}
 
    {% endblock %}
 
                </div>
 
                <div class="col-md-3">
 
                    {% block sidebar %}
 
                        {% include "_default_sidebar.html" %}
 
                    {% endblock %}
 
                </div>
 
            </div>
 
        </div>
 
    </section>
 
</div>
 
{% endblock %}
 

	
 
{% block footer_base %}
 
      <div class="panel panel__compact panel__bg">
 
        <div style="background-image: url('');" class="panel--bg"></div>
 
        <div class="panel--content">
 
          <div class="panel--2-3">
 
            <!-- TODO: put something here. -->
 
          </div>
 
        </div>
 
      </div>
 
      <!-- https://gist.github.com/geedmo/5682742-->
 
      <footer class="l-footer">
 
        {% block footer %}
 
        <div class="l-footer--text">
 
          <h3>Sponsors</h3>
 
          <p class="lede">Magna morbi aliquet commodo arcu odio dui imperdiet blandit est.
 
          </p><a href="#" class="btn">See sponsors</a>
 
        </div>
 
        <div class="l-footer--logos">
 
          <img src="{% static 'lca2017/images/HPE.jpg' %}" role="presentation">
 
          <img src="{% static 'lca2017/images/IBM.jpg' %}" role="presentation"></div>
 
        <p class="lede">© 2016 linux.conf.au 2017 and Linux Australia. Linux is a registered trademark of Linus Torvalds. Site design by <a href="http://takeflight.com.au" >Takeflight</a>. <a href="/colophon">Colophon</a>.</p>
 
        {% endblock %}
 
      </footer>
 
{% endblock %}
 
    </main>
 
    {% block scripts %}
 
    <script src="{% static 'lca2017/js/app.js' %}"></script>
 
    {% block extra_script %}{% endblock %}
 
    {% endblock %}
 
{% block extra_body_base %}
 
    {% analytics %}
 
    {% block extra_body %}{% endblock %}
 
{% endblock %}
 
  </body>
 
</html>
pinaxcon/templates/site_base_onecolumn.html
Show inline comments
 
{% extends "site_base.html" %}
 

	
 

	
 
{% block body_base %}
 
    <section id="content_body">
 
    <div style="height: 100px;" />
 
    <main role="main">
 
<div class="l-content-page">
 
        <section id="content_body">
 
        <div class="container">
 
            {% include "_messages.html" %}
 
            {% block body %}
 
            {% endblock %}
 
        </div>
 
    </section>
 
    {% include "_messages.html" %}
 
    {% block body %}
 
      {% block content %}
 
      {% endblock %}
 
    {% endblock %}
 
</div>
 
</section>
 
</div>
 
{% endblock %}
pinaxcon/templates/site_base_wagtail.html
Show inline comments
 
new file 100644
 
{% extends "site_base.html" %}
 
{% block extra_style %}{% endblock %}
 
{% block body_base %}
 
    <div style="height: 100px;" />
 
    <main role="main">
 
    {% include "_messages.html" %}
 
    {% block body %}
 
      {% block content %}
 
      {% endblock %}
 
    {% endblock %}
 
{% endblock %}
pinaxcon/templates/symposion/proposals/base.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% load staticfiles %}
 

	
 
{% block body_outer %}
 
    {% block body %}{% endblock %}
 
{% block extra_script %}
 
<script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
 
{% endblock %}
pinaxcon/templates/symposion/proposals/proposal_detail.html
Show inline comments
...
 
@@ -87,32 +87,33 @@
 
            <form action="" method="POST" accept-charset="utf-8">
 
                {% csrf_token %}
 
                <fieldset>
 
                    {{ message_form|bootstrap }}
 
                </fieldset>
 
                <div class="actions">
 
                    <button type="submit" name="message_submit" class="btn btn-primary">{% trans 'Submit' %}</button>
 
                </div>
 
            </form>
 
        </div>
 
    {% endif %}
 
    </div>
 
</div>
 
{% endblock %}
 

	
 
{% block extra_script %}
 
{{ block.super }}
 
    <script src="{{ STATIC_URL }}symposion/js/jquery.history.js"></script>
 
    <script type="text/javascript">
 
        $(function() {
 
            var History = window.History;
 

	
 
            $(window).bind("anchorchange", function() {
 
                $(".nav-tabs a[href='" + location.hash + "']").click();
 
            });
 

	
 
            $('#.nav-tabs a[data-toggle="tab"]').on('shown', function (e) {
 
                if (History.enabled) {
 
                    History.pushState(null, null, $(e.target).attr("href"));
 
                }
 
            });
 
        });
 
    </script>
pinaxcon/templates/symposion/reviews/base.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% load staticfiles %}
 

	
 
{% load i18n %}
 
{% load sitetree %}
 

	
 
{% block extra_style %}
 
{{ block.super }}
 
    <style type="text/css">
 
        div.dataTables_length label {
 
            float: left;
 
            text-align: left;
 
        }
 

	
 
        div.dataTables_length select {
 
            width: 75px;
 
        }
 

	
 
        div.dataTables_filter label {
 
            float: right;
 
        }
 

	
 
        div.dataTables_info {
 
            padding-top: 8px;
...
 
@@ -38,32 +40,36 @@
 
        table.table thead .sorting_desc,
 
        table.table thead .sorting_asc_disabled,
 
        table.table thead .sorting_desc_disabled {
 
            cursor: pointer;
 
            *cursor: hand;
 
        }
 

	
 
        table.dataTable th:active {
 
            outline: none;
 
        }
 
    </style>
 
{% endblock %}
 

	
 
{% block body_class %}reviews{% endblock %}
 

	
 
{% block body_outer %}
 
<div class="l-content-page">
 
<div class="l-content-page--richtext">
 
<div class="rich-text">
 

	
 
    <div class="row">
 
        <div class="col-md-2">
 
            {% block sidebar %}
 
            {% for section in review_sections %}
 
            <div class="panel panel-default">
 
                <div class="panel-heading">
 
                    <h3 class="panel-title">{{ section }}</h3>
 
                </div>
 
                <div class="list-group">
 
                        <a class="list-group-item review-list" href="{% url "review_section" section.section.slug %}">
 
                            {% trans "All Reviews" %}
 
                        </a>
 
                        {% comment %}
 
                        <li>
 
                            <a href="{% url "review_section_assignments" section.section.slug %}">
 
                                {% trans "Your Assignments" %}
...
 
@@ -75,35 +81,37 @@
 
                        </a>
 
                        <a class="list-group-item voting-status" href="{% url "review_status" section.section.slug %}">
 
                            {% trans "Voting Status" %}
 
                        </a>
 
                        {% if request.user.is_staff %}
 
                            <a class="list-group-item review-results" href="{% url "result_notification" section.section.slug 'accepted' %}">Result Notification</a>
 
                        {% endif %}
 
                </div>
 
            {% endfor %}
 
            {% endblock %}
 
        </div>
 
        <div class="col-md-10">
 
            {% block body %}
 
            {% endblock %}
 
        </div>
 
    </div>
 
</div></div></div>
 
{% endblock %}
 

	
 
{% block extra_script %}
 
    <script src="{% static 'js/site-92ae8d0d6c.js' %}" type="text/javascript"></script>
 
    <script src="{{ STATIC_URL }}datatables/js/jquery.dataTables.min.js" type="text/javascript"></script>
 
    <script src="{{ STATIC_URL }}tabletools/js/TableTools.min.js" type="text/javascript"></script>
 
    <script src="{{ STATIC_URL }}datatables/js/dataTables.bootstrap.js" type="text/javascript"></script>
 
    <script type="text/javascript">
 
        $(function() {
 
            $(".tip").tooltip();
 
            $("table.table-reviews").dataTable({
 
                "sDom": "<'row'<'col-md-3'l><'col-md-3'T><'col-md-4'f>r>t<'row'<'col-md-3'i><'col-md-5'p>>",
 
                "sPaginationType": "bootstrap",
 
                "bStateSave": true,
 
                "oTableTools": {
 
                    "aButtons": [
 
                        "copy",
 
                        "csv",
 
                        "print"
 
                    ],
pinaxcon/templates/symposion/reviews/result_notification.html
Show inline comments
 
{% extends "symposion/reviews/base.html" %}
 

	
 
{% load i18n %}
 

	
 

	
 
{% block body_class %}{{ block.super }} review-results{% endblock %}
 

	
 
{% block extra_style %}
 
{{ block.super }}
 
    <style type="text/css">
 
        .table-striped tbody tr.selected td {
 
            background-color: #F7F4E6;
 
        }
 
    </style>
 
{% endblock %}
 

	
 
{% block body %}
 

	
 
    <ul class="nav nav-pills">
 
        <li{% if status == 'accepted' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'accepted' %}">accepted</a>
 
        <li{% if status == 'rejected' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'rejected' %}">rejected</a>
 
        <li{% if status == 'standby' %} class="active"{% endif %}><a href="{% url "result_notification" section_slug 'standby' %}">standby</a>
 
    </ul>
 

	
 
    <h1>Result Notification</h1>
...
 
@@ -71,32 +72,33 @@
 
                                        <span>{{ status }}</span>
 
                                    {% endif %}
 
                                </div>
 
                            {% endwith %}
 
                        </td>
 
                        <td>
 
                            {% if proposal.notifications.exists %}yes{% endif %}
 
                        </td>
 
                    </tr>
 
                {% endfor %}
 
            </tbody>
 
        </table>
 
    </form>
 
{% endblock %}
 

	
 
{% block extra_script %}
 
{{ block.super }}
 
    <script type="text/javascript">
 
        (function($) {
 
            $.fn.actions = function(opts) {
 
                var options = $.extend({}, $.fn.actions.defaults, opts);
 
                var actionCheckboxes = $(this);
 
                checker = function(checked) {
 
                    $(actionCheckboxes).prop("checked", checked)
 
                        .parent().parent().toggleClass(options.selectedClass, checked);
 
                }
 
                updateCounter = function() {
 
                    var sel = $(actionCheckboxes).filter(":checked").length;
 
                    $(options.counterContainer).html(sel);
 
                    $(options.allToggle).prop("checked", function() {
 
                        if (sel == actionCheckboxes.length) {
 
                            value = true;
 
                        } else {
pinaxcon/templates/symposion/reviews/review_detail.html
Show inline comments
...
 
@@ -155,32 +155,33 @@
 
                            notified and given the opportunity to respond.
 
                        {% endblocktrans %}
 
                    </p>
 
                    {% csrf_token %}
 
                    {{ message_form|bootstrap }}
 
                    <div class="form-actions">
 
                        <input type="submit" class="btn btn-primary" name="message_submit" value="Send Message" />
 
                    </div>
 
                </form>
 
                {% endif %}
 
            </div>
 
        </div>
 
    </div>
 
{% endblock %}
 

	
 
{% block extra_script %}
 
{{ block.super }}
 
    <script src="{{ STATIC_URL }}symposion/js/jquery.history.js"></script>
 
    <script type="text/javascript">
 
        $(function() {
 
            var History = window.History;
 

	
 
            $(window).bind("anchorchange", function() {
 
                $(".nav-tabs a[href='" + location.hash + "']").click();
 
            });
 

	
 
            $('.nav-tabs a[data-toggle="tab"]').on('shown', function (e) {
 
                if (History.enabled) {
 
                    History.pushState(null, null, $(e.target).attr("href"));
 
                }
 
            });
 

	
 
            if (window.location.hash !== '') {
pinaxcon/templates/symposion/reviews/review_review.html
Show inline comments
 
{% extends "site_base.html" %}
 
{% load staticfiles %}
 
{% block extra_style %}
 
<link rel="stylesheet" href="{% static 'css/site-0a247b924d.css' %}">
 
{% endblock %}
 

	
 
{% load bootstrap %}
 

	
 
{% block body_class %}review{% endblock %}
 

	
 
{% block body %}
 
<div class="l-content-page">
 
<div class="l-content-page--richtext">
 
<div class="rich-text">
 
    <h1>Proposal Review</h1>
 

	
 
    <div class="proposal">
 
        <h2>{{ proposal.title }}</h2>
 

	
 
        <p>
 
            {% if proposal.cancelled %}
 
                Cancelled
 
            {% endif %}
 
        </p>
 

	
 
        <div>
 
            {{ proposal.description }}
 
        </div>
 

	
 
        <p><b>Type</b>: {{ proposal.get_session_type_display }}</p>
...
 
@@ -60,18 +67,18 @@
 
                <input type="submit" value="Submit" />
 
            </div>
 
        </fieldset>
 
    </form>
 

	
 
    <h2>Comment</h2>
 

	
 
    <form method="POST" action="{% url "review_comment" proposal.pk %}" class="form">
 
        {% csrf_token %}
 
        <fieldset>
 
            {{ comment_form|bootstrap }}
 
            <div class="form_block">
 
                <input type="submit" value="Submit" />
 
            </div>
 
        </fieldset>
 
    </form>
 

	
 
</div></div></div>
 
{% endblock %}
0 comments (0 inline, 0 general)