THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

This is Gitea test Portainer repository mirror from Github
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

33 lines
1.4 KiB

  1. <div id="service-container-image" authorization="DockerServiceUpdate">
  2. <rd-widget>
  3. <rd-widget-header icon="fa-clone" title-text="Change container image">
  4. </rd-widget-header>
  5. <rd-widget-body ng-if="!isUpdating">
  6. <form class="form-horizontal">
  7. <por-image-registry
  8. model="formValues.RegistryModel"
  9. auto-complete="true"
  10. label-class="col-sm-1" input-class="col-sm-11"
  11. ></por-image-registry>
  12. </form>
  13. </rd-widget-body>
  14. <rd-widget-body ng-if="isUpdating">
  15. <p>Image modification is disabled while service is updating.</p>
  16. </rd-widget-body>
  17. <rd-widget-footer authorization="DockerServiceUpdate">
  18. <div class="btn-toolbar" role="toolbar">
  19. <div class="btn-group" role="group">
  20. <button type="button" class="btn btn-primary btn-sm" ng-disabled="!hasChanges(service, ['Image'])" ng-click="updateService(service)">Apply changes</button>
  21. <button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  22. <span class="caret"></span>
  23. </button>
  24. <ul class="dropdown-menu">
  25. <li><a ng-click="cancelChanges(service, ['Image'])">Reset changes</a></li>
  26. <li><a ng-click="cancelChanges(service)">Reset all changes</a></li>
  27. </ul>
  28. </div>
  29. </div>
  30. </rd-widget-footer>
  31. </rd-widget>
  32. </div>