<commit_before><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<dialog id="oozie-job-executor"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:pen="http://www.pentaho.org/2008/xul"
        title="${Oozie.JobExecutor.Dialog.Title}"
        resizable="true"
        appicon="ui/images/spoon.ico"
        width="650"
        height="600"
        buttons=""
        buttonalign="center"
        onload="controller.init()">
    <vbox>
        <grid>
            <columns>
                <column/>
                <column/>
            </columns>
            <rows>
                <row>
                    <label value="${Oozie.JobExecutor.Name.Label}"/>
                    <textbox id="jobEntryName" flex="1" multiline="false"/>
                </row>
            </rows>
        </grid>
    </vbox>
    <vbox flex="1">
        <grid>
            <columns>
                <column/>
                <column flex="1"/>
            </columns>
            <rows>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.OozieUrl.Label}" />
                    </hbox>
                    <!-- Wrap with an hbox so all components align -->
                    <hbox flex="1" padding="5">
                        <textbox pen:customclass="variabletextbox" id="oozieUrl" flex="1"/>
                    </hbox>
                </row>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.Enable.Blocking.Label}" />
                    </hbox>
                    <hbox padding="5">
                        <checkbox id="blockingExecution" />
                    </hbox>
                </row>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.Enable.Polling.Interval.Label}" />
                    </hbox>
                    <hbox padding="5" flex="1">
                        <textbox pen:customclass="variabletextbox" id="blockingPollingInterval" width="100"/>
                    </hbox>
                </row>
            </rows>
        </grid>
        <deck id="modeDeck" flex="1">
            <vbox id="quickSetupPanel" flex="1">
                <grid flex="1">
                    <columns>
                        <column/>
                        <column flex="1"/>
                    </columns>
                    <rows>
                        <row>
                            <hbox padding="5">
                                <label value="${Oozie.JobExecutor.Workflow.Properties.Label}"/>
                            </hbox>
                            <!-- Wrap with an hbox so all components align -->
                            <hbox flex="1" padding="5">
                                <textbox pen:customclass="variabletextbox" id="oozieWorkflowConfig" flex="1"/>
                                <button label="${Oozie.JobExecutor.Browse.Workflow.Config.Label}" onclick="controller.browseWorkflowConfig()"/>
                            </hbox>
                        </row>
                    </rows>
                </grid>
            </vbox>
            <vbox id="advancedOptionsPanel" flex="1">
                <groupbox padding="8" flex="1">
                    <caption label="${Oozie.JobExecutor.Workflow.Properties.Label}" />
                    <vbox padding="0" spacing="0" flex="1">
                        <tree id="advanced-table" hidecolumnpicker="true" autocreatenewrows="false" flex="1">
                            <treecols>
                                <treecol id="name-col" editable="true" flex="1" label="${Oozie.JobExecutor.AdvancedTable.Column.Name.Label}" pen:binding="key"/>
                                <treecol id="value-col" editable="true" flex="1" label="${Oozie.JobExecutor.AdvancedTable.Column.Value.Label}" pen:binding="value"/>
                            </treecols>
                            <treechildren />
                        </tree>
                        <hbox padding="0">
                            <button label="${Oozie.JobExecutor.Add.Property.Label}" onclick="controller.addNewProperty()" />
                            <button label="${Oozie.JobExecutor.Remove.Property.Label}" onclick="controller.removeProperty()" />
                        </hbox>
                    </vbox>
                </groupbox>
            </vbox>
        </deck>
        <pen:include src="button-bar.xul"/>
    </vbox>
</dialog><commit_msg>[PDI-7843] - updating UI to look like the latest mocks with the Add and remove buttons being icons and above the properties grid in advanced mode.<commit_after><?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>

