mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
update for close button of adding item tabs.
This commit is contained in:
parent
d57e234f19
commit
5422988e11
@ -1,5 +1,6 @@
|
|||||||
<div class="well panel-group well-custom" style="margin-left: 0;">
|
<div class="well panel-group well-custom" style="margin-left: 0;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
|
||||||
<div class="col-xs-10 col-md-10">
|
<div class="col-xs-10 col-md-10">
|
||||||
<form class="form">
|
<form class="form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
var vm = this;
|
var vm = this;
|
||||||
|
|
||||||
vm.checkOperation = checkOperation;
|
vm.checkOperation = checkOperation;
|
||||||
|
vm.close = close;
|
||||||
|
|
||||||
vm.opAll = true;
|
vm.opAll = true;
|
||||||
vm.opCreate = true;
|
vm.opCreate = true;
|
||||||
@ -67,6 +68,9 @@
|
|||||||
$scope.$apply();
|
$scope.$apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function close() {
|
||||||
|
vm.isOpen = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function advancedSearch() {
|
function advancedSearch() {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<div class="well panel-group well-custom" style="margin: 0;">
|
<div class="well panel-group well-custom" style="margin: 0;">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
|
||||||
<form name="form" class="css-form" novalidate>
|
<form name="form" class="css-form" novalidate>
|
||||||
<div class="col-xs-10 col-md-10">
|
<div class="col-xs-10 col-md-10">
|
||||||
<div class="form-group col-md-6">
|
<div class="form-group col-md-6">
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
vm.save = save;
|
vm.save = save;
|
||||||
vm.cancel = cancel;
|
vm.cancel = cancel;
|
||||||
|
vm.close = close;
|
||||||
vm.reset = reset;
|
vm.reset = reset;
|
||||||
|
|
||||||
vm.hasError = false;
|
vm.hasError = false;
|
||||||
@ -47,6 +47,10 @@
|
|||||||
vm.errorMessage = '';
|
vm.errorMessage = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function close() {
|
||||||
|
vm.isOpen = false;
|
||||||
|
}
|
||||||
|
|
||||||
function addProjectMemberComplete(data, status, header) {
|
function addProjectMemberComplete(data, status, header) {
|
||||||
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
|
console.log('addProjectMemberComplete: status:' + status + ', data:' + data);
|
||||||
vm.reload();
|
vm.reload();
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
<div class="well well-custom">
|
<div class="well well-custom">
|
||||||
|
<div class="pull-right clearfix"><a href="javascript:void(0);" ng-click="vm.close()"><span class="glyphicon glyphicon-remove-circle"></span></a></div>
|
||||||
<form name="form" class="css-form form-custom" novalidate>
|
<form name="form" class="css-form form-custom" novalidate>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-xs-10 col-md-10">
|
<div class="col-xs-10 col-md-10">
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
|
|
||||||
vm.addProject = addProject;
|
vm.addProject = addProject;
|
||||||
vm.cancel = cancel;
|
vm.cancel = cancel;
|
||||||
|
vm.close = close;
|
||||||
|
|
||||||
vm.reset = reset;
|
vm.reset = reset;
|
||||||
|
|
||||||
@ -65,6 +66,10 @@
|
|||||||
vm.errorMessage = '';
|
vm.errorMessage = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function close() {
|
||||||
|
vm.isOpen = false;
|
||||||
|
}
|
||||||
|
|
||||||
function reset() {
|
function reset() {
|
||||||
vm.hasError = false;
|
vm.hasError = false;
|
||||||
vm.errorMessage = '';
|
vm.errorMessage = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user