diff --git a/app/cdash/public/api/v1/index.php b/app/cdash/public/api/v1/index.php index 604268823a..aa30225989 100644 --- a/app/cdash/public/api/v1/index.php +++ b/app/cdash/public/api/v1/index.php @@ -209,7 +209,17 @@ } else { $base_url = "index.php?project={$projectname_encoded}"; } - $response['menu']['current'] = "$base_url"; + + // Only show 'current' button if we're not already on the current date + // Check if a date was explicitly provided in the URL + $date_specified = isset($_GET['date']); + + if ($date_specified && $response['date'] !== $response['currentdate']) { + $response['menu']['current'] = "$base_url"; + } else { + $response['menu']['current'] = false; + } + $controller->determineNextPrevious($response, $base_url); } $response['childview'] = $controller->childView ? 1 : 0; diff --git a/composer.json b/composer.json index 4f57388587..080246b30a 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,6 @@ "email": "kitware@kitware.com", "issues": "https://github.com/Kitware/CDash/issues", "source": "https://github.com/Kitware/CDash", - "wiki": "http://public.kitware.com/Wiki/CDash" }, "require": { "php": "^8.3", diff --git a/resources/css/common.css b/resources/css/common.css index 12651abd7b..cb2f878d95 100644 --- a/resources/css/common.css +++ b/resources/css/common.css @@ -737,6 +737,7 @@ div#headertop { #headermenu #navigation li a:active, #headermenu #navigation li a:visited { color:#666666; + cursor:pointer; display:block; font-size:16px; height:100%; @@ -900,61 +901,7 @@ div#main_content { padding: 1em 2em; } -#settings { - cursor: pointer; - float: right; - height: 20px; - margin-right:0; - margin-top:20px; - position:relative; - width: 20px; -} - -#settings ul{ - -webkit-box-shadow: 0px 20px 27px -2px rgba(0,0,0,0.3); - -moz-box-shadow: 0px 20px 27px -2px rgba(0,0,0,0.3); - box-shadow: 0px 20px 27px -2px rgba(0,0,0,0.3); - list-style: none; - margin:0; - padding:0; - position:absolute; - right:27px; - top:0; - width:130px; - z-index:5000; -} - -#settings ul li { - background:#e0e0e0; - border-bottom:1px solid #bbbbbb; - display: block; - transition:all .15s ease-in-out; -} - -#settings ul li a { - color: #666666; - display: block; - height: 100%; - padding-left: 10px; - position: relative; - text-decoration: none; - transition:all .15s ease-in-out; - width: 100%; -} - -#settings ul li:hover { - background:#efefef; - border-left:4px solid #5775b9; -} - -#settings ul li:hover a { - color:#000000; - text-decoration: none; -} - -#settings ul.visible { - display: block; -} +/* #settings styles removed - now using header navigation menu */ /* Table Styles */ @@ -990,17 +937,17 @@ div#main_content { } .buildgroup > table.tabb { - -webkit-border-radius:3px; - -moz-border-radius:3px; - border-radius:3px; + -webkit-border-radius: 0 0 8px 8px; + -moz-border-radius: 0 0 8px 8px; + border-radius: 0 0 8px 8px; -webkit-box-shadow:0px 3px 10px -2px rgba(0,0,0,0.4); -moz-box-shadow:0px 3px 10px -2px rgba(0,0,0,0.4); box-shadow:0px 3px 10px -2px rgba(0,0,0,0.4); - overflow:scroll; + overflow:hidden; } .buildgroup > table.tabb tbody { - border-bottom:5px solid #555555; + /* Removed dark border for modern card design */ } .buildgroup table.tabb .table-heading1, diff --git a/resources/js/angular/views/index.html b/resources/js/angular/views/index.html index b671264f1c..755ab733eb 100644 --- a/resources/js/angular/views/index.html +++ b/resources/js/angular/views/index.html @@ -8,45 +8,6 @@ {{::banner}} -
- - -
- diff --git a/resources/js/angular/views/partials/buildgroup.html b/resources/js/angular/views/partials/buildgroup.html index d2d8fb1b44..a1fe38dfc3 100644 --- a/resources/js/angular/views/partials/buildgroup.html +++ b/resources/js/angular/views/partials/buildgroup.html @@ -1,15 +1,30 @@ -

- - {{::buildgroup.name}} - - {{::buildgroup.numbuildslabel}} - [view timeline] -

- + +
+
+

+ + {{::buildgroup.name}} + +

+ {{::buildgroup.numbuildslabel}} +
+ + + + + View Timeline + + +
+ +
+ @@ -20,6 +35,13 @@

+ + @@ -409,16 +404,11 @@ Protected - - - - - - @@ -635,16 +620,11 @@ @change="changeViewerType()" @focus="showHelp('svnViewer_help')" > - - - - - - - - - @@ -815,15 +785,11 @@ @change="cdash.changesmade = true" @focus="showHelp('svnUsername_help')" > - - + > @@ -842,15 +808,11 @@ @change="cdash.changesmade = true" @focus="showHelp('svnPassword_help')" > - - + > @@ -914,16 +876,11 @@ @change="cdash.changesmade = true" @focus="showHelp('TestingDataUrl_help')" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Block List - - - @@ -1623,16 +1525,11 @@ > CTestConfig.cmake - - - - - - - - - - - - - - - - - - - - - - - - Calendar +
  • + View + +
  • Project
  • Update Configure
    + + diff --git a/resources/js/angular/views/partials/filterdataTemplate.html b/resources/js/angular/views/partials/filterdataTemplate.html index 81d9c209c0..c5328e549d 100644 --- a/resources/js/angular/views/partials/filterdataTemplate.html +++ b/resources/js/angular/views/partials/filterdataTemplate.html @@ -1,13 +1,12 @@
    -
    - Help -

    Filters

    +
    +

    + Filters +

    +
    • Filters
    -
    +
    -
    - Limit results to - - - rows (0 for unlimited) +
    +
    -
    +
    -
    -
    +
    +
    - -   - -   - + + +
    -
    +
    +
    diff --git a/resources/js/vue/components/EditProject.vue b/resources/js/vue/components/EditProject.vue index 28702a6962..6f2e14ce18 100644 --- a/resources/js/vue/components/EditProject.vue +++ b/resources/js/vue/components/EditProject.vue @@ -312,16 +312,11 @@ {{ type }} - - -