update build list log view
This commit is contained in:
parent
6facf6c7c1
commit
bc9ebf46df
|
@ -1,3 +1,3 @@
|
||||||
accordion .build-log
|
.build-log
|
||||||
height: 300px
|
pre
|
||||||
overflow-y: auto
|
font-size: 11px
|
|
@ -8,10 +8,9 @@
|
||||||
|
|
||||||
= render 'submenu'
|
= render 'submenu'
|
||||||
|
|
||||||
div[class = 'row'
|
row[ ng-controller='BuildListController'
|
||||||
ng-controller = 'BuildListController'
|
ng-init ="advisoriable_types = #{ BuildList::RELEASE_UPDATE_TYPES }"
|
||||||
ng-init = "advisoriable_types = #{ BuildList::RELEASE_UPDATE_TYPES }"
|
ng-cloak =true ]
|
||||||
ng-cloak = true ]
|
|
||||||
= hidden_field_tag :build_list_id, @build_list.id
|
= hidden_field_tag :build_list_id, @build_list.id
|
||||||
.col-md-8.col-md-offset-2.alert.alert-info
|
.col-md-8.col-md-offset-2.alert.alert-info
|
||||||
.alert.pull-left.submenu ng-class='"alert-" + build_list.status_color'
|
.alert.pull-left.submenu ng-class='"alert-" + build_list.status_color'
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/ params: get_log_path
|
/ params: get_log_path
|
||||||
|
.panel.panel-info
|
||||||
accordion close-others='false' ng-cloak=true
|
.panel-heading.pointer ng-click='$parent.isOpenBuildLog = !$parent.isOpenBuildLog'
|
||||||
accordion-group is-open='$parent.isOpenBuildLog'
|
span.fa.fa-info-circle.fa-lg
|
||||||
accordion-heading
|
=< t 'layout.build_lists.log.build_log'
|
||||||
= t('layout.build_lists.log.build_log')
|
span.pull-right.fa ng-class="{'fa-chevron-down': $parent.isOpenBuildLog, 'fa-chevron-up': !$parent.isOpenBuildLog}"
|
||||||
span.pull-right.fa ng-class="{'fa-chevron-down': isOpenBuildLog, 'fa-chevron-up': !isOpenBuildLog}"
|
.panel-body ng-show = '$parent.isOpenBuildLog'
|
||||||
.row.build-log ng-controller='BuildLogController' ng-init="init('#{ get_log_path }')"
|
.row.build-log.small ng-controller='BuildLogController' ng-init="init('#{ get_log_path }')"
|
||||||
.col-md-12 ng-bind-html='log'
|
.col-md-12 ng-bind-html='log'
|
||||||
|
|
Loading…
Reference in New Issue