<dialog id="oozie-job-executor"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:pen="http://www.pentaho.org/2008/xul"
        title="${Oozie.JobExecutor.Dialog.Title}"
        resizable="true"
        appicon="ui/images/spoon.ico"
        width="650"
        height="600"
        buttons=""
        buttonalign="center"
        onload="controller.init()">
    <vbox>
        <grid>
            <columns>
                <column/>
                <column/>
            </columns>
            <rows>
                <row>
                    <label value="${Oozie.JobExecutor.Name.Label}"/>
                    <textbox id="jobEntryName" flex="1" multiline="false"/>
                </row>
            </rows>
        </grid>
    </vbox>
    <vbox flex="1">
        <grid>
            <columns>
                <column/>
                <column flex="1"/>
            </columns>
            <rows>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.OozieUrl.Label}" />
                    </hbox>
                    <!-- Wrap with an hbox so all components align -->
                    <hbox flex="1" padding="5">
                        <textbox pen:customclass="variabletextbox" id="oozieUrl" flex="1"/>
                    </hbox>
                </row>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.Enable.Blocking.Label}" />
                    </hbox>
                    <hbox padding="5">
                        <checkbox id="blockingExecution" />
                    </hbox>
                </row>
                <row>
                    <hbox padding="5">
                        <label value="${Oozie.JobExecutor.Enable.Polling.Interval.Label}" />
                    </hbox>
                    <hbox padding="5" flex="1">
                        <textbox pen:customclass="variabletextbox" id="blockingPollingInterval" width="100"/>
                    </hbox>
                </row>
            </rows>
        </grid>
        <deck id="modeDeck" flex="1">
            <vbox id="quickSetupPanel" flex="1">
                <grid flex="1">
                    <columns>
                        <column/>
                        <column flex="1"/>
                    </columns>
                    <rows>
                        <row>
                            <hbox padding="5">
                                <label value="${Oozie.JobExecutor.Workflow.Properties.Label}"/>
                            </hbox>
                            <!-- Wrap with an hbox so all components align -->
                            <hbox flex="1" padding="5">
                                <textbox pen:customclass="variabletextbox" id="oozieWorkflowConfig" flex="1"/>
                                <button label="${Oozie.JobExecutor.Browse.Workflow.Config.Label}" onclick="controller.browseWorkflowConfig()"/>
                            </hbox>
                        </row>
                    </rows>
                </grid>
            </vbox>
            <vbox id="advancedOptionsPanel" flex="1">
                <vbox padding="5" flex="1">
                    <hbox padding="0" spacing="0">
                        <label value="${Oozie.JobExecutor.Workflow.Properties.Label}" />
                        <spacer flex="1"/>
                        <hbox padding="2">
                            <button image="../../../../../../../../../ui/images/Add.png" onclick="controller.addNewProperty()" />
                            <button image="../../../../../../../../../ui/images/generic-delete.png" onclick="controller.removeProperty()" />
                        </hbox>
                    </hbox>
                    <vbox padding="0" spacing="0" flex="1">
                        <tree id="advanced-table" hidecolumnpicker="true" autocreatenewrows="false" flex="1">
                            <treecols>
                                <treecol id="name-col" editable="true" flex="1" label="${Oozie.JobExecutor.AdvancedTable.Column.Name.Label}" pen:binding="key"/>
                                <treecol id="value-col" editable="true" flex="1" label="${Oozie.JobExecutor.AdvancedTable.Column.Value.Label}" pen:binding="value"/>
                            </treecols>
                            <treechildren />
                        </tree>
                    </vbox>
                </vbox>
            </vbox>
        </deck>
        <pen:include src="button-bar.xul"/>
    </vbox>
</dialog>
{'fraction_non_alphanumeric': 0.14409924716360936, 'fraction_numerical': 0.010285229562082493, 'mean_word_length': 1.144611186903138, 'pattern_counts': {'":': 0, '<': 194, '<?xml version=': 2, '>': 194, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6540738', 'n_tokens_mistral': 2483, 'n_tokens_neox': 2304, 'n_words': 407}