1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 06:49:40 +02:00

Change tag url params

This commit is contained in:
Michael Crosby 2013-06-14 16:02:22 -09:00
parent 3985e608c2
commit b516fcdd0e
2 changed files with 6 additions and 6 deletions

View file

@ -27,7 +27,7 @@ angular.module('dockerui.services', ['ngResource'])
create :{method: 'POST', params: {action:'create'}}, create :{method: 'POST', params: {action:'create'}},
insert :{method: 'POST', params: {id: '@id', action:'insert'}}, insert :{method: 'POST', params: {id: '@id', action:'insert'}},
push :{method: 'POST', params: {id: '@id', action:'push'}}, push :{method: 'POST', params: {id: '@id', action:'push'}},
tag :{method: 'POST', params: {id: '@id', action:'tag'}}, tag :{method: 'POST', params: {id: '@id', action:'tag', force: 0, repo: '@repo'}},
delete :{id: '@id', method: 'DELETE'} delete :{id: '@id', method: 'DELETE'}
}); });
}) })

View file

@ -64,15 +64,15 @@
<hr /> <hr />
<div class="row-fluid"> <div class="row-fluid">
<form> <form class="form-inline">
<fieldset> <fieldset>
<legend>Tag to Repo</legend> <legend>Tag image</legend>
<label>Repo:</label> <label>Tag:</label>
<input type="text" placeholder="Repo..." ng-model="tag.repo" required> <input type="text" placeholder="repo..." ng-model="tag.repo" required>
<label class="checkbox"> <label class="checkbox">
<input type="checkbox" ng-model="tag.force"/> Force? <input type="checkbox" ng-model="tag.force"/> Force?
</label> </label>
<input type="button" ng-click="updateTag()" value="Update" class="btn btn-info"/> <input type="button" ng-click="updateTag()" value="Tag" class="btn btn-info"/>
</fieldset> </fieldset>
</form> </form>
</div> </div>