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 .build-log
height: 300px pre
overflow-y: auto font-size: 11px

View File

@ -8,8 +8,7 @@
= 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

View File

@ -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'