Skip to content

Commit

Permalink
Merge pull request #482 from rsiminel/new-project-UI
Browse files Browse the repository at this point in the history
better admin project selection
  • Loading branch information
mboudet authored Jul 23, 2024
2 parents 2d8f137 + 477b783 commit 7d25479
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Add back button from single project view
* Updated TP calendar to increase readability
* Fix newly created group selection bug
* Update admin project creation UI: disappearing buttons and add "undo selection" button
* Actually show angular errors in web console when not in production and sentry is not set
* Fix owner change for databases and websites

Expand Down
10 changes: 7 additions & 3 deletions manager2/src/app/admin/projects/projects.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,16 @@ <h3>Project creation</h3>
</div>
<div class="form-group row">
<div class="col-sm-2">
<label style="opacity: 0;">Create</label>
<button type="button" class="p-button p-button-success" (click)="add_project()">Create project</button>
</div>
<div class="col-sm-2" *ngIf="new_project.uuid && new_project.uuid != ''">
<label style="opacity: 0;">Edit</label>
<button type="button" class="p-button" (click)="edit_project()">Save changes</button>
</div>
<div class="col-sm-2">
<label style="opacity: 0;">Create</label>
<button type="button" class="p-button p-button-success" (click)="add_project()">Create project</button>
<div class="col-sm-2" *ngIf="new_project.uuid && new_project.uuid != ''">
<label style="opacity: 0;">De-select</label>
<button type="button" class="p-button p-button-secondary" (click)="new_project = { };">Undo selection</button>
</div>
</div>
</form>
Expand Down

0 comments on commit 7d25479

Please sign in to comment.