update build list log view

This commit is contained in:
Alexander Machehin 2015-03-27 16:04:47 +05:00
parent 6facf6c7c1
commit bc9ebf46df
3 changed files with 13 additions and 14 deletions

View File

@ -1,3 +1,3 @@
accordion .build-log
height: 300px
overflow-y: auto
.build-log
pre
font-size: 11px

View File

@ -8,10 +8,9 @@
= render 'submenu'
div[class = 'row'
ng-controller = 'BuildListController'
ng-init = "advisoriable_types = #{ BuildList::RELEASE_UPDATE_TYPES }"
ng-cloak = true ]
row[ ng-controller='BuildListController'
ng-init ="advisoriable_types = #{ BuildList::RELEASE_UPDATE_TYPES }"
ng-cloak =true ]
= hidden_field_tag :build_list_id, @build_list.id
.col-md-8.col-md-offset-2.alert.alert-info
.alert.pull-left.submenu ng-class='"alert-" + build_list.status_color'

View File

@ -1,9 +1,9 @@
/ params: get_log_path
accordion close-others='false' ng-cloak=true
accordion-group is-open='$parent.isOpenBuildLog'
accordion-heading
= t('layout.build_lists.log.build_log')
span.pull-right.fa ng-class="{'fa-chevron-down': isOpenBuildLog, 'fa-chevron-up': !isOpenBuildLog}"
.row.build-log ng-controller='BuildLogController' ng-init="init('#{ get_log_path }')"
.panel.panel-info
.panel-heading.pointer ng-click='$parent.isOpenBuildLog = !$parent.isOpenBuildLog'
span.fa.fa-info-circle.fa-lg
=< t 'layout.build_lists.log.build_log'
span.pull-right.fa ng-class="{'fa-chevron-down': $parent.isOpenBuildLog, 'fa-chevron-up': !$parent.isOpenBuildLog}"
.panel-body ng-show = '$parent.isOpenBuildLog'
.row.build-log.small ng-controller='BuildLogController' ng-init="init('#{ get_log_path }')"
.col-md-12 ng-bind-html='log'