Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pkguidedit.html 1.6KB

123456789101112131415161718192021222324252627282930
  1. <div layout="column" ng-cloak class="md-inline-form" angular-busy="appUtils.cgBusy('pkguid.edit')">
  2. <md-content layout-padding>
  3. <form name="editForm">
  4. <div layout-gt-sm="row">
  5. <md-input-container class="md-block" flex-gt-sm>
  6. <label>{{ 'pkguid.someText' | translate }}</label>
  7. <input required ng-model="pkguid.someText">
  8. </md-input-container>
  9. <md-input-container class="md-block" flex-gt-sm>
  10. <label>{{ 'pkguid.someInt' | translate }}</label>
  11. <input required type="number" ng-model="pkguid.someInt">
  12. </md-input-container>
  13. </div>
  14. <div flex>
  15. <md-progress-linear ng-disabled="!running" md-mode="indeterminate"></md-progress-linear>
  16. </div>
  17. <div layout="row" layout-align="space-between center">
  18. <md-button class="md-raised md-primary" type="submit" ng-click="!editForm.$invalid && submit()">{{ 'common.save' | translate }}</md-button>
  19. <md-button class="md-warn md-icon-button" ng-show="pkguid.id != null" ng-click="askRemoveOne(pkguid)" title="{{ 'common.delete' | translate }}">
  20. <md-icon class="material-icons">delete</md-icon>
  21. </md-button>
  22. </div>
  23. <div ng-repeat="error in busy.errors('pkguid.edit')" class="isa_error">
  24. <i class="fa fa-times-circle"></i>
  25. {{ error.data.message }}
  26. </div>
  27. </form>
  28. </md-content>
  29. </div>