forked from eclipse/vorto
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created modal to describe model before creating editor
- Loading branch information
Showing
4 changed files
with
90 additions
and
28 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
36 changes: 36 additions & 0 deletions
36
server/devtool/src/main/resources/static/templates/describe-editor-modal-template.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,36 @@ | ||
<div class="modal-header"> | ||
<h3 class="modal-title"><center>Create New {{editorType.display}}</center></h3> | ||
</div> | ||
<div class="modal-body"> | ||
<div> | ||
<p>Please enter the following details</p> | ||
</div> | ||
<div> | ||
<p> | ||
<div class="describe-modal-label"> | ||
{{editorType.display}} Name | ||
</div> | ||
<input type="text" size="37" data-ng-model="model.name" required/> | ||
</p> | ||
<p> | ||
<div class="describe-modal-label"> | ||
{{editorType.display}} Version | ||
</div> | ||
<input type="text" size="37" data-ng-model="model.version" required/> | ||
</p> | ||
<p> | ||
<div class="describe-modal-label"> | ||
{{editorType.display}} Description | ||
</div> | ||
<textarea rows="4" cols="35" data-ng-model="model.description"/> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<div class="align-left"> | ||
<button class="btn btn-primary" type="button" ng-click="ok()">Create</button> | ||
</div> | ||
<div class="align-right"> | ||
<button class="btn btn-primary" type="button" ng-click="cancel()">Cancel</button> | ||
</div> | ||
</div> |
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