Blame pagure/templates/master.html

Slavek Kabrda aab4a0
{% import "theme.html" as theme with context %}
Ryan Lerch 0c654b
{% from "_projectstring.html" import projectstring, projecticon %}
Ryan Lerch a20e96
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
Ryan Lerch a20e96
    <title>{% block title %}{% endblock %} - {{ theme.site_title }}</title>
Ryan Lerch a20e96
    {{ theme.head_imports() }}
Pierre-Yves Chibon 3ff704
    
Pierre-Yves Chibon 3ff704
      url_for('static', filename='vendor/font-awesome/font-awesome.css') }}?version={{ g.version}}"/>
Julen Landa Alustiza 563779
    
Julen Landa Alustiza 563779
      url_for('static', filename='pagure.css') }}?version={{ g.version}}"/>
Pierre-Yves Chibon 2088eb
    {% block header %}{% endblock %}
Pierre-Yves Chibon 2088eb
  
Ryan Lerch f4adb4
  
Ryan Lerch 13ebb3
    {{theme.sitewide_message() if theme.sitewide_message is defined}}
hellcp bcd6a2
    
Ryan Lerch f85bcc
    <nav class="navbar {{theme.masthead_class}} navbar-expand"></nav>
Ryan Lerch 521631
      
hellcp bcd6a2
        
Neha Kandpal 68fd3d
        
hellcp bcd6a2
             alt="pagure Logo" id="pagureLogo"/>
hellcp bcd6a2
        
