diff options
author | Martin Liska <mliska@suse.cz> | 2018-03-09 11:05:08 +0000 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2018-03-09 11:05:08 +0000 |
commit | 58b8ee47b73ef4343bd52e1dbe780655a79aac88 (patch) | |
tree | 0134b53fcf3e3cdc5668cbf9d1961d66a3585cc6 | |
parent | 960affaadfabe99a559e5404842237cda13efc60 (diff) |
Always display Profile button when having a profile.
Differential Revision: https://reviews.llvm.org/D44144
git-svn-id: https://llvm.org/svn/llvm-project/lnt/trunk@327114 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lnt/server/ui/templates/layout.html | 10 | ||||
-rw-r--r-- | lnt/server/ui/templates/utils.html | 10 |
2 files changed, 5 insertions, 15 deletions
diff --git a/lnt/server/ui/templates/layout.html b/lnt/server/ui/templates/layout.html index 14e464e..dff16f4 100644 --- a/lnt/server/ui/templates/layout.html +++ b/lnt/server/ui/templates/layout.html @@ -81,16 +81,6 @@ } } - /* Make profile buttons invisible by default */ - tr .profile-btn { - visibility: hidden; - } - - /* But appear when their parent table rows are hovered. */ - tr:hover .profile-btn { - visibility: visible; - } - /* Floating headers can't have clear backgrounds. */ .floating_header thead { background-color: #FFFFFF; diff --git a/lnt/server/ui/templates/utils.html b/lnt/server/ui/templates/utils.html index a9eef6c..aec0182 100644 --- a/lnt/server/ui/templates/utils.html +++ b/lnt/server/ui/templates/utils.html @@ -37,19 +37,19 @@ {% if compare_profile and profile %} <a href="{{ v4_url_for('.v4_profile_fwd2', run1_id=run_id, run2_id=compare_run_id, testid=test_id) }}" - class="profile-btn btn btn-mini pull-right">Profile<i class="icon-eye-open"></i></a> + class="btn btn-mini pull-right">Profile <i class="icon-eye-open"></i></a> {% elif profile %} <a href="{{ v4_url_for('.v4_profile_fwd', run1_id=run_id, testid=test_id) }}" - class="profile-btn btn btn-mni pull-right profile-but-no-prev" data-toggle="tooltip" - title="This run has a profile, but the run being compared to does not">Profile<i class="icon-exclamation-sign"></i></a> + class="btn btn-mni pull-right profile-but-no-prev" data-toggle="tooltip" + title="This run has a profile, but the run being compared to does not">Profile <i class="icon-exclamation-sign"></i></a> {% elif compare_profile %} <a href="{{ v4_url_for('.v4_profile_fwd', run1_id=compare_run_id, testid=test_id) }}" - class="profile-btn bt btn-mini pull-right profile-prev-only" data-toggle="tooltip" - title="This run does not have a profile, but the run being compared to does">Profile<i class="icon-exclamation-sign"></i></a> + class="bt btn-mini pull-right profile-prev-only" data-toggle="tooltip" + title="This run does not have a profile, but the run being compared to does">Profile <i class="icon-exclamation-sign"></i></a> {% endif %} {% endif %} |