Class: Marty::Scripting

Inherits:
Netzke::Base show all
Defined in:
app/components/marty/scripting.rb

Instance Method Summary collapse

Methods inherited from Netzke::Base

#root_sess

Instance Method Details

#configure(c) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'app/components/marty/scripting.rb', line 3

def configure(c)
  super

  c.items =
    [
     :script_form,
     {
       xtype: "tabpanel",
       active_tab: 0,
       region: :center,
       split: true,
       items: [
               {
                 title: I18n.t("script.selection"),
                 layout: {
                   type: :vbox,
                   align: :stretch,
                 },
                 items: [
                         :tag_grid,
                         :script_grid,
                        ],
               },
               :script_tester,
              ],
     },
    ]
end