hellcp bcd6a2
        
    hellcp bcd6a2
              {% if not nologin %}
    hellcp bcd6a2
              {% if g.fas_user %}
    hellcp bcd6a2
              
  • hellcp bcd6a2
                
    hellcp bcd6a2
                Browse
    Pierre-Yves Chibon 080ee5
                
    hellcp bcd6a2
              
    hellcp bcd6a2
              {% if (config.get('ENABLE_NEW_PROJECTS', True) and config.get('ENABLE_UI_NEW_PROJECTS', True))
    hellcp bcd6a2
              or config.get('ENABLE_GROUP_MNGT', False)  %}
    hellcp bcd6a2
              
  • Pierre-Yves Chibon 7694ed
                
    hellcp bcd6a2
                  data-toggle="dropdown"
    hellcp bcd6a2
                  href="#"
    Pierre-Yves Chibon 7694ed
                  role="button" aria-haspopup="true"
    hellcp bcd6a2
                  aria-expanded="false">
    hellcp bcd6a2
                Create
    hellcp bcd6a2
                
    hellcp bcd6a2
                
    hellcp bcd6a2
                  {% if config.get('ENABLE_NEW_PROJECTS', True) and config.get('ENABLE_UI_NEW_PROJECTS', True) %}
    hellcp bcd6a2
                  
    Ryan Lerch 0c654b
                    New {{projectstring()}}
    hellcp bcd6a2
                  
    hellcp bcd6a2
                  {% endif %}
    hellcp bcd6a2
                  {% if config.get('ENABLE_GROUP_MNGT', False)  %}
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    New Group
    hellcp bcd6a2
                  
    hellcp bcd6a2
                  {% endif %}
    hellcp bcd6a2
                
    hellcp bcd6a2
              
    hellcp bcd6a2
              {% endif %}
    hellcp bcd6a2
              
  • hellcp bcd6a2
                
    hellcp bcd6a2
                  href="#" role="button" aria-haspopup="true" aria-expanded="false">
    hellcp bcd6a2
                {{ g.fas_user.username | avatar(24) | safe }}
    hellcp bcd6a2
                
    hellcp bcd6a2
                
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    {{ g.fas_user.username }}
    hellcp bcd6a2
                  
    hellcp bcd6a2
                  
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    url_for('ui_ns.view_user', username=g.fas_user.username)
    hellcp bcd6a2
                    }}">My Public Profile
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    url_for('ui_ns.user_settings')
    hellcp bcd6a2
                    }}">My Settings
    hellcp bcd6a2
                  
    Michael Watters 221ae7
                  
    Michael Watters 221ae7
                    url_for('ui_ns.userprofile_starred', username=g.fas_user.username)
    Michael Watters 221ae7
                    }}">My Starred Projects
    hellcp bcd6a2
                  {% if config.get('ENABLE_TICKETS', True) %}
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    url_for('ui_ns.view_user_issues', username=g.fas_user.username)
    hellcp bcd6a2
                    }}">My Issues
    Ryan Lerch eef090
                  {% endif %}
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    url_for('ui_ns.view_user_requests', username=g.fas_user.username)
    hellcp bcd6a2
                    }}">My Pull Requests
    hellcp bcd6a2
                  
    hellcp bcd6a2
                  
    hellcp bcd6a2
                    }}?next={{ request.url }}">Log Out
    hellcp bcd6a2
                
    hellcp bcd6a2
              
    hellcp bcd6a2
              {% else %}
    hellcp bcd6a2
              
  • hellcp bcd6a2
                
    hellcp bcd6a2
                  url_for('auth_login') }}?next={{request.url
    hellcp bcd6a2
                  }}">Log In
    hellcp bcd6a2
              
    hellcp bcd6a2
              {% endif %}
    hellcp bcd6a2
              {% endif %}
    hellcp bcd6a2
            
    Ryan Lerch e914ef
          
    hellcp bcd6a2
        
    hellcp bcd6a2
        
    Ryan Lerch e914ef
    Ryan Lerch 336cd6
        
    Ryan Lerch f6b451
    Ryan Lerch 814951
                {% with messages = get_flashed_messages(with_categories=true) %}
    Ryan Lerch cde3ef
                    {% if messages %}
    Ryan Lerch 083543
                    
    Ryan Lerch eef090
                    
    Ryan Lerch 457592
                        
    Ryan Lerch d0fece
                          <button aria-label="Close" class="close" data-dismiss="alert" type="button"></button>
    Ryan Lerch d0fece
                            ×
    Ryan Lerch d0fece
                            Close
    Ryan Lerch d0fece
                          
    Ryan Lerch 457592
                        {% for category, message in messages %}
    Ryan Lerch 457592
                          {% if category == 'error' %}
    Ryan Lerch 457592
                            
    {{ message }}
    Ryan Lerch 457592
                          {% else %}
    Ryan Lerch 457592
                            
    {{ message }}
    Ryan Lerch 457592
                          {% endif %}
    Pierre-Yves Chibon 2088eb
                        {% endfor %}
    Ryan Lerch 457592
                      
    Ryan Lerch d0fece
                    
    Ryan Lerch d0fece
                    
    Pierre-Yves Chibon 2088eb
                    {% endif %}
    Ryan Lerch 814951
                {% endwith %}
    Pierre-Yves Chibon 1c318f
                {% if new_user %}
    Ryan Lerch 083543
                  
    Ryan Lerch eef090
                    
    Pierre-Yves Chibon 1c318f
                        
    Pierre-Yves Chibon bc0554
                          
    Pierre-Yves Chibon bc0554
                              aria-label="Close">
    Pierre-Yves Chibon 1c318f
                            ×
    Pierre-Yves Chibon 1c318f
                            Close
    Pierre-Yves Chibon 1c318f
                          
    Pierre-Yves Chibon 1c318f
                          

    Pierre-Yves Chibon bc0554
                            Welcome to {{ config['INSTANCE_NAME'] }}, {{ g.fas_user.username }}!
    Pierre-Yves Chibon 1c318f
                          
    Pierre-Yves Chibon 1c318f
                          
    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon 1c318f
                              We are glad to welcome you to pagure.
    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon bc0554
                              In order to get started with pagure, to set-up
    Pierre-Yves Chibon bc0554
                              your preferred email address or your ssh key,
    Pierre-Yves Chibon bc0554
                              you may want to read the
    Pierre-Yves Chibon bc0554
                              
    Pierre-Yves Chibon 1c318f
                              First steps in Pagure documentation.
    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon 1c318f
                              You may also find some more information on how to use pagure
    Pierre-Yves Chibon 1c318f
                              in the 
    Pierre-Yves Chibon 1c318f
                              usage section of the documentation.
    Pierre-Yves Chibon 1c318f
                            

    Pierre-Yves Chibon 1c318f
                          
    Pierre-Yves Chibon 1c318f
                        
    Pierre-Yves Chibon 1c318f
                    
    Pierre-Yves Chibon 1c318f
                  
    Pierre-Yves Chibon 1c318f
                {% endif %}
    Pierre-Yves Chibon 2088eb
    Pierre-Yves Chibon 2088eb
                {% block content %}{% endblock %}
    Ryan Lerch 521631
        
    Pierre-Yves Chibon 2088eb
    Ryan Lerch a20e96
        {{theme.footer()}}
    Pierre-Yves Chibon 2088eb
    Pierre-Yves Chibon 2088eb
        {% block jscripts %}
    Pierre-Yves Chibon 3ff704
        
    Pierre-Yves Chibon 3ff704
          url_for('static', filename='vendor/jquery/jquery.min.js') }}?version={{ g.version}}">
    Pierre-Yves Chibon 3ff704
    Ryan Lerch a20e96
        {{theme.js_imports()}}
    Pierre-Yves Chibon 7694ed
        <script nonce="{{ g.nonce }}" type="text/javascript"></script>
    Pierre-Yves Chibon 36de81
          $('[data-toggle="tooltip"]').tooltip({placement : 'bottom'});
    Pierre-Yves Chibon 36de81
          $(".cancel_btn").click(function() {
    Pierre-Yves Chibon 36de81
            history.back();
    Pierre-Yves Chibon 36de81
          });
    Ryan Lerch e914ef
        
    Pierre-Yves Chibon 2088eb
        {% endblock %}
    Kushal Khandelwal 7260be
    Pierre-Yves Chibon eea71c
    {% if config['FEDMENU_URL'] %}
    Pierre-Yves Chibon 3ff704
    <script nonce="{{ g.nonce }}" src="{{ config['FEDMENU_URL'] }}/js/fedmenu.js" type="text/javascript"></script>
    Pierre-Yves Chibon 3ff704
    <script nonce="{{ g.nonce }}" src="{{ config['FEDMENU_URL'] }}/js/fedora-libravatar.js" type="text/javascript"></script>
    Pierre-Yves Chibon 7694ed
    <script nonce="{{ g.nonce }}" type="text/javascript"></script>
    Pierre-Yves Chibon eea71c
      fedmenu({
    Pierre-Yves Chibon eea71c
        'url': '{{ config["FEDMENU_DATA_URL"] }}',
    Pierre-Yves Chibon eea71c
        'mimeType': 'application/javascript',
    Pierre-Yves Chibon eea71c
        'position': 'bottom-right',
    Pierre-Yves Chibon eea71c
        {% if user -%}
    Pierre-Yves Chibon eea71c
        'user': '{{ user.username }}',
    Pierre-Yves Chibon eea71c
        {%- endif %}
    Pierre-Yves Chibon eea71c
      });
    Pierre-Yves Chibon eea71c
    Pierre-Yves Chibon eea71c
    {% endif %}
    Pierre-Yves Chibon eea71c
    Pierre-Yves Chibon 2088eb
    Pierre-Yves Chibon 2088eb