Skip to content

Commit

Permalink
click on stats(homepage) should redirect to pages
Browse files Browse the repository at this point in the history
  • Loading branch information
alishamohanty committed Jul 22, 2024
1 parent 5ea4c37 commit 0348948
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions resources/public/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ input:disabled, input[disabled], button[disabled], button:disabled {
margin-bottom: 5px;
}

.stat a:hover .label {
color: #5881D8 !important;
}

.stat .label {
color: #333;
font-size: 18px;
Expand Down
6 changes: 3 additions & 3 deletions src/goose/brokers/redis/console/pages/home.clj
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
[:main
[:section.statistics
(for [{:keys [id label route]} [{:id :enqueued :label "Enqueued" :route "/enqueued"}
{:id :scheduled :label "Scheduled" :route "/"} ;; Routed to homepage since pages are non-existent
{:id :periodic :label "Periodic" :route "/"}
{:id :dead :label "Dead" :route "/"}]]
{:id :scheduled :label "Scheduled" :route "/scheduled"}
{:id :periodic :label "Periodic" :route "/"} ;; Routed to homepage since pages are non-existent
{:id :dead :label "Dead" :route "/dead"}]]
[:div.stat {:id id}
[:span.number (str (get page-data id))]
[:a {:href (prefix-route route)}
Expand Down

0 comments on commit 0348948

Please sign in to comment.