mirror of
https://github.com/openfaas/faas.git
synced 2025-06-22 14:53:25 +00:00
Initial pop-up design
This commit is contained in:
34
gateway/assets/newfunction.html
Normal file
34
gateway/assets/newfunction.html
Normal file
@ -0,0 +1,34 @@
|
||||
<md-dialog aria-label="List dialog" layout="column" flex="80">
|
||||
<md-dialog-content class="md-padding">
|
||||
<label>Define a function:</label>
|
||||
<form name="userForm">
|
||||
<div layout-gt-xs="row">
|
||||
<md-input-container class="md-block" flex-gt-sm>
|
||||
<label>Image:</label>
|
||||
<input name="dockerImage" ng-model="item.image" required md-maxlength="200" minlength="4">
|
||||
</md-input-container>
|
||||
</div>
|
||||
<div layout-gt-xs="row">
|
||||
<md-input-container class="md-block" flex-gt-sm>
|
||||
<label>Name:</label>
|
||||
<input name="serviceName" ng-model="item.name" required md-maxlength="200" minlength="4">
|
||||
</md-input-container>
|
||||
</div>
|
||||
<div layout-gt-xs="row">
|
||||
<md-input-container class="md-block" flex-gt-sm>
|
||||
<label>fProcess:</label>
|
||||
<input name="fprocess" ng-model="item.fprocess" required md-maxlength="200" minlength="4">
|
||||
</md-input-container>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</md-dialog-content>
|
||||
<md-dialog-actions>
|
||||
<md-button ng-click="closeDialog()" class="md-secondary">
|
||||
Close Dialog
|
||||
</md-button>
|
||||
<md-button ng-click="createFunc()" class="md-primary">
|
||||
Create
|
||||
</md-button>
|
||||
</md-dialog-actions>
|
||||
</md-dialog>
|
Reference in New Issue
Block a user