Blame progit/templates/user_info.html

Pierre-Yves Chibon 559bcf
{% extends "master.html" %}
Pierre-Yves Chibon 559bcf
Johan Cwiklinski 160732
{% block title %}User {{username}}{% endblock %}
Pierre-Yves Chibon 853b93
{%block tag %}users{% endblock %}
Pierre-Yves Chibon 559bcf
Pierre-Yves Chibon 559bcf
Johan Cwiklinski 63918a
{% block header %}
Johan Cwiklinski 63918a
    
Johan Cwiklinski 63918a
        href="{{ url_for('static', filename='toggle.css') }}"/>
Johan Cwiklinski 63918a
{% endblock %}
Pierre-Yves Chibon 559bcf
Pierre-Yves Chibon 7a439f
Johan Cwiklinski 63918a
{% from "render_repo.html" import render_repos %}
Johan Cwiklinski 63918a
{% from "render_repo.html" import repos_switch %}
Pierre-Yves Chibon 559bcf
Pierre-Yves Chibon c5efd8
Johan Cwiklinski 63918a
{% block content %}
Johan Cwiklinski 63918a
    

Johan Cwiklinski 63918a
        {{ username | avatar(36) | safe }} {{ username }}
Johan Cwiklinski 63918a
        {% if g.fas_user and g.fas_user.username == username %}
Johan Cwiklinski 63918a
            Settings
Pierre-Yves Chibon c5efd8
        {% endif %}
Pierre-Yves Chibon c5efd8
Johan Cwiklinski 63918a
    
Johan Cwiklinski 160732
    {{ repos_switch(False) }}
Johan Cwiklinski 63918a
Johan Cwiklinski 63918a
    {{ render_repos(repos, total_page_repos, repopage, 'Projects', repos_length, 'repos') }}
Johan Cwiklinski 63918a
    {{ render_repos(forks, total_page_forks, forkpage, 'Forks', forks_length, 'forks') }}
Pierre-Yves Chibon 559bcf
{% endblock %}
Johan Cwiklinski 160732
Johan Cwiklinski 160732
{% block jscripts %}
Johan Cwiklinski 160732
    {{ super() }}
Johan Cwiklinski 160732
    <script type="text/javascript"></script>
Johan Cwiklinski 160732
        $(function(){
Johan Cwiklinski 160732
            $('.show_parts input[type="radio"]').change(function(){
Johan Cwiklinski 160732
                $('#' + $(this).attr('name')).toggle();
Johan Cwiklinski 160732
            });
Johan Cwiklinski 160732
        });
Johan Cwiklinski 160732
    
Johan Cwiklinski 160732
{% endblock %}