view MoinMoin/themes/basic/templates/show.html @ 2830:80053c4b6965

fix #443 upgrade font-awesome to 4.1; run m quickinstall to install renamed fonts
author RogerHaase <haaserd@gmail.com>
date Fri, 17 Oct 2014 06:14:37 -0700
parents 91567b869c36
children 03e10af41cad
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "utils.html" as utils %}
{% import theme("itemviews.html") as itemviews with context %}
{% set exists = storage.has_item(item_name) %}

{% block views %}
    {{ itemviews }}
{% endblock %}

{% block content %}

    {% block content_data %}
        {% if data_rendered %}
            <div id="moin-content-data">
                {{ data_rendered }}
            </div>
        {% endif %}
    {% endblock %}

{% endblock %}

{% block user_actions %}
    {{ local_panel_main(user_actions) }}
{% endblock %}

{% block item_actions %}
    {{ local_panel_main(item_actions) }}
{% endblock %}

{% block local_panel %}

        <!-- user, site, item actions -->
    <div class="list-group">
        {% if user_actions %}
            <div class="list-group-item moin-list-heading">
                {{ _("User Actions") }}
                <a class="moin-showhide moin-useractions" href="#" >[+]</a>
            </div>
            <div id="user-actions" class="hidden">{{ self.user_actions() }}</div>
        {% endif %}

        <div class="list-group-item moin-list-heading">
            View Options
            <a class="moin-showhide moin-viewoptions" href="#">[+]</a>
        </div>
        <div id="view-options" class="hidden">
            <button type="button"
                    class="btn btn-default moin-user-action-special moin-toggle-comments-button moin-toggle-comments-tooltip"
                    data-toggle="button"
                    title="Show Comments">
                <span class="pull-left">
                    <i class="fa fa-comment fa-fw"></i>
                    Comments
                </span>
            </button>
            <button type="button"
                    class="btn btn-default moin-user-action-special moin-transclusions-button moin-transclusions-tooltip"
                    data-toggle="button"
                    title="Show Transclusions">
                <span class="pull-left">
                    <i class="fa fa-paste fa-fw"></i>
                    Transclusions
                </span>
            </button>
        </div>

        {% if item_actions %}
            <div class="list-group-item moin-list-heading">
                {{ _("Item Actions") }}
                <a class="moin-showhide moin-itemactions" href="#" >[+]</a>
            </div>
            <div id="item-actions" class="hidden">{{ self.item_actions() }}</div>
        {% endif %}
    </div>

{% endblock %}

{% block options_for_javascript %}
    {%- if item_name and user.edit_on_doubleclick and user.may.write(item_name) -%}
        <br id="moin-edit-on-doubleclick" />
    {%- endif %}
    {%- if user.show_comments -%}
        <br id="moin-show-comments" />
    {%- endif %}
{% endblock %}