diff --git a/demo-shell-ng2/app/app.component.css b/demo-shell-ng2/app/app.component.css index 00e49cd0b7..637be069c4 100644 --- a/demo-shell-ng2/app/app.component.css +++ b/demo-shell-ng2/app/app.component.css @@ -1,35 +1,7 @@ -@media screen and (max-width: 1024px) { - .mdl-layout__header { - display: block; - } -} - -@media screen and (max-width: 1024px) { - .mdl-layout__header { - display: block; - } -} - -.mdl-layout-title { - font-size: 17px; -} - .user-profile { margin-right: 10px; } -.mdl-button-padding { - padding-left: 20px; -} - -.hide { - display: none !important; -} - -.mdl-navigation__link { - cursor: pointer; -} - -.mdl-navigation__link label { - cursor: pointer; +.app-menu--spacer { + flex: 1 1 auto; } diff --git a/demo-shell-ng2/app/app.component.html b/demo-shell-ng2/app/app.component.html index b4a419dd94..d76169b1df 100644 --- a/demo-shell-ng2/app/app.component.html +++ b/demo-shell-ng2/app/app.component.html @@ -1,90 +1,74 @@ - -
-
-
+ + - - + ADF Demo Application - - Demo Application - -
+
- - + - - + Home + Content Services + Process Services + Login - - - - - - + + + + + + - - - - view_module - DataTable - - - poll - Form - - - library_books - Form List - - - file_upload - Uploader - - - extension - Webscript - - - local_offer - Tag - - - thumb_up - Social - - - settings - Settings - - - info_outline - About - - - -
+ + + + view_module + DataTable + + + poll + Form + + + library_books + Form List + + + file_upload + Uploader + + + extension + Webscript + + + local_offer + Tag + + + thumb_up + Social + + + settings + Settings + + + info_outline + About + + + + -
- -
-
- -
-
-
+ diff --git a/demo-shell-ng2/app/app.component.ts b/demo-shell-ng2/app/app.component.ts index e6985b4cfb..06015c8412 100644 --- a/demo-shell-ng2/app/app.component.ts +++ b/demo-shell-ng2/app/app.component.ts @@ -28,7 +28,7 @@ import { declare var document: any; @Component({ - selector: 'alfresco-app', + selector: 'adf-app', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) @@ -93,9 +93,4 @@ export class AppComponent { this.settingsService.setProviders(this.storage.getItem(`providers`)); } } - - onDragOverMainPage(event: any): boolean { - event.preventDefault(); - return false; - } } diff --git a/demo-shell-ng2/index.html b/demo-shell-ng2/index.html index 7e93895ca9..2518de7a14 100644 --- a/demo-shell-ng2/index.html +++ b/demo-shell-ng2/index.html @@ -50,7 +50,7 @@ - +
Loading Demo Shell..
-
+