Source

iredadmin-ose / templates / default / ldap / layout.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <title>{% block title %}{%endblock%} - iRedAdmin</title>

    {# CSS #}
    <link rel="stylesheet" type="text/css" media="screen" href="{{ctx.homepath}}/static/{{skin}}/css/iredadmin.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="{{ctx.homepath}}/static/{{skin}}/css/iredadmin_cs.css" />
    <!--[if lte IE 6]>
        <link rel="stylesheet" type="text/css" href="{{ctx.homepath}}/static/{{skin}}/css/ie6.css" />
    <![endif]-->
    <!--[if IE 7]>
        <link rel="stylesheet" type="text/css" href="{{ctx.homepath}}/static/{{skin}}/css/ie7.css" />
    <![endif]-->

    {% block css %}{% endblock css %}

    {# ---- JS ---- #}
    {% block js %}
    <script type="text/javascript" src="{{ctx.homepath}}/static/js/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="{{ctx.homepath}}/static/js/jquery.tooltip.js"></script>
    {% endblock js %}

    {% block js_tablesorter %}
    <script src="{{ctx.homepath}}/static/js/jquery.tablesorter.js" type="text/javascript" ></script>
    {% endblock js_tablesorter %}

    {# ---- JS ---- #}

    {% block jsfile %}{% endblock jsfile %}

    {% block jquery_docoment_ready %}
    <script type="text/javascript">
        $(document).ready(function() {
            $("#list_table :checkbox").change(function() {
                var chkAll = this;
                if (chkAll.id == "checkall") {
                    /*$("#list_table :checkbox").filter("[id^='data_']").each(function() {*/
                    $("#list_table :checkbox").each(function() {
                        this.checked = chkAll.checked;
                    });
                } else {
                    $("#checkall")[0].checked = false;
                }
            });

            $("a,input,img").ToolTipDemo('#8dbdd8');
            {% block jquery_snippet_sorter %}
                $("#account_list").tablesorter( {sortList: [[0,0]]} );
            {% endblock jquery_snippet_sorter %}
            {% block jquery_snippets %}{% endblock jquery_snippets %}
        });
    </script>
    {% endblock jquery_docoment_ready %}

    <script type="text/javascript">
        function changeDomain(domain, baseurl) {
            if ( domain.options[domain.selectedIndex].value != 'none' ) {
                location.href = baseurl + domain.options[domain.selectedIndex].value;
            }
        }
    </script>

</head>
<body>
    <div id="brd-wrap" class="brd">
    <div id="brd-message" class="brd-page basic-page">
        {% if session.get('username') is not none %}

            {# Header #}
            <div id="brd-head" class="gen-content">
                <p class="options">
                    <span>{{ _("Logged in as <strong>%s</strong>." |format(session.get('username'))) }}</span>
                    <span><a href="{{ctx.homepath}}/profile/admin/general/{{session.get('username')}}">{{ _('Preferences') }}</a></span>
                    <span><a href="{{ctx.homepath}}/logout">{{ _('Logout') }}</a></span>
                </p>
                {# Preferences #}
                <p id="brd-title"><a href="{{ctx.homepath}}/">iRedAdmin</a></p>
                <p id="brd-desc">{{_('iRedMail Management') }}</p>
            </div>

            {# Main navigation #}
            <div id="brd-navlinks" class="gen-content">
                <ul>
                    <li><a href="{{ctx.homepath}}/dashboard">{{ _('Dashboard') }}</a></li>
                    <li><a href="{{ctx.homepath}}/domains">{{ _('Domains') }}</a></li>
                    <li class="normal"><a href="{{ctx.homepath}}/users">{{ _('Users') }}</a></li>
                    {# Display extra menus for global admin. #}
                    {% if session.get('domainGlobalAdmin') == 'yes' %}
                        <li class="normal"><a href="{{ctx.homepath}}/admins">{{ _('Admins') }}</a></li>
                    {% endif %}
                </ul>
            </div>

            {% block submenu %}
            <div id="brd-visit" class="admin-submenu gen-content">
                <p id="welcome">{% block id_welcome %}{% endblock id_welcome %}</p>
                <p id="visit-links" class="options">{% block id_visit_links %}{% endblock id_visit_links %}</p>
            </div>
            {% endblock submenu %}
        {% endif %}

        <div id="main" class="main-content">
            {% block main %}{% endblock main %}
        </div>

        {% block footer %}
        <div id="footer">
            &copy 2009
            | <a href="http://www.iredmail.org/">iRedMail Project</a>
            {% if session.get('domainGlobalAdmin') == 'yes' %}
                | <a href="mailto:michaelbibby@gmail.com">{{ _('Get support') }}</a>
            {% else %}
                | <a href="mailto:{{session.get('webmaster')}}">{{ _('Get support') }}</a>
            {% endif %}
        </div>
        {% endblock footer %}
    </div>
    </div>
</body>
</html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.