fluentd-ui 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of fluentd-ui might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.eslintrc.js +2 -1
- data/ChangeLog.md +8 -0
- data/Gemfile.lock +28 -28
- data/app/assets/stylesheets/application.css +1 -0
- data/app/controllers/misc_controller.rb +8 -0
- data/app/controllers/plugins_controller.rb +20 -3
- data/app/decorators/plugin_decorator.rb +18 -0
- data/app/helpers/application_helper.rb +0 -10
- data/app/javascript/packs/application.js +7 -5
- data/app/javascript/packs/codemirror.js +2 -1
- data/app/javascript/packs/{aws_credential.js → components/aws_credential.js} +0 -0
- data/app/javascript/packs/components/config_field.js +110 -0
- data/app/javascript/packs/{grep_container.js → components/grep_container.js} +1 -1
- data/app/javascript/packs/{grep_pattern.js → components/grep_pattern.js} +4 -2
- data/app/javascript/packs/components/owned_plugin_form.js +88 -0
- data/app/javascript/packs/{parser_multiline_form.js → components/parser_multiline_form.js} +0 -0
- data/app/javascript/packs/{owned_plugin_form.js → components/parser_plugin_form.js} +12 -20
- data/app/javascript/packs/{transport_config.js → components/transport_config.js} +0 -0
- data/app/javascript/packs/filter_grep_setting.js +2 -2
- data/app/javascript/packs/fluent_log.js +1 -1
- data/app/javascript/packs/in_tail_parse.js +20 -16
- data/app/javascript/packs/{notification.js → navigation.js} +8 -6
- data/app/javascript/packs/nested_settings.js +1 -1
- data/app/javascript/packs/out_forward_setting.js +3 -3
- data/app/javascript/packs/out_s3_setting.js +3 -3
- data/app/javascript/packs/plugin_setting.js +4 -2
- data/app/javascript/packs/settings.js +2 -2
- data/app/javascript/packs/store/index.js +21 -0
- data/app/javascript/packs/store/modules/parser_params.js +83 -0
- data/app/javascript/packs/transport_section.js +2 -2
- data/app/javascript/packs/treeview.js +1 -1
- data/app/models/concerns/fluentd/setting/configurable.rb +1 -1
- data/app/models/concerns/fluentd/setting/formatter_advanced_options.rb +22 -0
- data/app/models/concerns/fluentd/setting/label.rb +1 -1
- data/app/models/concerns/fluentd/setting/parser_advanced_options.rb +27 -0
- data/app/models/concerns/fluentd/setting/plugin.rb +12 -1
- data/app/models/fluentd/setting/buffer_file.rb +4 -0
- data/app/models/fluentd/setting/buffer_memory.rb +4 -0
- data/app/models/fluentd/setting/parser_ltsv.rb +1 -1
- data/app/models/fluentd/setting/parser_regexp.rb +2 -2
- data/app/models/fluentd/setting/parser_syslog.rb +2 -8
- data/app/models/plugin.rb +4 -4
- data/app/views/fluentd/settings/in_tail/_form.html.haml +3 -3
- data/app/views/fluentd/settings/in_tail/after_file_choose.html.haml +1 -1
- data/app/views/fluentd/settings/source_and_output.html.haml +10 -10
- data/app/views/layouts/application.html.erb +2 -28
- data/app/views/misc/information.html.haml +48 -44
- data/app/views/plugins/installed.html.haml +49 -60
- data/app/views/plugins/recommended.html.haml +54 -54
- data/app/views/sessions/new.html.haml +10 -4
- data/app/views/shared/settings/_form.html.haml +16 -13
- data/app/views/shared/vue/_aws_credential.html.haml +2 -4
- data/app/views/shared/vue/_config_field.html.haml +16 -30
- data/app/views/shared/vue/_grep_container.html.haml +13 -14
- data/app/views/shared/vue/_grep_pattern.html.haml +10 -6
- data/app/views/shared/vue/_in_tail_parse.html.haml +13 -13
- data/app/views/shared/vue/_navigation.html.haml +38 -0
- data/app/views/shared/vue/_owned_plugin_form.html.haml +18 -13
- data/app/views/shared/vue/_parser_multiline_form.html.haml +5 -3
- data/app/views/shared/vue/_parser_plugin_form.html.haml +40 -0
- data/app/views/shared/vue/_setting.html.haml +20 -0
- data/app/views/shared/vue/_sidemenu.html.haml +40 -0
- data/app/views/shared/vue/_transport_section.html.haml +10 -8
- data/app/views/shared/vue/_treeview.html.haml +30 -0
- data/config/locales/translation_en.yml +1 -0
- data/config/locales/translation_ja.yml +1 -0
- data/lib/fluentd-ui/version.rb +1 -1
- data/lib/regexp_preview/multi_line.rb +4 -3
- data/lib/regexp_preview/single_line.rb +4 -3
- data/package.json +3 -1
- data/test/test_helper.rb +5 -0
- data/yarn.lock +111 -5
- metadata +62 -78
- data/app/javascript/packs/config_field.js +0 -93
- data/app/views/shared/_global_nav.html.erb +0 -80
- data/app/views/shared/_modal.html.erb +0 -25
- data/app/views/shared/vue/_notification.html.erb +0 -27
- data/app/views/shared/vue/_setting.html.erb +0 -25
- data/app/views/shared/vue/_treeview.html.erb +0 -33
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluentd-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-11-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -433,23 +433,26 @@ files:
|
|
433
433
|
- app/form_builders/fluentd_form_builder.rb
|
434
434
|
- app/helpers/application_helper.rb
|
435
435
|
- app/javascript/packs/application.js
|
436
|
-
- app/javascript/packs/aws_credential.js
|
437
436
|
- app/javascript/packs/codemirror.js
|
438
|
-
- app/javascript/packs/
|
437
|
+
- app/javascript/packs/components/aws_credential.js
|
438
|
+
- app/javascript/packs/components/config_field.js
|
439
|
+
- app/javascript/packs/components/grep_container.js
|
440
|
+
- app/javascript/packs/components/grep_pattern.js
|
441
|
+
- app/javascript/packs/components/owned_plugin_form.js
|
442
|
+
- app/javascript/packs/components/parser_multiline_form.js
|
443
|
+
- app/javascript/packs/components/parser_plugin_form.js
|
444
|
+
- app/javascript/packs/components/transport_config.js
|
439
445
|
- app/javascript/packs/filter_grep_setting.js
|
440
446
|
- app/javascript/packs/fluent_log.js
|
441
|
-
- app/javascript/packs/grep_container.js
|
442
|
-
- app/javascript/packs/grep_pattern.js
|
443
447
|
- app/javascript/packs/in_tail_parse.js
|
448
|
+
- app/javascript/packs/navigation.js
|
444
449
|
- app/javascript/packs/nested_settings.js
|
445
|
-
- app/javascript/packs/notification.js
|
446
450
|
- app/javascript/packs/out_forward_setting.js
|
447
451
|
- app/javascript/packs/out_s3_setting.js
|
448
|
-
- app/javascript/packs/owned_plugin_form.js
|
449
|
-
- app/javascript/packs/parser_multiline_form.js
|
450
452
|
- app/javascript/packs/plugin_setting.js
|
451
453
|
- app/javascript/packs/settings.js
|
452
|
-
- app/javascript/packs/
|
454
|
+
- app/javascript/packs/store/index.js
|
455
|
+
- app/javascript/packs/store/modules/parser_params.js
|
453
456
|
- app/javascript/packs/transport_section.js
|
454
457
|
- app/javascript/packs/treeview.js
|
455
458
|
- app/javascript/stylesheets/application.scss
|
@@ -464,7 +467,9 @@ files:
|
|
464
467
|
- app/models/.keep
|
465
468
|
- app/models/concerns/.keep
|
466
469
|
- app/models/concerns/fluentd/setting/configurable.rb
|
470
|
+
- app/models/concerns/fluentd/setting/formatter_advanced_options.rb
|
467
471
|
- app/models/concerns/fluentd/setting/label.rb
|
472
|
+
- app/models/concerns/fluentd/setting/parser_advanced_options.rb
|
468
473
|
- app/models/concerns/fluentd/setting/pattern.rb
|
469
474
|
- app/models/concerns/fluentd/setting/plugin.rb
|
470
475
|
- app/models/concerns/fluentd/setting/plugin_config.rb
|
@@ -579,9 +584,7 @@ files:
|
|
579
584
|
- app/views/shared/_error.html.haml
|
580
585
|
- app/views/shared/_flash.html.haml
|
581
586
|
- app/views/shared/_fluentd_nav.html.haml
|
582
|
-
- app/views/shared/_global_nav.html.erb
|
583
587
|
- app/views/shared/_initial_setup.html.haml
|
584
|
-
- app/views/shared/_modal.html.erb
|
585
588
|
- app/views/shared/_setting_errors.html.haml
|
586
589
|
- app/views/shared/settings/_diff.html.erb
|
587
590
|
- app/views/shared/settings/_form.html.haml
|
@@ -593,15 +596,17 @@ files:
|
|
593
596
|
- app/views/shared/vue/_grep_container.html.haml
|
594
597
|
- app/views/shared/vue/_grep_pattern.html.haml
|
595
598
|
- app/views/shared/vue/_in_tail_parse.html.haml
|
596
|
-
- app/views/shared/vue/
|
599
|
+
- app/views/shared/vue/_navigation.html.haml
|
597
600
|
- app/views/shared/vue/_out_forward_setting.html.haml
|
598
601
|
- app/views/shared/vue/_out_s3_setting.html.haml
|
599
602
|
- app/views/shared/vue/_owned_plugin_form.html.haml
|
600
603
|
- app/views/shared/vue/_parser_multiline_form.html.haml
|
601
|
-
- app/views/shared/vue/
|
604
|
+
- app/views/shared/vue/_parser_plugin_form.html.haml
|
605
|
+
- app/views/shared/vue/_setting.html.haml
|
606
|
+
- app/views/shared/vue/_sidemenu.html.haml
|
602
607
|
- app/views/shared/vue/_transport_config.html.haml
|
603
608
|
- app/views/shared/vue/_transport_section.html.haml
|
604
|
-
- app/views/shared/vue/_treeview.html.
|
609
|
+
- app/views/shared/vue/_treeview.html.haml
|
605
610
|
- app/views/tutorials/chapter1.html.erb
|
606
611
|
- app/views/tutorials/chapter2.html.haml
|
607
612
|
- app/views/tutorials/chapter3.html.haml
|
@@ -691,9 +696,9 @@ files:
|
|
691
696
|
- public/404.html
|
692
697
|
- public/422.html
|
693
698
|
- public/500.html
|
694
|
-
- public/assets/.sprockets-manifest-
|
695
|
-
- public/assets/application-
|
696
|
-
- public/assets/application-
|
699
|
+
- public/assets/.sprockets-manifest-2ecbbcc02ce4a3565e09e5e3baf61f50.json
|
700
|
+
- public/assets/application-56578cfe31e590c32f198be15131a59f3aaa1476e7657ab7f8d324ba51ccaf4a.css
|
701
|
+
- public/assets/application-56578cfe31e590c32f198be15131a59f3aaa1476e7657ab7f8d324ba51ccaf4a.css.gz
|
697
702
|
- public/assets/fontawesome-webfont-2adefcbc041e7d18fcf2d417879dc5a09997aa64d675b7a3c4b6ce33da13f3fe.woff2
|
698
703
|
- public/assets/fontawesome-webfont-7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979.eot
|
699
704
|
- public/assets/fontawesome-webfont-7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979.eot.gz
|
@@ -706,70 +711,49 @@ files:
|
|
706
711
|
- public/fluentd-logo-right-text.png
|
707
712
|
- public/fluentd-logo.png
|
708
713
|
- public/fluentd.png
|
714
|
+
- public/packs/application-a9b9f25982e1582ea5ed.js
|
715
|
+
- public/packs/application-a9b9f25982e1582ea5ed.js.gz
|
716
|
+
- public/packs/application-a9b9f25982e1582ea5ed.js.map
|
709
717
|
- public/packs/application-d41d8cd98f00b204e9800998ecf8427e.css
|
710
718
|
- public/packs/application-d41d8cd98f00b204e9800998ecf8427e.css.map
|
711
|
-
- public/packs/
|
712
|
-
- public/packs/
|
713
|
-
- public/packs/
|
714
|
-
- public/packs/
|
715
|
-
- public/packs/
|
716
|
-
- public/packs/
|
717
|
-
- public/packs/
|
718
|
-
- public/packs/
|
719
|
-
- public/packs/
|
720
|
-
- public/packs/
|
721
|
-
- public/packs/
|
722
|
-
- public/packs/
|
723
|
-
- public/packs/filter_grep_setting-68ea1a819739c83b4999.js
|
724
|
-
- public/packs/filter_grep_setting-68ea1a819739c83b4999.js.gz
|
725
|
-
- public/packs/filter_grep_setting-68ea1a819739c83b4999.js.map
|
726
|
-
- public/packs/fluent_log-755084e743096ea8b024.js
|
727
|
-
- public/packs/fluent_log-755084e743096ea8b024.js.gz
|
728
|
-
- public/packs/fluent_log-755084e743096ea8b024.js.map
|
729
|
-
- public/packs/grep_container-37791f0d467870185c54.js
|
730
|
-
- public/packs/grep_container-37791f0d467870185c54.js.gz
|
731
|
-
- public/packs/grep_container-37791f0d467870185c54.js.map
|
732
|
-
- public/packs/grep_pattern-2dd582b3b30589c84945.js
|
733
|
-
- public/packs/grep_pattern-2dd582b3b30589c84945.js.gz
|
734
|
-
- public/packs/grep_pattern-2dd582b3b30589c84945.js.map
|
735
|
-
- public/packs/in_tail_parse-833d7abdadeb0c482213.js
|
736
|
-
- public/packs/in_tail_parse-833d7abdadeb0c482213.js.gz
|
737
|
-
- public/packs/in_tail_parse-833d7abdadeb0c482213.js.map
|
719
|
+
- public/packs/codemirror-a7709187a3c4fb173a90.js
|
720
|
+
- public/packs/codemirror-a7709187a3c4fb173a90.js.gz
|
721
|
+
- public/packs/codemirror-a7709187a3c4fb173a90.js.map
|
722
|
+
- public/packs/filter_grep_setting-2a4b2251e6caa7f5a355.js
|
723
|
+
- public/packs/filter_grep_setting-2a4b2251e6caa7f5a355.js.gz
|
724
|
+
- public/packs/filter_grep_setting-2a4b2251e6caa7f5a355.js.map
|
725
|
+
- public/packs/fluent_log-0a5e10dca9d25077b0f4.js
|
726
|
+
- public/packs/fluent_log-0a5e10dca9d25077b0f4.js.gz
|
727
|
+
- public/packs/fluent_log-0a5e10dca9d25077b0f4.js.map
|
728
|
+
- public/packs/in_tail_parse-cdac5c34452585a970c4.js
|
729
|
+
- public/packs/in_tail_parse-cdac5c34452585a970c4.js.gz
|
730
|
+
- public/packs/in_tail_parse-cdac5c34452585a970c4.js.map
|
738
731
|
- public/packs/manifest.json
|
739
732
|
- public/packs/manifest.json.gz
|
740
|
-
- public/packs/
|
741
|
-
- public/packs/
|
742
|
-
- public/packs/
|
743
|
-
- public/packs/
|
744
|
-
- public/packs/
|
745
|
-
- public/packs/
|
746
|
-
- public/packs/out_forward_setting-
|
747
|
-
- public/packs/out_forward_setting-
|
748
|
-
- public/packs/out_forward_setting-
|
749
|
-
- public/packs/out_s3_setting-
|
750
|
-
- public/packs/out_s3_setting-
|
751
|
-
- public/packs/out_s3_setting-
|
752
|
-
- public/packs/
|
753
|
-
- public/packs/
|
754
|
-
- public/packs/
|
755
|
-
- public/packs/
|
756
|
-
- public/packs/
|
757
|
-
- public/packs/
|
758
|
-
- public/packs/
|
759
|
-
- public/packs/
|
760
|
-
- public/packs/
|
761
|
-
- public/packs/
|
762
|
-
- public/packs/
|
763
|
-
- public/packs/
|
764
|
-
- public/packs/transport_config-23aca119137bd72ad10f.js
|
765
|
-
- public/packs/transport_config-23aca119137bd72ad10f.js.gz
|
766
|
-
- public/packs/transport_config-23aca119137bd72ad10f.js.map
|
767
|
-
- public/packs/transport_section-cd9ff305b3c42dedcc2e.js
|
768
|
-
- public/packs/transport_section-cd9ff305b3c42dedcc2e.js.gz
|
769
|
-
- public/packs/transport_section-cd9ff305b3c42dedcc2e.js.map
|
770
|
-
- public/packs/treeview-40b20727e98da2d5cf8d.js
|
771
|
-
- public/packs/treeview-40b20727e98da2d5cf8d.js.gz
|
772
|
-
- public/packs/treeview-40b20727e98da2d5cf8d.js.map
|
733
|
+
- public/packs/navigation-629d2139a54dace4355b.js
|
734
|
+
- public/packs/navigation-629d2139a54dace4355b.js.gz
|
735
|
+
- public/packs/navigation-629d2139a54dace4355b.js.map
|
736
|
+
- public/packs/nested_settings-d6d77f29926902fc4996.js
|
737
|
+
- public/packs/nested_settings-d6d77f29926902fc4996.js.gz
|
738
|
+
- public/packs/nested_settings-d6d77f29926902fc4996.js.map
|
739
|
+
- public/packs/out_forward_setting-fbbecf821b85d6e10719.js
|
740
|
+
- public/packs/out_forward_setting-fbbecf821b85d6e10719.js.gz
|
741
|
+
- public/packs/out_forward_setting-fbbecf821b85d6e10719.js.map
|
742
|
+
- public/packs/out_s3_setting-51919a6a2a0db73dac66.js
|
743
|
+
- public/packs/out_s3_setting-51919a6a2a0db73dac66.js.gz
|
744
|
+
- public/packs/out_s3_setting-51919a6a2a0db73dac66.js.map
|
745
|
+
- public/packs/plugin_setting-190d5845fdb3fd7002f4.js
|
746
|
+
- public/packs/plugin_setting-190d5845fdb3fd7002f4.js.gz
|
747
|
+
- public/packs/plugin_setting-190d5845fdb3fd7002f4.js.map
|
748
|
+
- public/packs/settings-d420e1afa35d92fd19fe.js
|
749
|
+
- public/packs/settings-d420e1afa35d92fd19fe.js.gz
|
750
|
+
- public/packs/settings-d420e1afa35d92fd19fe.js.map
|
751
|
+
- public/packs/transport_section-d309d77ffa164a707cd8.js
|
752
|
+
- public/packs/transport_section-d309d77ffa164a707cd8.js.gz
|
753
|
+
- public/packs/transport_section-d309d77ffa164a707cd8.js.map
|
754
|
+
- public/packs/treeview-5ad0dbbe049986c22518.js
|
755
|
+
- public/packs/treeview-5ad0dbbe049986c22518.js.gz
|
756
|
+
- public/packs/treeview-5ad0dbbe049986c22518.js.map
|
773
757
|
- public/robots.txt
|
774
758
|
- public/td-logo.png
|
775
759
|
- test/application_system_test_case.rb
|
@@ -1,93 +0,0 @@
|
|
1
|
-
/* global _ */
|
2
|
-
"use strict";
|
3
|
-
import "lodash/lodash";
|
4
|
-
|
5
|
-
const ConfigField = {
|
6
|
-
template: "#vue-config-field",
|
7
|
-
props: [
|
8
|
-
"pluginType",
|
9
|
-
"option",
|
10
|
-
"initialExpression",
|
11
|
-
"initialTimeFormat",
|
12
|
-
"initialTextValue",
|
13
|
-
],
|
14
|
-
|
15
|
-
data: function() {
|
16
|
-
return {
|
17
|
-
expression: null,
|
18
|
-
timeFormat: null,
|
19
|
-
textValue: null,
|
20
|
-
};
|
21
|
-
},
|
22
|
-
|
23
|
-
filters: {
|
24
|
-
humanize: function(value) {
|
25
|
-
return _.capitalize(value.replace(/_/g, " "));
|
26
|
-
}
|
27
|
-
},
|
28
|
-
|
29
|
-
mounted: function() {
|
30
|
-
if (this.option.name === "expression") {
|
31
|
-
this.expression = this.initialExpression;
|
32
|
-
} else if (this.option.name === "time_format") {
|
33
|
-
this.timeFormat = this.initialTimeFormat;
|
34
|
-
} else {
|
35
|
-
this.textValue = this.initialTextValue || this.option.default;
|
36
|
-
}
|
37
|
-
},
|
38
|
-
|
39
|
-
updated: function() {
|
40
|
-
if (this.option.name === "expression") {
|
41
|
-
this.expression = this.initialExpression;
|
42
|
-
}
|
43
|
-
if (this.option.name === "time_format") {
|
44
|
-
this.timeFormat = this.initialTimeFormat;
|
45
|
-
}
|
46
|
-
this.$nextTick(() => {
|
47
|
-
console.log("config-field updated");
|
48
|
-
$("[data-toggle=tooltip]").tooltip("dispose");
|
49
|
-
$("[data-toggle=tooltip]").tooltip("enable");
|
50
|
-
});
|
51
|
-
},
|
52
|
-
|
53
|
-
watch: {
|
54
|
-
"expression": function(_newValue, _oldValue) {
|
55
|
-
this.$emit("change-parse-config", {
|
56
|
-
"expression": this.expression,
|
57
|
-
"timeFormat": this.timeFormat
|
58
|
-
});
|
59
|
-
},
|
60
|
-
"timeFormat": function(_newValue, _oldValue) {
|
61
|
-
this.$emit("change-parse-config", {
|
62
|
-
"expression": this.expression,
|
63
|
-
"timeFormat": this.timeFormat
|
64
|
-
});
|
65
|
-
}
|
66
|
-
},
|
67
|
-
|
68
|
-
methods: {
|
69
|
-
inputId: function(pluginType, option) {
|
70
|
-
if (pluginType === "output") {
|
71
|
-
return `setting_${option.name}`;
|
72
|
-
} else {
|
73
|
-
return `setting_${_.snakeCase(pluginType)}_0__${option.name}`;
|
74
|
-
}
|
75
|
-
},
|
76
|
-
inputName: function(pluginType, option) {
|
77
|
-
if (pluginType === "output") {
|
78
|
-
return `setting[${option.name}]`;
|
79
|
-
} else {
|
80
|
-
return `setting[${_.snakeCase(pluginType)}[0]][${option.name}]`;
|
81
|
-
}
|
82
|
-
},
|
83
|
-
checked: function(checked) {
|
84
|
-
if (checked === true || checked === "true") {
|
85
|
-
return "checked";
|
86
|
-
} else {
|
87
|
-
return "";
|
88
|
-
}
|
89
|
-
}
|
90
|
-
}
|
91
|
-
};
|
92
|
-
|
93
|
-
export { ConfigField as default };
|
@@ -1,80 +0,0 @@
|
|
1
|
-
<ul class="navbar-nav navbar-sidenav" id="side-menu">
|
2
|
-
<li class="nav-item">
|
3
|
-
<a class="section" data-toggle="tooltip" data-placement="right" title="Fluentd">
|
4
|
-
<%= icon("fa-puzzle-piece fa-fw") << "fluentd" %>
|
5
|
-
</a>
|
6
|
-
<ul class="sidenav-second-level">
|
7
|
-
<% if fluentd_exists? %>
|
8
|
-
<li>
|
9
|
-
<%= link_to_other t('fluentd.show.page_title'), daemon_path %>
|
10
|
-
</li>
|
11
|
-
<li>
|
12
|
-
<%= link_to_other t('fluentd.settings.source_and_output.page_title'), source_and_output_daemon_setting_path %>
|
13
|
-
</li>
|
14
|
-
<li>
|
15
|
-
<%= link_to_other t('fluentd.settings.show.page_title'), daemon_setting_path %>
|
16
|
-
</li>
|
17
|
-
<li>
|
18
|
-
<%= link_to_other t('fluentd.common.log'), log_daemon_path %>
|
19
|
-
</li>
|
20
|
-
<li>
|
21
|
-
<%= link_to_other t('fluentd.errors.page_title'), errors_daemon_path %>
|
22
|
-
</li>
|
23
|
-
<% else %>
|
24
|
-
<li>
|
25
|
-
<%= link_to_other t('terms.initial_setup'), daemon_path %>
|
26
|
-
</li>
|
27
|
-
<% end %>
|
28
|
-
</ul>
|
29
|
-
</li>
|
30
|
-
|
31
|
-
<% if fluentd_exists? %>
|
32
|
-
<li class="nav-item">
|
33
|
-
<a class="section" data-toggle="tooltip" data-placement="right" title="Plugins">
|
34
|
-
<%= icon("fa-cogs fa-fw") << t('terms.plugins') %>
|
35
|
-
</a>
|
36
|
-
<ul class="sidenav-second-level">
|
37
|
-
<li>
|
38
|
-
<%= link_to_other t("plugins.installed.page_title"), installed_plugins_path %>
|
39
|
-
</li>
|
40
|
-
<li>
|
41
|
-
<%= link_to_other t("plugins.recommended.page_title"), recommended_plugins_path %>
|
42
|
-
</li>
|
43
|
-
<li>
|
44
|
-
<%= link_to_other t("plugins.updated.page_title"), updated_plugins_path %>
|
45
|
-
</li>
|
46
|
-
</ul>
|
47
|
-
</li>
|
48
|
-
<% end %>
|
49
|
-
|
50
|
-
<li class="nav-item">
|
51
|
-
<a class="section" data-toggle="tooltip" data-placement="right" title="Misc">
|
52
|
-
<%= icon('fa-coffee fa-fw') << t('terms.misc') %>
|
53
|
-
</a>
|
54
|
-
<ul class="sidenav-second-level">
|
55
|
-
<li>
|
56
|
-
<%= link_to_other t("misc.information.page_title"), misc_information_path %>
|
57
|
-
</li>
|
58
|
-
<li>
|
59
|
-
<%= link_to_other t('users.show.page_title'), user_path %>
|
60
|
-
</li>
|
61
|
-
<!--
|
62
|
-
Not used for now (0.0.1 pre)
|
63
|
-
<li>
|
64
|
-
<%= link_to_other t('tutorials.index.page_title'), tutorials_path %>
|
65
|
-
</li>
|
66
|
-
-->
|
67
|
-
</ul>
|
68
|
-
</li>
|
69
|
-
|
70
|
-
<li class="nav-item">
|
71
|
-
<a class="section" data-toggle="tooltip" data-placement="right" title="Language">
|
72
|
-
<%= icon('fa-font') << t('terms.languages') %>
|
73
|
-
</a>
|
74
|
-
<ul class="sidenav-second-level">
|
75
|
-
<li>
|
76
|
-
<%= language_menu %>
|
77
|
-
</li>
|
78
|
-
</ul>
|
79
|
-
</li>
|
80
|
-
</ul>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<% primary_button ||= "Save changes" %>
|
2
|
-
|
3
|
-
<!-- Modal -->
|
4
|
-
<div class="modal fade" id="modal-destroy" tabindex="-1" role="dialog" aria-labelledby="modal-destroyLabel" aria-hidden="true">
|
5
|
-
<div class="modal-dialog">
|
6
|
-
<div class="modal-content">
|
7
|
-
<div class="modal-header">
|
8
|
-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
9
|
-
<h4 class="modal-title" id="myModalLabel"><%= head %></h4>
|
10
|
-
</div>
|
11
|
-
|
12
|
-
<div class="modal-body">
|
13
|
-
<%= body %>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<div class="modal-footer">
|
17
|
-
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
18
|
-
<%= primary_button %>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
<!-- /.modal-content -->
|
22
|
-
</div>
|
23
|
-
<!-- /.modal-dialog -->
|
24
|
-
</div>
|
25
|
-
<!-- /.modal -->
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<!-- vue.js -->
|
2
|
-
<li class="nav-item dropdown" id="vue-notification">
|
3
|
-
<a class="nav-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
|
4
|
-
<i class="fa fa-bell fa-fw"></i>
|
5
|
-
<span class="badge" v-if="hasAlerts">{{ alertsCount }}</span>
|
6
|
-
</a>
|
7
|
-
<ul class="dropdown-menu" aria-labelledby="alertsDropdown">
|
8
|
-
<li v-if="!hasAlerts">
|
9
|
-
<a>
|
10
|
-
<div class="nothing text text-success">
|
11
|
-
<%= icon "fa-check" %>
|
12
|
-
<%= t "terms.no_alert" %>
|
13
|
-
</div>
|
14
|
-
</a>
|
15
|
-
</li>
|
16
|
-
<li v-for="alert in alerts">
|
17
|
-
<a>
|
18
|
-
<div>
|
19
|
-
<%= icon("fa-cog fa-fw fa-lg fa-spin") %>
|
20
|
-
{{ alert }}
|
21
|
-
</div>
|
22
|
-
</a>
|
23
|
-
</li>
|
24
|
-
</ul>
|
25
|
-
</li>
|
26
|
-
<!-- /vue.js -->
|
27
|
-
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<%- add_javascript_pack_tag('codemirror') %>
|
2
|
-
|
3
|
-
<script type="text/x-template" id="vue-setting-section">
|
4
|
-
|
5
|
-
<div class="card card-primary mb-3">
|
6
|
-
<div class="card-header" data-toggle="collapse" v-bind:href="'#'+id" v-bind:title="content">
|
7
|
-
<i class="fa fa-caret-down"></i>
|
8
|
-
{{ type }}
|
9
|
-
<span v-if="!_.isEmpty(arg) && (name == 'match' || name == 'filter')">({{ arg }})</span>
|
10
|
-
</div>
|
11
|
-
<div class="card-body collapse" v-bind:id="id">
|
12
|
-
<pre v-if="mode != 'edit'">{{ content }}</pre>
|
13
|
-
<p v-if="mode == 'edit'">
|
14
|
-
<textarea v-config-editor class="form-control" v-model.lazy="content" v-bind:disabled="processing"></textarea>
|
15
|
-
</p>
|
16
|
-
<p class="float-right">
|
17
|
-
<button v-if="mode != 'edit'" class="btn btn-secondary" v-on:click="onEdit"><%= t('terms.edit') %></button>
|
18
|
-
<button v-if="mode != 'edit'" class="btn btn-danger" v-on:click="onDelete"><%= t('terms.destroy') %></button>
|
19
|
-
<button v-if="mode == 'edit'" class="btn btn-secondary" v-on:click="onCancel"><%= t('terms.cancel') %></button>
|
20
|
-
<button v-if="mode == 'edit'" class="btn btn-primary" v-on:click="onSubmit"><%= t('terms.save') %></button>
|
21
|
-
</p>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
</script>
|