[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: Remove the evaluation restart dropdown arrow.
From: |
Mathieu Othacehe |
Subject: |
branch master updated: Remove the evaluation restart dropdown arrow. |
Date: |
Thu, 18 Feb 2021 09:37:43 -0500 |
This is an automated email from the git hooks/post-receive script.
mothacehe pushed a commit to branch master
in repository guix-cuirass.
The following commit(s) were added to refs/heads/master by this push:
new efb140d Remove the evaluation restart dropdown arrow.
efb140d is described below
commit efb140d3d5cdd0fc82a89dae539d653774b097f6
Author: Mathieu Othacehe <othacehe@gnu.org>
AuthorDate: Thu Feb 18 15:37:10 2021 +0100
Remove the evaluation restart dropdown arrow.
* src/cuirass/templates.scm: Remove the evaluation restart dropdown arrow.
* src/static/css/cuirass.css (no-dropdown-arrow): New rule.
---
src/cuirass/templates.scm | 29 +++++++++++++++--------------
src/static/css/cuirass.css | 5 +++++
2 files changed, 20 insertions(+), 14 deletions(-)
diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index a57653b..56816ed 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -506,20 +506,21 @@ system whose names start with " (code "guile-") ":" (br)
(td ,(input-changes (assq-ref row #:checkouts)))
(td ,@(evaluation-badges row))
(td
- (div (@ (class "dropdown"))
- (a (@ (class "oi oi-menu dropdown-toggle")
- (href "#")
- (data-toggle "dropdown")
- (role "button")
- (aria-haspopup "true")
- (aria-expanded "false"))
- " ")
- (div (@ (class "dropdown-menu"))
- (a (@ (class "dropdown-item")
- (href "/admin/evaluation/"
- ,(assq-ref row #:id)
- "/restart"))
- "Restart"))))))
+ (div
+ (@ (class "dropdown"))
+ (a (@ (class "oi oi-menu dropdown-toggle
no-dropdown-arrow")
+ (href "#")
+ (data-toggle "dropdown")
+ (role "button")
+ (aria-haspopup "true")
+ (aria-expanded "false"))
+ " ")
+ (div (@ (class "dropdown-menu"))
+ (a (@ (class "dropdown-item")
+ (href "/admin/evaluation/"
+ ,(assq-ref row #:id)
+ "/restart"))
+ "Restart"))))))
evaluations)))))
,(if (null? evaluations)
(pagination "" "" "" "")
diff --git a/src/static/css/cuirass.css b/src/static/css/cuirass.css
index 4e97c3d..e713b6f 100644
--- a/src/static/css/cuirass.css
+++ b/src/static/css/cuirass.css
@@ -37,3 +37,8 @@ a.dropdown-toggle:focus + .dropdown-menu {
visibility: hidden;
transition: visibility 0.5s;
}
+
+/* Remove the dropdown-toggle arrow. */
+.no-dropdown-arrow::after {
+ content: none;
+}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: Remove the evaluation restart dropdown arrow.,
Mathieu Othacehe <=