Skip to content

Commit 5c23ad1

Browse files
committed
Adding the env fields in the env view
1 parent fcd4ec9 commit 5c23ad1

File tree

1 file changed

+54
-23
lines changed

1 file changed

+54
-23
lines changed

public/visifile_drivers/all_system_components/deliverComponentScreen.js

+54-23
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ load_once_from_file(true)
2020
releaseErrorMessage: "",
2121

2222
pane_environments_in_dev_mode: true,
23+
allow_row_resize: true,
2324

2425
selectedTab: "changes",
2526

@@ -364,7 +365,7 @@ load_once_from_file(true)
364365
|
365366
-------------------------------------------------------------------------- -->
366367
367-
<div v-if='selectedTab=="environments"' style="padding:15px;">
368+
<div v-if='selectedTab=="environments"' style="padding:15px;font-family:verdana,helvetica;font-size: 13px;">
368369
369370
{{!pane_environments_in_dev_mode?"Read only mode: Environments can not be edited in releases":""}}
370371
<div v-if='pane_environments_in_dev_mode' style="padding:15px;">
@@ -401,51 +402,81 @@ load_once_from_file(true)
401402
<!-- ----------------------------------------------
402403
Environment ID
403404
---------------------------------------------- -->
404-
<div style="margin-top:5px;">
405-
<span style="width:40%;display: inline-block;">
405+
<div style="margin-top:5px;font-family:verdana,helvetica;font-size: 13px;">
406+
<span style="width:20%;display: inline-block;">
406407
Environment ID
407408
</span>
408409
<input
409-
style='flex:1;font-family:verdana,helvetica;font-size: 13px;margin-left:10px; width:50%;display: inline-block;'
410+
style='flex:1;font-family:verdana,helvetica;font-size: 13px;margin-left:10px; width:25%;display: inline-block;'
410411
v-on:click=''
411412
v-on:keydown="pane_changes_clearMessages()"
412-
placeholder="Summary (Required)"
413+
placeholder="environment_id_with_underscores (Required)"
413414
v-model='changes_pane_header'
414415
value=''>
415416
</input>
416417
</div>
418+
419+
417420
<!-- ----------------------------------------------
418421
Environment name
419422
---------------------------------------------- -->
420-
<div style="margin-top:5px;">
421-
<span style="width:40%;display: inline-block;">
423+
<div style="margin-top:15px;">
424+
<span style="width:20%;display: inline-block;">
422425
Environment name
423426
</span>
424427
<input
425-
style='flex:1;font-family:verdana,helvetica;font-size: 13px;margin-left:10px; width:50%;display: inline-block;'
428+
style='flex:1;font-family:verdana,helvetica;font-size: 13px;margin-left:10px; width:25%;display: inline-block;'
426429
v-on:click=''
427430
v-on:keydown="pane_changes_clearMessages()"
428-
placeholder="Summary (Required)"
431+
placeholder="Environment name (Required)"
429432
v-model='changes_pane_header'
430433
value=''>
431434
</input>
432435
</div>
433436
434-
<!-- ----------------------------------------------
435-
description
436-
---------------------------------------------- -->
437-
<div style="margin-top: 0px;">
438-
<textarea rows=7
439-
style="margin: 10px; font-family:verdana,helvetica;font-size: 13px;width:100%"
440-
placeholder="Description"
441-
v-on:keydown="pane_changes_clearMessages()"
442-
v-model='changes_pane_description'>
443-
</textarea>
444-
</div>
437+
<!-- ----------------------------------------------
438+
description
439+
---------------------------------------------- -->
440+
<div style="margin-top: 10px;">
441+
<span style="width:20%;display: inline-block;">
442+
Environment description
443+
</span>
444+
<textarea rows=6
445+
style="margin: 10px; font-family:verdana,helvetica;font-size: 13px;width:40%;display: inline-block;vertical-align:top"
446+
placeholder="Description"
447+
v-on:keydown="pane_changes_clearMessages()"
448+
v-model='changes_pane_description'>
449+
</textarea>
450+
451+
452+
453+
454+
<!-- ----------------------------------------------
455+
is live environment?
456+
---------------------------------------------- -->
457+
<div class="form-check">
458+
<input type="checkbox"
459+
class="form-check-input"
460+
id="allow_row_resize"
461+
:checked='allow_row_resize'
462+
v-model='allow_row_resize'>
463+
<label class="form-check-label"
464+
for="allow_row_resize">Allow row resize</label>
465+
</div>
466+
445467
446-
<button type=button
447-
class=' btn btn-info btn-lg'
448-
v-on:click='pane_environmentPressed()' >Save changes</button>
468+
<!-- ----------------------------------------------
469+
save changes button
470+
---------------------------------------------- -->
471+
<div style="width:60%">
472+
<button type=button
473+
class=' btn btn-info btn'
474+
style="float:right;"
475+
v-on:click='pane_environmentPressed()' >Save changes</button>
476+
</div>
477+
478+
479+
</div>
449480
450481
</div>
451482

0 commit comments

Comments
 (0)