File: sql-exporter-dialog.html

package info (click to toggle)
openrefine 3.9.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 44,440 kB
  • sloc: javascript: 106,758; java: 91,946; xml: 6,634; sh: 614; makefile: 78; python: 71; sql: 59
file content (137 lines) | stat: -rwxr-xr-x 7,691 bytes parent folder | download
1
2
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
<div class="dialog-frame" style="width: 800px;">
    <div class="dialog-header" bind="dialogHeader"></div>
    <div class="dialog-body" bind="dialogBody">
        <div id="sql-exporter-tabs" class="refine-tabs">
            <ul>
                <li><a href="#sql-exporter-tabs-content" bind="or_dialog_content"></a></li>
                <li><a href="#sql-exporter-tabs-download" bind="or_dialog_download"></a></li>
            </ul>

            <div id="sql-exporter-tabs-content" class="sql-exporter-tabs-content-main">
                <div class="grid-layout grid-layout-for-ui layout-normal layout-full"><table role="presentation">
                    <!-- <tr>
                      <td bind="or_dialog_selAndOrd"></td>
                      <td><span bind="or_dialog_optFor"></span><span bind="columnNameSpan" class="sql-exporter-selected-column"></span></td>
                    </tr> -->
                    <tr>
                        <td width="100%">

                            <!-- <div bind="columnList" class="sql-exporter-columns"></div> -->
                            <div class="grid-layout layout-tighter layout-full">
                                <div class="sql-exporter-columns">
                                    <table bind = "columnListTable">
                                        <thead class="header">
                                        <tr>
                                            <th bind="fieldNameHeader"></th>
                                            <th bind="sqlTypeHeader"></th>
                                            <th bind="sizeHeader"></th>
                                            <th></th>
                                            <th bind="allowNullHeader">
                                                <label for="allowNullToggleCheckbox" bind="allowNullToggleCheckboxLabel"></label>
                                                <input type="checkbox" bind="allowNullToggleCheckbox" id="allowNullToggleCheckbox" checked />
                                            </th>
                                            <th bind="defaultHeader"></th>
                                        </tr>
                                        </thead>
                                    </table>
                                </div>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <button class="button" bind="selectAllButton"></button>
                            <button class="button" bind="deselectAllButton"></button>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2"><div class="grid-layout layout-tighter layout-full"><table role="presentation">
                            <tr>

                                <td width="1%"><input type="checkbox" bind="sqlExportOutputEmptyRowsCheckbox" id="sqlExportOutputEmptyRowsCheckboxId" /></td>
                                <td width="25%"><label for="sqlExportOutputEmptyRowsCheckboxId" bind="sqlExportOutputEmptyRowsLabel"></label></td>

                                <td width="1%"><input type="checkbox" bind="sqlExportAllRowsCheckbox" id="sqlExportAllRowsCheckboxId" /></td>
                                <td width="25%"><label for="sqlExportAllRowsCheckboxId" bind="sqlExportIgnoreFacetsLabel"></label></td>

                                <td width="1%"><input type="checkbox" bind="sqlExportTrimAllColumnsCheckbox" id="sqlExportTrimAllColumnsCheckboxId" /></td>
                                <td width="25%"><label for="sqlExportTrimAllColumnsCheckboxId" bind="sqlExportTrimAllColumnsLabel"></label></td>

                            </tr>
                        </table></div></td>
                    </tr>
                </table></div></div>


            <div id="sql-exporter-tabs-download" style="display: none;">

                <div>
                    <table role="presentation">
                        <tr>
                            <td><label for="tableNameTextBoxId" bind="tableNameLabel"></label></td>
                            <td width="90%"><input spellcheck="false" type="text" bind="tableNameTextBox" id="tableNameTextBoxId" size="50%"/></td>

                        </tr>
                        <tr>
                        </tr>
                    </table>

                </div>

                <div class="grid-layout grid-layout-for-text layout-tightest">
                    <table role="presentation" width="100%">
                        <tr>
                            <td><span style="margin:2px; padding:2px;"></span></td>
                        </tr>
                        <tr>
                            <td><input type="checkbox" bind="includeStructureCheckbox" id="includeStructureCheckboxId"
                                       checked/>
                                <label for="includeStructureCheckboxId" bind="includeStructureLabel"></label></td>
                        </tr>
                        <tr>
                            <td>&nbsp&nbsp;<input type="checkbox" bind="includeDropStatementCheckbox"
                                                  id="includeDropStatementCheckboxId"/>
                                <label for="includeDropStatementCheckboxId" bind="includeDropStatementLabel"></label></td>
                        </tr>
                        <tr>
                            <td>&nbsp&nbsp;&nbsp&nbsp;<input type="checkbox" bind="includeIfExistDropStatementCheckbox"
                                                             id="includeIfExistDropStatementCheckboxId" disabled/>
                                <label for="includeIfExistDropStatementCheckboxId"
                                       bind="includeIfExistDropStatementLabel"></label></td>
                        </tr>
                        <tr>
                            <td><span style="margin:2px; padding:2px;"></span></td>
                        </tr>
                        <tr>
                            <td><input type="checkbox" bind="includeContentCheckbox" id="includeContentCheckboxId" checked/>
                                <label for="includeContentCheckboxId" bind="includeContentLabel"></label></td>
                        </tr>

                        <tr>
                            <td>&nbsp&nbsp;<input type="checkbox" bind="nullCellValueToEmptyStringCheckbox"
                                                  id="nullCellValueToEmptyStringCheckboxId" checked/>
                                <label for="nullCellValueToEmptyStringCheckboxId"
                                       bind="nullCellValueToEmptyStringLabel"></label></td>
                        </tr>
                        <tr>
                            <td>
                                <div style="display:flex; column-gap: 5px;justify-content: right;">
                                    <button class="button" bind="downloadPreviewButton"></button>
                                    <button class="button button-primary" bind="downloadButton"></button>
                                </div>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>

            <div id="sql-exporter-tabs-code" style="display: none;">
                <textarea class="sql-exporter-code" bind="optionCodeInput"></textarea>
            </div>

        </div>
    </div>
    <div class="dialog-footer" bind="dialogFooter">
        <button class="button" bind="cancelButton"></button>
    </div>
</div>