Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better admin project selection #482

Merged
merged 3 commits into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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