Source

iredadmin-ose / templates / default / mysql / admin / profile.html

Zhang Huangbin 878d625 



Zhang Huangbin 551aed9 
Zhang Huangbin 878d625 

Zhang Huangbin b37d086 
Zhang Huangbin 878d625 
Zhang Huangbin 551aed9 
Zhang Huangbin 878d625 










Zhang Huangbin 3e2eaa4 

Zhang Huangbin 878d625 







Zhang Huangbin 551aed9 

Zhang Huangbin 878d625 
























Zhang Huangbin 551aed9 

Zhang Huangbin 878d625 








Zhang Huangbin 3e2eaa4 
Zhang Huangbin 878d625 







Zhang Huangbin 551aed9 









Zhang Huangbin 878d625 
Zhang Huangbin 551aed9 






Zhang Huangbin 878d625 
Zhang Huangbin 551aed9 






Zhang Huangbin 878d625 






{% extends "layout.html" %}
{% from "macros/general.html" import
                display_subnav,
                set_account_status_img,
                display_csrf_token,
                display_account_status,
                display_input_cn,
                display_preferred_language,
                display_reset_password,
                display_random_password,
                display_button_submit,
                with context
                %}

{% from "macros/msgHandlers.html" import adminMsgHandler with context %}

{% block title %}{{ _('Edit account profile') }}{% endblock %}
{% block navlinks_active_admins %}class="active"{% endblock %}

{% block breadcrumb %}
    {% set crumbs = [
            (ctx.homepath + '/admins', _('All admins')),
            (None, mail),
            ]
            %}
    {{ display_subnav(crumbs) }}
{% endblock %}


{% block main %}

{% set input_csrf_token = display_csrf_token() %}

{# Show system message #}
{{ adminMsgHandler(msg) }}

{% set navlinks = [
                ('general', _('General'), []),
                ('password', _('Password'), []),
                ]
                %}

<div class="content-box">
    <div class="box-body">
        <div class="box-header clear">
            <ul class="tabs clear">
                {% for nav in navlinks %}
                    {% if not false in nav[2] and not none in nav[2] %}
                        <li><a href="#profile_{{ nav[0] }}">{{ nav[1] }}</a></li>
                    {% endif %}
                {% endfor %}
            </ul>

            <h2>{{ _('Profile of admin:') }} {{ mail }}</h2>
        </div>

        <div class="box-wrap clear">
            <div id="profile_general">
                <form name="general" method="post" action="{{ctx.homepath}}/profile/admin/general/{{mail}}">
                    {{ input_csrf_token }}

                    <div class="columns clear">
                        <div class="col2-3">
                            {% if session.get('domainGlobalAdmin') is sameas true %}
                                {{ display_account_status(profile.active) }}
                                <div class="bt-space0">&nbsp;</div>
                            {% endif %}

                            {{ display_input_cn(cn=profile.name, accountType='admin') }}
                            {{ display_preferred_language(value=profile.get('language', 'en_US') |e, languagemaps=languagemaps) }}
                        </div>
                    </div>{# .columns #}

                    {{ display_button_submit() }}
                </form>
            </div>

            <div id="profile_password">
                <form name="password" method="post" action="{{ctx.homepath}}/profile/admin/password/{{mail}}">
                    {{ input_csrf_token }}
                    <div class="columns clear">
                        <div class="col3-4">
                            {% if session.get('domainGlobalAdmin') is sameas true %}
                                {{ display_reset_password(
                                        min_passwd_length=min_passwd_length,
                                        max_passwd_length=max_passwd_length,
                                        show_confirmpw=true,
                                        )
                                }}
                            {% else %}
                                {{ display_reset_password(
                                        min_passwd_length=min_passwd_length,
                                        max_passwd_length=max_passwd_length,
                                        show_oldpw=true,
                                        show_confirmpw=true,
                                        )
                                }}
                            {% endif %}
                        </div>

                        <div class="col1-4 lastcol">
                            {{ display_random_password(min_passwd_length) }}
                        </div>
                    </div>

                    {{ display_button_submit() }}
                </form>
            </div>
        </div>{# .box-wrap #}
    </div>{# .box-body #}
</div>{#-- .content-box --#}
{% endblock main %}
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.