@@ -9,35 +9,37 @@ export default class ScriptOptionsView extends View {
9
9
10
10
static content ( ) {
11
11
this . div ( { class : 'options-view' } , ( ) => {
12
- this . div ( { class : 'panel-heading' } , 'Configure Run Options' ) ;
13
- this . table ( ( ) => {
14
- this . tr ( ( ) => {
15
- this . td ( { class : 'first' } , ( ) => this . label ( 'Current Working Directory:' ) ) ;
16
- this . td ( { class : 'second' } , ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCwd' } ) ) ;
17
- } ) ;
18
- this . tr ( ( ) => {
19
- this . td ( ( ) => this . label ( 'Command' ) ) ;
20
- this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCommand' } ) ) ;
21
- } ) ;
22
- this . tr ( ( ) => {
23
- this . td ( ( ) => this . label ( 'Command Arguments:' ) ) ;
24
- this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCommandArgs' } ) ) ;
25
- } ) ;
26
- this . tr ( ( ) => {
27
- this . td ( ( ) => this . label ( 'Program Arguments:' ) ) ;
28
- this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputScriptArgs' } ) ) ;
29
- } ) ;
30
- this . tr ( ( ) => {
31
- this . td ( ( ) => this . label ( 'Environment Variables:' ) ) ;
32
- this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputEnv' } ) ) ;
12
+ this . h4 ( { class : 'modal-header' } , 'Configure Run Options' ) ;
13
+ this . div ( { class : 'modal-body' } , ( ) => {
14
+ this . table ( ( ) => {
15
+ this . tr ( ( ) => {
16
+ this . td ( { class : 'first' } , ( ) => this . label ( 'Current Working Directory:' ) ) ;
17
+ this . td ( { class : 'second' } , ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCwd' } ) ) ;
18
+ } ) ;
19
+ this . tr ( ( ) => {
20
+ this . td ( ( ) => this . label ( 'Command' ) ) ;
21
+ this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCommand' } ) ) ;
22
+ } ) ;
23
+ this . tr ( ( ) => {
24
+ this . td ( ( ) => this . label ( 'Command Arguments:' ) ) ;
25
+ this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputCommandArgs' } ) ) ;
26
+ } ) ;
27
+ this . tr ( ( ) => {
28
+ this . td ( ( ) => this . label ( 'Program Arguments:' ) ) ;
29
+ this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputScriptArgs' } ) ) ;
30
+ } ) ;
31
+ this . tr ( ( ) => {
32
+ this . td ( ( ) => this . label ( 'Environment Variables:' ) ) ;
33
+ this . td ( ( ) => this . tag ( 'atom-text-editor' , { mini : '' , class : 'editor mini' , outlet : 'inputEnv' } ) ) ;
34
+ } ) ;
33
35
} ) ;
34
36
} ) ;
35
- this . div ( { class : 'block buttons ' } , ( ) => {
37
+ this . div ( { class : 'modal-footer ' } , ( ) => {
36
38
const css = 'btn inline-block-tight' ;
37
39
this . button ( { class : `btn ${ css } cancel` , outlet : 'buttonCancel' , click : 'close' } , ( ) =>
38
40
this . span ( { class : 'icon icon-x' } , 'Cancel' ) ,
39
41
) ;
40
- this . span ( { class : 'right-buttons ' } , ( ) => {
42
+ this . span ( { class : 'pull-right ' } , ( ) => {
41
43
this . button ( { class : `btn ${ css } save-profile` , outlet : 'buttonSaveProfile' , click : 'saveProfile' } , ( ) =>
42
44
this . span ( { class : 'icon icon-file-text' } , 'Save as profile' ) ,
43
45
) ;
0 commit comments