2012-11-09 17:42:25 +00:00
|
|
|
-#
|
|
|
|
params:
|
|
|
|
- build_started
|
|
|
|
- download_log_url
|
|
|
|
- get_log_path
|
|
|
|
|
|
|
|
- download_log_url ||= false
|
|
|
|
|
|
|
|
.hr
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{name: 'log'}
|
2012-11-09 17:42:25 +00:00
|
|
|
.log-wrapper
|
|
|
|
.log-header
|
|
|
|
.text-wrap
|
2014-01-21 04:51:49 +00:00
|
|
|
= link_to({anchor: :log}, {id: 'log_anchor'}) do
|
2012-11-09 17:42:25 +00:00
|
|
|
%h3= t("layout.build_lists.log.build_log")
|
|
|
|
%span
|
|
|
|
.both
|
|
|
|
.log-body.hidden
|
|
|
|
.reloader
|
|
|
|
%table.options
|
|
|
|
%tr.top
|
|
|
|
%td.first
|
|
|
|
= label_tag :word_wrap do
|
|
|
|
= check_box_tag :word_wrap
|
|
|
|
= t("layout.word_wrap")
|
2014-01-21 04:51:49 +00:00
|
|
|
%td.last{ class: build_started ? nil : :hidden }
|
2012-11-09 17:42:25 +00:00
|
|
|
= label_tag :autoreload do
|
|
|
|
= check_box_tag :autoreload, true, build_started
|
|
|
|
= t("layout.build_lists.log.autoreload")
|
|
|
|
= select_tag :reload_interval, log_reload_time_options
|
2013-06-28 13:32:40 +01:00
|
|
|
|
|
|
|
.both
|
2014-01-21 04:51:49 +00:00
|
|
|
#output.cm-s-default.log{ readonly: :readonly,
|
|
|
|
data: { url: get_log_path, log_type: :build } }
|
2013-06-28 13:32:40 +01:00
|
|
|
%pre#code
|
2012-11-09 17:42:25 +00:00
|
|
|
.both
|
|
|
|
.both
|
|
|
|
|
2013-06-28 13:32:40 +01:00
|
|
|
|
2012-11-09 17:42:25 +00:00
|
|
|
:javascript
|
|
|
|
$(function() {
|
|
|
|
initLogWrapper();
|
|
|
|
});
|