Repository :
http://git.fedorahosted.org/cgit/copr.git
On branch : master
---------------------------------------------------------------
commit 00d5f77844a16e37affea7dace8e44391d3b7b9d
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Wed Apr 23 15:08:16 2014 +0200
1086729 - make build tab friendly for users without JS
all entries are shown by default and hide them when page is loaded.
---------------------------------------------------------------
frontend/coprs_frontend/coprs/static/copr.css | 1 -
frontend/coprs_frontend/coprs/static/copr.js | 5 +++++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/frontend/coprs_frontend/coprs/static/copr.css
b/frontend/coprs_frontend/coprs/static/copr.css
index 102e033..03586c5 100644
--- a/frontend/coprs_frontend/coprs/static/copr.css
+++ b/frontend/coprs_frontend/coprs/static/copr.css
@@ -288,7 +288,6 @@ table.builds-table form {
table.builds-table tr.details {
width: 100%;
- display: none;
}
table.status-table {
diff --git a/frontend/coprs_frontend/coprs/static/copr.js
b/frontend/coprs_frontend/coprs/static/copr.js
index 41b9fd6..d4fb222 100644
--- a/frontend/coprs_frontend/coprs/static/copr.js
+++ b/frontend/coprs_frontend/coprs/static/copr.js
@@ -1,3 +1,8 @@
+//hide build details
+$(document).ready(function () {
+ $("table.builds-table tr.details").hide();
+});
+
// showing build details
$(document).ready(function () {
$("table.builds-table tr[class^='build-']").each(function (i, e) {