diff --git a/src/app/configuration/environments/edit-environment/edit-environment.component.html b/src/app/configuration/environments/edit-environment/edit-environment.component.html index c6feb4d0..247eeae9 100644 --- a/src/app/configuration/environments/edit-environment/edit-environment.component.html +++ b/src/app/configuration/environments/edit-environment/edit-environment.component.html @@ -1,6 +1,9 @@ - Edit Environment @@ -11,7 +14,7 @@ Basic Information @@ -349,35 +352,51 @@

Basic Information

Display Name - {{ env.display_name }} + + {{ env.display_name }} + - {{ uneditedEnv.display_name }} - {{ env.display_name }} - + {{ + uneditedEnv.display_name + }} + {{ env.display_name }} + DNS Suffix - {{ env.dnssuffix }} + + {{ env.dnssuffix }} + - {{ uneditedEnv.dnssuffix }} - {{ env.dnssuffix }} - + {{ + uneditedEnv.dnssuffix + }} + {{ env.dnssuffix }} + Provider - {{ env.provider }} + + {{ env.provider }} + - {{ uneditedEnv.provider }} - {{ env.provider }} + {{ + uneditedEnv.provider + }} + {{ env.provider }} Websocket Endpoint - {{ env.ws_endpoint }} + + {{ env.ws_endpoint }} + - {{ uneditedEnv.ws_endpoint }} - {{ env.ws_endpoint }} - + {{ + uneditedEnv.ws_endpoint + }} + {{ env.ws_endpoint }} + @@ -396,8 +415,8 @@

Basic Information

Websocket Endpoint {{ env.ws_endpoint }} - -
+ + @@ -411,35 +430,56 @@

Environment Specifics

- - - {{ item.key }} - {{ item.value }} - - - {{ item.key }} - {{ item.value }} - - - - {{ uneditedEnv.environment_specifics[item.key] }} - {{ item.value }} - - - - - - {{ item.key }} - {{ item.value }} - - + + + + {{ item.key }} + + + {{ item.value }} + + + + {{ item.key }} + {{ item.value }} + + + + {{ + uneditedEnv.environment_specifics[item.key] + }} + {{ item.value }} + + + + + + {{ item.key }} + {{ item.value }} + + {{ item.key }} - {{ item.value }} - - - + {{ item.value }} + + @@ -454,62 +494,132 @@

Template Mappings

