diff --git a/src/Squidex/app/features/schemas/pages/schemas-page.component.html b/src/Squidex/app/features/schemas/pages/schemas-page.component.html
index 4065255cd..bf77e8bbe 100644
--- a/src/Squidex/app/features/schemas/pages/schemas-page.component.html
+++ b/src/Squidex/app/features/schemas/pages/schemas-page.component.html
@@ -1,14 +1,46 @@
-
+
+
+
\ No newline at end of file
diff --git a/src/Squidex/app/features/schemas/pages/schemas-page.component.scss b/src/Squidex/app/features/schemas/pages/schemas-page.component.scss
index 83df9045e..fb77971f2 100644
--- a/src/Squidex/app/features/schemas/pages/schemas-page.component.scss
+++ b/src/Squidex/app/features/schemas/pages/schemas-page.component.scss
@@ -2,6 +2,75 @@
@import '_mixins';
.panel {
- min-width: 600px;
- max-width: 600px;
+ min-width: 450px;
+ max-width: 450px;
+}
+
+.panel-header {
+ min-height: 150px;
+ max-height: 150px;
+}
+
+.subheader {
+ margin-top: 1rem;
+ margin-right: -40px;
+}
+
+.search-form {
+ & {
+ position: relative;
+ margin-top: .5rem;
+ }
+
+ .form-control {
+ padding-left: 50px;
+ }
+
+ .icon-search {
+ @include absolute(8px, auto, auto, 12px);
+ color: $color-accent-dark;
+ font-size: 1.3rem;
+ font-weight: lighter;
+ }
+}
+
+.btn-new {
+ & {
+ padding-left: 0;
+ background: transparent;
+ border: 0;
+ color: darken($color-accent-dark, 15%);
+ font-size: 1.05rem;
+ }
+
+ &:hover {
+ color: darken($color-accent-dark, 5%);
+ outline: 0;
+ }
+
+ &:focus {
+ color: $color-accent-dark;
+ outline: 0;
+ }
+
+ .icon-plus {
+ & {
+ @include circle(24px);
+ background: transparent;
+ border: 2px solid darken($color-accent-dark, 15%);
+ font-size: .8rem;
+ font-weight: bold;
+ vertical-align: baseline;
+ line-height: 20px;
+ display: inline-block;
+ }
+
+ &:hover {
+ border-color: darken($color-accent-dark, 5%);
+ }
+
+ &:focus {
+ border-color: $color-accent-dark;
+ }
+ }
}
\ No newline at end of file
diff --git a/src/Squidex/app/features/schemas/pages/schemas-page.component.ts b/src/Squidex/app/features/schemas/pages/schemas-page.component.ts
index 151203a06..4150517cb 100644
--- a/src/Squidex/app/features/schemas/pages/schemas-page.component.ts
+++ b/src/Squidex/app/features/schemas/pages/schemas-page.component.ts
@@ -10,6 +10,8 @@ import { Component } from '@angular/core';
import {
AppComponentBase,
AppsStoreService,
+ fadeAnimation,
+ ModalView,
NotificationService,
UsersProviderService
} from 'shared';
@@ -17,11 +19,20 @@ import {
@Component({
selector: 'sqx-schemas-page',
styleUrls: ['./schemas-page.component.scss'],
- templateUrl: './schemas-page.component.html'
+ templateUrl: './schemas-page.component.html',
+ animations: [
+ fadeAnimation
+ ]
})
export class SchemasPageComponent extends AppComponentBase {
+ public modalDialog = new ModalView();
+
constructor(apps: AppsStoreService, notifications: NotificationService, users: UsersProviderService) {
super(apps, notifications, users);
}
+
+ public createSchema() {
+ this.modalDialog.show();
+ }
}
diff --git a/src/Squidex/app/shell/pages/app/left-menu.component.html b/src/Squidex/app/shell/pages/app/left-menu.component.html
index f17306f05..5cb772d73 100644
--- a/src/Squidex/app/shell/pages/app/left-menu.component.html
+++ b/src/Squidex/app/shell/pages/app/left-menu.component.html
@@ -1,21 +1,21 @@