Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6658 from saraycp/bootstrap_project_create
Migrate project creation page to bootstrap
- Loading branch information
Showing
5 changed files
with
16 additions
and
12 deletions.
There are no files selected for viewing
8 changes: 0 additions & 8 deletions
8
src/api/app/views/webui2/webui/project/_add_new_subproject_modal.html.haml
This file was deleted.
Oops, something went wrong.
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
10 changes: 10 additions & 0 deletions
10
src/api/app/views/webui2/webui/project/_new_project_modal.html.haml
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,10 @@ | ||
.modal.fade#new-project-modal{ tabindex: '-1', role: 'dialog', aria: { labelledby: 'new-project-modal-label', hidden: true } } | ||
.modal-dialog.modal-lg{ role: 'document' } | ||
.modal-content | ||
.modal-header | ||
%h5.modal-title#new-project-modal-label | ||
= local_assigns.key?(:project) ? 'Create Subproject' : 'Create Project' | ||
.modal-body | ||
- options = { project: Project.new, configuration: configuration } | ||
- options[:namespace] = project.name if local_assigns.key?(:project) | ||
= render partial: 'form', locals: options |
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