guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


From: Tobias Geerinckx-Rice
Date: Fri, 28 Oct 2022 12:55:21 -0400 (EDT)

branch: master
commit 4745c81875a86def20904ca2bd69732360d27b36
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Sun Oct 23 02:00:00 2022 +0200

    templates: Warn of the perils of stateful changes.
    
    * src/cuirass/templates.scm (specification-edit): Add a warning
    explaining that such changes might be overwritten.
---
 src/cuirass/templates.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm
index f732a1e..6ec2f02 100644
--- a/src/cuirass/templates.scm
+++ b/src/cuirass/templates.scm
@@ -666,11 +666,13 @@ the existing SPEC otherwise."
                                        ,system)))
                         %cuirass-supported-systems))
             (div (@ (class "form-group row"))
-                 (div (@ (class "col-sm-4"))
+                 (div (@ (class "col-sm-2"))
                       (button
                        (@ (type "submit")
                           (class "btn btn-primary"))
-                       " Submit")))))))
+                       " Submit"))
+                (div (@ (class "col-sm-10 text-warning"))
+                     "Declarative configuration updates may overwrite these 
settings!"))))))
 
 (define (build-details build dependencies products history)
   "Return HTML showing details for the BUILD."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]