parent
a8796f5fb2
commit
dcde2a9772
|
@ -80,9 +80,9 @@
|
|||
(let [repos-loading? (rf/subscribe [:repos-loading?])]
|
||||
(fn []
|
||||
(if @repos-loading?
|
||||
[:div
|
||||
[:div.view-loading-container
|
||||
[:div.ui.active.inverted.dimmer
|
||||
[:div.ui.text.loader "Loading"]]]
|
||||
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||
[repos-list]))))
|
||||
|
||||
(defn repos-page []
|
||||
|
|
|
@ -45,9 +45,9 @@
|
|||
(let [metrics-loading? (rf/subscribe [:metrics-loading?])]
|
||||
(fn []
|
||||
(if @metrics-loading?
|
||||
[:div
|
||||
[:div.view-loading-container
|
||||
[:div.ui.active.inverted.dimmer
|
||||
[:div.ui.text.loader "Loading"]]]
|
||||
[:div.ui.text.loader.view-loading-label "Loading"]]]
|
||||
[:div
|
||||
[:h2 "Usage metrics for the past 30 days"]
|
||||
[chartjs-component]]))))
|
||||
|
|
|
@ -291,6 +291,23 @@
|
|||
}
|
||||
}
|
||||
|
||||
.view-loading-container {
|
||||
padding: 64px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
height: auto;
|
||||
border-radius: 10px;
|
||||
|
||||
.ui.inverted.dimmer {
|
||||
background-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
.view-loading-label {
|
||||
font-size: 18px !important;
|
||||
}
|
||||
|
||||
.repo-label {
|
||||
color: #42505c;
|
||||
font-family: "PostGrotesk-Medium";
|
||||
|
|
Loading…
Reference in New Issue