You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/05/19 14:35:33 UTC

[incubator-dlab] 02/06: added layout as a middle route stage

This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch project_grid
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit f841d27a4f1bdd8fedb887730a7ade0c0a67a788
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Sun May 19 12:54:53 2019 +0300

    added layout as a middle route stage
---
 .../webapp/src/app/layout/layout.component.html    | 20 ++++++++++++++
 .../webapp/src/app/layout/layout.component.ts      | 29 ++++++++++++++++++++
 .../webapp/src/app/layout/layout.module.ts         | 32 ++++++++++++++++++++++
 3 files changed, 81 insertions(+)

diff --git a/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.html b/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.html
new file mode 100644
index 0000000..dcab0d8
--- /dev/null
+++ b/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.html
@@ -0,0 +1,20 @@
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one
+  ~ or more contributor license agreements.  See the NOTICE file
+  ~ distributed with this work for additional information
+  ~ regarding copyright ownership.  The ASF licenses this file
+  ~ to you under the Apache License, Version 2.0 (the
+  ~ "License"); you may not use this file except in compliance
+  ~ with the License.  You may obtain a copy of the License at
+  ~
+  ~   http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing,
+  ~ software distributed under the License is distributed on an
+  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  ~ KIND, either express or implied.  See the License for the
+  ~ specific language governing permissions and limitations
+  ~ under the License.
+  -->
+
+<dlab-navbar></dlab-navbar>
diff --git a/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.ts b/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.ts
new file mode 100644
index 0000000..9699698
--- /dev/null
+++ b/services/self-service/src/main/resources/webapp/src/app/layout/layout.component.ts
@@ -0,0 +1,29 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+  selector: 'dlab-layout',
+  templateUrl: './layout.component.html',
+})
+export class LayoutComponent implements OnInit {
+  constructor() { }
+  ngOnInit() { }
+}
diff --git a/services/self-service/src/main/resources/webapp/src/app/layout/layout.module.ts b/services/self-service/src/main/resources/webapp/src/app/layout/layout.module.ts
new file mode 100644
index 0000000..1f18582
--- /dev/null
+++ b/services/self-service/src/main/resources/webapp/src/app/layout/layout.module.ts
@@ -0,0 +1,32 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+import { NgModule } from '@angular/core';
+import { RouterModule } from '@angular/router';
+import { CommonModule } from '@angular/common';
+
+import { LayoutComponent } from './layout.component';
+import { NavbarModule } from '../shared/navbar';
+
+@NgModule({
+  imports: [CommonModule, RouterModule, NavbarModule],
+  declarations: [LayoutComponent],
+  exports: [LayoutComponent]
+})
+export class LayoutModule { }
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org