From 704de8f555ee2ae473fe8cbe7238f62d52cdb01c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 25 2016 10:20:53 +0000 Subject: [PATCH 1/2] Couple of CSS fixes for the footer and the menu - When the doc tab is showing up the menu would split over two lines on my weird setup - Change the color of the links in the footer to make them easier to see/find --- diff --git a/pagure/static/koji.css b/pagure/static/koji.css index 614d8d3..87e2867 100644 --- a/pagure/static/koji.css +++ b/pagure/static/koji.css @@ -250,7 +250,7 @@ position:relative; }*/ .nav-tabs .nav-link { - padding: 0.5em 0.8em; + padding: 0.5em 0.6em; } .red-icon { @@ -392,3 +392,5 @@ top:30%; right:22px; color:#aaa; } + +.footer a, .footer a:hover { color: #d9d9d9; } From 0f738a9a640da81d5c3ab941ee83068b19ec919b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jan 25 2016 10:20:53 +0000 Subject: [PATCH 2/2] Adjust the user activity graph to show we're loading something --- diff --git a/pagure/static/koji.css b/pagure/static/koji.css index 87e2867..046d6e9 100644 --- a/pagure/static/koji.css +++ b/pagure/static/koji.css @@ -394,3 +394,10 @@ color:#aaa; } .footer a, .footer a:hover { color: #d9d9d9; } + +#user_graph { + background-image: url("images/spinner.gif"); + background-position: center center; + background-repeat: no-repeat; + min-height: 150px; +} diff --git a/pagure/templates/_render_repo.html b/pagure/templates/_render_repo.html index 07dcbe1..0e9a006 100644 --- a/pagure/templates/_render_repo.html +++ b/pagure/templates/_render_repo.html @@ -211,7 +211,7 @@ {% macro render_contributions_graph(username) %} {% if config.get('DATAGREPPER_URL') %} -
+
Contributions View List
diff --git a/pagure/templates/user_info.html b/pagure/templates/user_info.html index f812776..63a4bb6 100644 --- a/pagure/templates/user_info.html +++ b/pagure/templates/user_info.html @@ -33,7 +33,7 @@
{{ render_repos_as_card(repos, repos_length, 'Projects', 'repopage', repopage, total_page_repos) }} {{ render_repos_as_card(forks, forks_length,'Forks', 'forkpage', forkpage, total_page_forks) }} - {{render_contributions_graph(username)}} + {{ render_contributions_graph(username) }}