diff --git a/app/components/modal-new-driver/template.hbs b/app/components/modal-new-driver/template.hbs index bc3400e9f..7d15ed5f1 100644 --- a/app/components/modal-new-driver/template.hbs +++ b/app/components/modal-new-driver/template.hbs @@ -1,25 +1,22 @@ {{top-errors errors=errors}} -

Add Custom Machine Driver

-

You can add your own custom Dynamic Machine Drivers here. *Each driver is required to have a name and driver URI.

+

Add Machine Driver

-
-
- - {{input class="form-control input-sm r-mr5" value=originalModel.name }} -
-
- - {{input class="form-control input-sm r-mr5" value=originalModel.uri }} - The URL to download the machine driver for Linux/amd64. -
+
+ + {{input class="form-control" value=originalModel.name }}
-
-
- - {{input class="form-control input-sm r-mr5" value=originalModel.md5 }} - The expected MD5 for the downloaded driver. -
+ +
+ + {{input class="form-control" value=originalModel.uri }} + The URL to download the machine driver binary 64-bit Linux. +
+ +
+ + {{input class="form-control" value=originalModel.md5 }} + Optional: Verify that the downloaded driver matches the expected checksum.
{{partial "save-cancel"}} diff --git a/app/components/page-header/component.js b/app/components/page-header/component.js index 8325f317e..048f136f9 100644 --- a/app/components/page-header/component.js +++ b/app/components/page-header/component.js @@ -97,8 +97,19 @@ export default Ember.Component.extend({ didInsertElement() { // Hide the Firefox focus ring - this.$().on('click', 'A', function(){ + this.$().on('click', 'A', function(event){ $(this).blur(); + + let $tgt = $(event.target); + + // Close the small-screen nav after clicking on a bottom-row item + if ( $tgt.parents('#navbar').length ) + { + event.preventDefault(); + $('#navbar').one('hidden.bs.collapse', () => { + $tgt.trigger('click'); + }).collapse('hide'); + } }); diff --git a/app/components/page-header/template.hbs b/app/components/page-header/template.hbs index 1116012c7..8125125b0 100644 --- a/app/components/page-header/template.hbs +++ b/app/components/page-header/template.hbs @@ -145,14 +145,14 @@ {{/if}} - +
  • {{#link-to "applications-tab" projectId id="applications-tab"}}Applications{{/link-to}}
  • - +
  • {{#link-to "infrastructure-tab" projectId id="infrastructure-tab"}}Infrastructure{{/link-to}}