-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add reorder button and skeletal dialog to model overview
- Loading branch information
1 parent
7e7c7c9
commit 7c454ae
Showing
5 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
12 changes: 12 additions & 0 deletions
12
...c/app/projects/project-detail/model-overview/reorder-models/reorder-models.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!-- | ||
~ SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors | ||
~ SPDX-License-Identifier: Apache-2.0 | ||
--> | ||
|
||
<div class="dialog"> | ||
<h2>Reorder models</h2> | ||
<div> | ||
Drag and drop models in the order you would like, then press save. All | ||
members of a team will see the updated order. | ||
</div> | ||
</div> |
22 changes: 22 additions & 0 deletions
22
...src/app/projects/project-detail/model-overview/reorder-models/reorder-models.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* SPDX-FileCopyrightText: Copyright DB Netz AG and the capella-collab-manager contributors | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
import { Component, Inject } from '@angular/core'; | ||
import { MAT_DIALOG_DATA } from '@angular/material/dialog'; | ||
|
||
import { ProjectService } from 'src/app/projects/service/project.service'; | ||
|
||
@Component({ | ||
selector: 'app-reorder-models', | ||
templateUrl: './reorder-models.component.html', | ||
styleUrls: ['./reorder-models.component.css'], | ||
}) | ||
export class ReorderModelsComponent { | ||
constructor( | ||
public projectService: ProjectService, | ||
@Inject(MAT_DIALOG_DATA) | ||
public data: { data: 1 }, | ||
) {} | ||
} |