Commit 40c17f2d authored by Fatih Acet's avatar Fatih Acet

Fix layout for cycle analytics.

parent 5fe993b3
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
.dropdown { .dropdown {
position: relative; position: relative;
top: 10px; top: 13px;
} }
} }
......
...@@ -8,49 +8,51 @@ ...@@ -8,49 +8,51 @@
.content-block .content-block
= icon("spinner spin", "v-if" => "isLoading") = icon("spinner spin", "v-if" => "isLoading")
.row .container-fluid
%template{"v-for" => "info in analytics.summary"} .row
.col-md-3.column %template{"v-for" => "info in analytics.summary"}
%span.header {{info.value}} .col-xs-3.column
%br %span.header {{info.value}}
%span.text {{info.desc}} %br
%span.text {{info.desc}}
.col-md-3.column
.dropdown.inline.js-ca-dropdown .col-xs-3.column
%button.dropdown-menu-toggle{"aria-expanded" => "false", "data-toggle" => "dropdown", :type => "button"} .dropdown.inline.js-ca-dropdown
%span.dropdown-label Last 30 days %button.dropdown-menu-toggle{"aria-expanded" => "false", "data-toggle" => "dropdown", :type => "button"}
%i.fa.fa-chevron-down %span.dropdown-label Last 30 days
%ul.dropdown-menu.dropdown-menu-align-right %i.fa.fa-chevron-down
%li %ul.dropdown-menu.dropdown-menu-align-right
%a{'href' => "#", 'data-value' => '30days'} %li
Last 30 days %a{'href' => "#", 'data-value' => '30days'}
%li Last 30 days
%a{'href' => "#", 'data-value' => '90days'} %li
Last 90 days %a{'href' => "#", 'data-value' => '90days'}
Last 90 days
.bordered-box .bordered-box
= icon("spinner spin", "v-if" => "isLoading") = icon("spinner spin", "v-if" => "isLoading")
%ul.content-list{{"v-if" => "!notAvailable"}} %ul.content-list{{"v-if" => "!notAvailable"}}
%li{"v-for" => "info in analytics.data"} %li{"v-for" => "info in analytics.data"}
.row .container-fluid
.col-md-10 .row
%span .col-xs-10
{{info.title}} %span
%br {{info.title}}
%span %br
{{info.desc}} %span
.col-md-2 {{info.desc}}
%span .col-xs-2
{{info.value}} %span
{{info.value}}
.content-block{{"v-if" => "notAvailable"}}
.inner-content .content-block{{"v-if" => "notAvailable"}}
= custom_icon('icon_cycle_analytics_splash') .inner-content
%h4 = custom_icon('icon_cycle_analytics_splash')
Set up your deploys to environment! %h4
%p Set up your deploys to environment!
Cycle Analytics will give an overview on how much time it takes to go from an idea to production in your project. %p
Cycle Analytics will give an overview on how much time it takes to go from an idea to production in your project.
= button_tag 'Set up', class: 'btn btn-create btn-block' = button_tag 'Set up', class: 'btn btn-create btn-block'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment