diff --git a/pagure/default_config.py b/pagure/default_config.py index f783cb4..21046b1 100644 --- a/pagure/default_config.py +++ b/pagure/default_config.py @@ -311,9 +311,9 @@ ADMIN_API_ACLS = [ # Bootstrap URLS BOOTSTRAP_URLS_CSS = 'https://apps.fedoraproject.org/global/' \ - 'fedora-bootstrap-1.0.1/fedora-bootstrap.css' + 'fedora-bootstrap-1.1.1/fedora-bootstrap.css' BOOTSTRAP_URLS_JS = 'https://apps.fedoraproject.org/global/' \ - 'fedora-bootstrap-1.0.1/fedora-bootstrap.js' + 'fedora-bootstrap-1.1.1/fedora-bootstrap.js' # List of the type of CI service supported by this pagure instance PAGURE_CI_SERVICES = [] diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 4b5e156..2286633 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -384,54 +384,6 @@ color: #bbb; /* Added */ -.nav { - list-style: outside none none; -} -.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover { - background-color: #337ab7; - color: #fff; -} -.nav > li { - display: block; - position: relative; -} -.nav-pills > li { - float: left; -} -.nav-pills > li > a { - border-radius: 4px; -} -.nav > li > a { - display: block; - padding: 10px 15px; - position: relative; -} - -btn-group-vertical > .btn-group::after, .btn-group-vertical > .btn-group::before, .btn-toolbar::after, .btn-toolbar::before, .clearfix::after, .clearfix::before, .container-fluid::after, .container-fluid::before, .container::after, .container::before, .dl-horizontal dd::after, .dl-horizontal dd::before, .form-horizontal .form-group::after, .form-horizontal .form-group::before, .modal-footer::after, .modal-footer::before, .modal-header::after, .modal-header::before, .nav::after, .nav::before, .navbar-collapse::after, .navbar-collapse::before, .navbar-header::after, .navbar-header::before, .navbar::after, .navbar::before, .pager::after, .pager::before, .panel-body::after, .panel-body::before, .row::after, .row::before { - content: " "; - display: table; -} -*::after, *::before { - box-sizing: border-box; -} -.btn-group-vertical > .btn-group::after, .btn-toolbar::after, .clearfix::after, .container-fluid::after, .container::after, .dl-horizontal dd::after, .form-horizontal .form-group::after, .modal-footer::after, .modal-header::after, .nav::after, .navbar-collapse::after, .navbar-header::after, .navbar::after, .pager::after, .panel-body::after, .row::after { - clear: both; -} -.btn-group-vertical > .btn-group::after, .btn-group-vertical > .btn-group::before, .btn-toolbar::after, .btn-toolbar::before, .clearfix::after, .clearfix::before, .container-fluid::after, .container-fluid::before, .container::after, .container::before, .dl-horizontal dd::after, .dl-horizontal dd::before, .form-horizontal .form-group::after, .form-horizontal .form-group::before, .modal-footer::after, .modal-footer::before, .modal-header::after, .modal-header::before, .nav::after, .nav::before, .navbar-collapse::after, .navbar-collapse::before, .navbar-header::after, .navbar-header::before, .navbar::after, .navbar::before, .pager::after, .pager::before, .panel-body::after, .panel-body::before, .row::after, .row::before { - content: " "; - display: table; -} -*::after, *::before { - box-sizing: border-box; -} -.bs-example > .alert:last-child, .bs-example > .form-control:last-child, .bs-example > .jumbotron:last-child, .bs-example > .list-group:last-child, .bs-example > .navbar:last-child, .bs-example > .panel:last-child, .bs-example > .progress:last-child, .bs-example > .table-responsive:last-child > .table, .bs-example > .table:last-child, .bs-example > .well:last-child, .bs-example > blockquote:last-child, .bs-example > ol:last-child, .bs-example > p:last-child, .bs-example > ul:last-child { - margin-bottom: 0; -} -.nav { - list-style: outside none none; - margin-bottom: 0; - padding-left: 0; -} #pr-tabs { diff --git a/pagure/templates/_browseheader.html b/pagure/templates/_browseheader.html index f50becb..b2e7dab 100644 --- a/pagure/templates/_browseheader.html +++ b/pagure/templates/_browseheader.html @@ -1,7 +1,7 @@ {% macro browse_header(select) -%} -
-
-
+
+
+ - - {% for item in field.data or [] %} - - {% endfor %} - - {% else %} - +
+ + {% for field in repo.issue_keys %} +
+ +
+

+ {% if field.name in knowns_keys %} + {% if field.key_type == 'link' %} + {% for link in knowns_keys[field.name].value.split(',') %} + {{ link }} +
+ {% endfor %} + {% else %} + {{ knowns_keys[field.name].value }} {% endif %} - {%- endif -%} /> - {% endif %} + {% endif %} +

+
- {% endif %} - {% endfor %} + {% if g.authenticated and g.repo_user %} +
+ + {% if field.key_type == 'list' %} + + {% else %} + + {% endif %} +
+ {% endif %} + {% endfor %} - - - cancel - - {% if g.authenticated and g.repo_user %} - - Edit Metadata + + + cancel - {% endif %} + {% if g.authenticated and g.repo_user %} + + Edit Metadata + + {% endif %} +
-
+ {% endif %}
- {% endif %} - -
+ + + + {% endblock %} @@ -591,7 +585,7 @@ function setup_reply_btns() { $( ".reply" ).click( function() { if ($(this).attr('data-toggle')){ - var _section = $(this).closest('.card-block'); + var _section = $(this).closest('.card-body'); } else { var _section = $(this).closest('.clearfix'); } diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index c2e0cc7..4be0e5b 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -18,18 +18,18 @@ {% else %} {{ issues|count }} Issues (of {{ issues_cnt }}) {% endif %} -
+
{% if repo.milestones %} Roadmap + class="btn btn-outline-dark btn-sm">Roadmap {% endif %} {% if g.repo_admin %} - Add milestone @@ -37,7 +37,7 @@ {% if g.repo.reports %} {% if oth_issues_cnt %} -
-
+
Open Closed All - Stats - +
- +
-
+
@@ -139,7 +139,7 @@ {% for tag in tag_list %} - - +
+
#{{ issue.id }} + #{{ issue.id }} {% if status != 'Open' %} - {{issue.close_status if issue.status == 'Closed' else issue.status }} {% endif %} {% if issue.private %} @@ -251,7 +251,7 @@ {% endif %} {% for tag in issue.tags %} - - + diff --git a/pagure/templates/master.html b/pagure/templates/master.html index 93c15b5..9e75c06 100644 --- a/pagure/templates/master.html +++ b/pagure/templates/master.html @@ -29,85 +29,79 @@
-
+
- - -
+ {% endif %} + + -
+
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
-
+
{% for category, message in messages %}
-
+
-