- - - {{ getVirtualMachineTemplateName(template.key) }} - {{ getTemplateCount(template.key) }} - - - {{ getVirtualMachineTemplateName(template.key) }} - {{ getTemplateCount(template.key) }} - - {{ getTemplateUnEditEnvCount(template.key) }} - {{ getTemplateCount(template.key) }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeyValue
{{ item.key }}{{ item.value }}
{{ item.key }}{{ item.value }}{{ item.key }}{{ item.value }} - {{ uneditedEnv.template_mapping[template.key][item.key] }} - {{ item.value }} -
{{ item.key }}{{ item.value }}
+ {{ getVirtualMachineTemplateName(template.key) }} + {{ getTemplateCount(template.key) }}{{ getVirtualMachineTemplateName(template.key) }} + {{ getTemplateCount(template.key) }} + + {{ + getTemplateUnEditEnvCount(template.key) + }} + {{ + getTemplateCount(template.key) + }} + + + + + + - - -
KeyValue
-
{{ item.key }}{{ item.value }}
+ {{ item.key }} + + {{ item.value }} + {{ item.key }}{{ item.value }} + {{ + uneditedEnv.template_mapping[template.key][item.key] + }} + {{ item.value }} +
{{ item.key }}{{ item.value }}
+ +
@@ -527,13 +637,12 @@

Template Mappings

{{ item.key }} {{ item.value }} - + - -
- + + @@ -547,35 +656,50 @@

IP Mappings

- - - {{ item.key }} - {{ item.value }} - - - {{ item.key }} - {{ item.value }} - - - - {{ uneditedEnv.ip_translation_map[item.key] }} - {{ item.value }} - - - - - - {{ item.key }} - {{ item.value }} - - + + + + {{ item.key }} + + + {{ item.value }} + + + + {{ item.key }} + {{ item.value }} + + + + {{ + uneditedEnv.ip_translation_map[item.key] + }} + {{ item.value }} + + + + + + {{ item.key }} + {{ item.value }} + + {{ item.key }} {{ item.value }} - - + +
diff --git a/src/app/configuration/vmtemplates/edit-vmtemplate/edit-vmtemplate.component.html b/src/app/configuration/vmtemplates/edit-vmtemplate/edit-vmtemplate.component.html index 9cf52726..267f818d 100644 --- a/src/app/configuration/vmtemplates/edit-vmtemplate/edit-vmtemplate.component.html +++ b/src/app/configuration/vmtemplates/edit-vmtemplate/edit-vmtemplate.component.html @@ -1,200 +1,316 @@ - - Edit VM Template + + Edit VM Template - Cancel - Previous - Next - Finish + Cancel + Previous + Next + Finish - - Basic Information + + Basic Information -
- - - - Template name is required - Template name must be longer than 4 - characters - - - - - Image is required - -
-
- - Config Map +
+ + + + Template name is required + Template name must be longer than 4 characters + + + + + Image is required + +
+
+ + Config Map - - - - - - - - - - - - - - - - - - -
KeyValue 
- - - Key is required - - - - - Value is required - - - -
- - All mappings must have key and value filled out. Complete, or remove, any entries - that do not. + + + + + + + + + + + + + + + + - + +
KeyValue 
+ + + Key is required + + + + + Value is required + + + +
+ + All mappings must have key and value filled out. Complete, or remove, + any entries that do not. + +
- - Services - - + + Services + + + + Confirmation + +

Confirm the following details before finalizing

+

Basic Information

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
OptionValue
Name + {{ template.name }} + + {{ + uneditedTemplate.name + }} + {{ template.name }} +
Image + {{ template.image }} + + {{ + uneditedTemplate.image + }} + {{ template.image }} +
Name{{ template.name }}
Image{{ template.image }}
- - Confirmation - -

Confirm the following details before finalizing

-

Basic Information

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
OptionValue
Name{{ template.name }} - {{ uneditedTemplate.name }} - {{ template.name }} -
Image{{ template.image }} - {{ uneditedTemplate.image }} - {{ template.image }} -
Name{{ template.name }}
Image{{ template.image }}
- -

Config Map

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
KeyValue
{{ item.key }}
- -

Cloud Config

-

This is the resulting Cloud Config from the previous step. It is put together - based on the Order in - which the Services are put in the List

-
-
- - {{ item.key }} - - - - - - - - - - - -
NamePortTab
{{ interface.value.name }} - {{ interface.value.hasWebinterface ? interface.value.port : "-" }} - {{ interface.value.hasOwnTab ? interface.value.hasOwnTab : "-" }}
-
{{ item.key }}{{ item.value }}{{ item.key }}{{ item.value }} - {{ uneditedTemplate.config_map[item.key] }} - {{ item.value }} - {{ item.key }}{{ item.value }}
{{ item.key }}{{ item.value }}
-
-
\ No newline at end of file +

Config Map

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
KeyValue
+ {{ item.key }}
+ +

Cloud Config

+

+ This is the resulting Cloud Config from the previous step. + It is put together based on the Order in which the Services + are put in the List +

+
+
+
+ + {{ item.key }} + + + + + + + + + + + +
NamePortTab
{{ interface.value.name }} + {{ + interface.value.hasWebinterface + ? interface.value.port + : "-" + }} + + {{ + interface.value.hasOwnTab + ? interface.value.hasOwnTab + : "-" + }} +
+
+ {{ item.key }} + + {{ item.value }} + {{ item.key }}{{ item.value }} + {{ + uneditedTemplate.config_map[item.key] + }} + {{ item.value }} + {{ item.key }}{{ item.value }}
{{ item.key }}{{ item.value }}
+ +
diff --git a/src/app/course/course-wizard/course-wizard.component.html b/src/app/course/course-wizard/course-wizard.component.html index 3c139ae0..03ed2746 100644 --- a/src/app/course/course-wizard/course-wizard.component.html +++ b/src/app/course/course-wizard/course-wizard.component.html @@ -3,6 +3,7 @@ clrWizardSize="xl" (clrWizardOnFinish)="whenFinish()" (clrWizardOnCancel)="doCancel()" + class="customized" > {{ wizardTitle }} @@ -40,7 +41,13 @@ > - + Scenarios - - diff --git a/src/styles.scss b/src/styles.scss index d5fc8d5e..f08dd3a3 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -2,87 +2,95 @@ @import "../node_modules/@clr/ui/src/main.scss"; .row { - @extend .clr-row; + @extend .clr-row; } .col { - @extend .clr-col; + @extend .clr-col; } .col-10 { - @extend .clr-col-10; + @extend .clr-col-10; } /* added because of the edit step stack view improperly rendering at 55vh */ .modal .stack-view { - height: unset !important; + height: unset !important; } /* created compact stack view */ clr-stack-view.compact { - .stack-view .stack-block-label { - line-height: 1rem; - } + .stack-view .stack-block-label { + line-height: 1rem; + } } .clr-accordion-inner-content { - padding: 0rem !important; + padding: 0rem !important; } /* Dragula Stuff */ /* in-flight clone */ .gu-mirror { - position: fixed !important; - margin: 0 !important; - z-index: 9999 !important; - opacity: 0.8; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; - filter: alpha(opacity=80); - pointer-events: none; - } - /* high-performance display:none; helper */ - .gu-hide { - left: -9999px !important; - } - /* added to mirrorContainer (default = body) while dragging */ - .gu-unselectable { - -webkit-user-select: none !important; - -moz-user-select: none !important; - -ms-user-select: none !important; - user-select: none !important; - } - /* added to the source element while its mirror is dragged */ - .gu-transit { - opacity: 0.2; - -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; - filter: alpha(opacity=20); - } + position: fixed !important; + margin: 0 !important; + z-index: 9999 !important; + opacity: 0.8; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)"; + filter: alpha(opacity=80); + pointer-events: none; +} +/* high-performance display:none; helper */ +.gu-hide { + left: -9999px !important; +} +/* added to mirrorContainer (default = body) while dragging */ +.gu-unselectable { + -webkit-user-select: none !important; + -moz-user-select: none !important; + -ms-user-select: none !important; + user-select: none !important; +} +/* added to the source element while its mirror is dragged */ +.gu-transit { + opacity: 0.2; + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)"; + filter: alpha(opacity=20); +} - .table-input { - margin-top: 0 !important; +.table-input { + margin-top: 0 !important; } .btn-table { - line-height: unset; - height: unset; - margin: 0 0 0 0; + line-height: unset; + height: unset; + margin: 0 0 0 0; } // .clr_select_disabled > div.datagrid-row-master > div:first-child { // display: none; // } -clr-datagrid.clr_disable_selection div.datagrid-row-master > div:first-child { - display: none; +clr-datagrid.clr_disable_selection div.datagrid-row-master > div:first-child { + display: none; } .modal-body-wrapper { - width: 100%; - margin-bottom: auto; + width: 100%; + margin-bottom: auto; } /* added because the modal-body is improperly rendering at 70vh, overflows the modal and hence displays an unneeded scrollbar */ .modal-body { - min-height: unset !important; -} \ No newline at end of file + min-height: unset !important; +} + +// let's improve the user experience for hovering on stepnav-links within a wizard +.clr-wizard.customized .clr-wizard-stepnav-item { + &:hover .clr-wizard-stepnav-link { + background-color: $clr-global-selection-color; + color: $clr-color-action-800; + } +} diff --git a/src/theme.scss b/src/theme.scss index ab4efa92..b17f7b40 100644 --- a/src/theme.scss +++ b/src/theme.scss @@ -1,21 +1,20 @@ header { - // background-image: linear-gradient(45deg,#64c89f,#97a39e)!important; - background-color: #000 !important; + // background-image: linear-gradient(45deg,#64c89f,#97a39e)!important; + background-color: #000 !important; } - .header-nav > .nav-link { - &:hover { - opacity: 1 !important; - } + &:hover { + opacity: 1 !important; + } - &.active { - background: rgba(204, 204, 204, 0.25) !important; - } + &.active { + background: rgba(204, 204, 204, 0.25) !important; + } } .datagrid-footer { - border: 0 !important; + border: 0 !important; } $clr-table-borderwidth: 0; @@ -36,10 +35,6 @@ $clr-table-bgcolor: #fafafa; // e65c3c // 3fc5f0 - - - - $clr-color-hue: 195; $clr-color-action-50: hsl($clr-color-hue, 87%, 88%); $clr-color-action-100: hsl($clr-color-hue, 86%, 84%); @@ -94,6 +89,11 @@ $clr-color-warning-1000: hsl($clr-warning-hue, 67%, 42%); $clr-global-borderradius: 0rem; -$clr-font: Montserrat, 'Avenir Next', Arial, sans-serif; +$clr-font: Montserrat, "Avenir Next", Arial, sans-serif; + +$clr-altFont: Barlow, Arial, sans-serif; + +$clr-global-selection-color: hsl(201, 29%, 88%) !default; -$clr-altFont: Barlow, Arial, sans-serif; \ No newline at end of file +// The text color on hovering a button of clarity class type btn-link +$clr-color-action-800: hsl(198, 100%, 24%) !default;