Blame progit/templates/index.html

Pierre-Yves Chibon 2088eb
{% extends "master.html" %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
{% block title %}Home{% endblock %}
Pierre-Yves Chibon 2088eb
{%block tag %}home{% endblock %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon d9ab21
{% macro render_row(items) -%}
Pierre-Yves Chibon d9ab21
    {% for row in items %}
Pierre-Yves Chibon d9ab21
    
Pierre-Yves Chibon d9ab21
        {% for repo in row %}
Pierre-Yves Chibon d9ab21
            
Pierre-Yves Chibon d9ab21
                href="{{ url_for('view_repo', repo=repo.name) }}">
Pierre-Yves Chibon d9ab21
                
Pierre-Yves Chibon d9ab21
                {{ repo.name }}
Pierre-Yves Chibon d9ab21
                {{ repo.description | wraps(20) }}
Pierre-Yves Chibon d9ab21
            
Pierre-Yves Chibon d9ab21
        {% endfor %}
Pierre-Yves Chibon d9ab21
    
Pierre-Yves Chibon d9ab21
    {% else %}
Pierre-Yves Chibon d9ab21
    

No project found

Pierre-Yves Chibon d9ab21
    {% endfor %}
Pierre-Yves Chibon d9ab21
{%- endmacro %}
Pierre-Yves Chibon d9ab21
Pierre-Yves Chibon 2088eb
{% block content %}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 91a7c0

Projects

Pierre-Yves Chibon f519f7
Pierre-Yves Chibon 1ae792
{% if total_page and total_page > 1 %}
Pierre-Yves Chibon f519f7
Pierre-Yves Chibon f519f7
    
Pierre-Yves Chibon f519f7
        
Pierre-Yves Chibon f519f7
        {% if page > 1%}
Pierre-Yves Chibon f519f7
            
Pierre-Yves Chibon f519f7
                < Previous
Pierre-Yves Chibon f519f7
            
Pierre-Yves Chibon f519f7
        {% else %}
Pierre-Yves Chibon f519f7
            < Previous
Pierre-Yves Chibon f519f7
        {% endif %}
Pierre-Yves Chibon f519f7
        
Pierre-Yves Chibon f519f7
        {{ page }} / {{ total_page }}
Pierre-Yves Chibon f519f7
        
Pierre-Yves Chibon f519f7
            {% if page < total_page %}
Pierre-Yves Chibon f519f7
            
Pierre-Yves Chibon f519f7
                Next >
Pierre-Yves Chibon f519f7
            
Pierre-Yves Chibon f519f7
            {% else %}
Pierre-Yves Chibon f519f7
            Next >
Pierre-Yves Chibon f519f7
            {% endif %}
Pierre-Yves Chibon f519f7
        
Pierre-Yves Chibon f519f7
    
Pierre-Yves Chibon f519f7
Pierre-Yves Chibon f519f7
{% endif %}
Pierre-Yves Chibon f519f7
Pierre-Yves Chibon d9ab21
<section class="project_list"></section>
Pierre-Yves Chibon d9ab21
  {{ render_row(repos) }}
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
{% endblock %}