mirror of https://github.com/portainer/portainer
Change tag url params
parent
3985e608c2
commit
b516fcdd0e
|
@ -27,7 +27,7 @@ angular.module('dockerui.services', ['ngResource'])
|
|||
create :{method: 'POST', params: {action:'create'}},
|
||||
insert :{method: 'POST', params: {id: '@id', action:'insert'}},
|
||||
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'}
|
||||
});
|
||||
})
|
||||
|
|
|
@ -64,15 +64,15 @@
|
|||
<hr />
|
||||
|
||||
<div class="row-fluid">
|
||||
<form>
|
||||
<form class="form-inline">
|
||||
<fieldset>
|
||||
<legend>Tag to Repo</legend>
|
||||
<label>Repo:</label>
|
||||
<input type="text" placeholder="Repo..." ng-model="tag.repo" required>
|
||||
<legend>Tag image</legend>
|
||||
<label>Tag:</label>
|
||||
<input type="text" placeholder="repo..." ng-model="tag.repo" required>
|
||||
<label class="checkbox">
|
||||
<input type="checkbox" ng-model="tag.force"/> Force?
|
||||
</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>
|
||||
</form>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue