mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-18 22:57:38 +01:00
updates for reverting the order of buttons, and navigation-details action of UI.
This commit is contained in:
parent
a824b4d77f
commit
3ac7de1c81
@ -8,8 +8,8 @@
|
|||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button type="button" class="btn btn-default" data-dismiss="modal">// 'close' | tr //</button>
|
|
||||||
<button type="button" class="btn btn-primary" id="btnOk">// 'ok' | tr //</button>
|
<button type="button" class="btn btn-primary" id="btnOk">// 'ok' | tr //</button>
|
||||||
|
<button type="button" class="btn btn-default" data-dismiss="modal">// 'close' | tr //</button>
|
||||||
</div>
|
</div>
|
||||||
</div><!-- /.modal-content -->
|
</div><!-- /.modal-content -->
|
||||||
</div><!-- /.modal-dialog -->
|
</div><!-- /.modal-dialog -->
|
||||||
|
@ -24,8 +24,8 @@
|
|||||||
<div class="col-xs-2 col-md-2">
|
<div class="col-xs-2 col-md-2">
|
||||||
<form>
|
<form>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="button" class="btn btn-default" id="btnCancel" ng-click="vm.cancel(form)">// 'cancel' | tr //</button>
|
|
||||||
<button type="button" class="btn btn-primary" id="btnSave" ng-disabled="form.$invalid" ng-click="vm.save(pm)">// 'save' | tr //</button>
|
<button type="button" class="btn btn-primary" id="btnSave" ng-disabled="form.$invalid" ng-click="vm.save(pm)">// 'save' | tr //</button>
|
||||||
|
<button type="button" class="btn btn-default" id="btnCancel" ng-click="vm.cancel(form)">// 'cancel' | tr //</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -19,8 +19,8 @@
|
|||||||
<div class="col-xs-2 col-md-2">
|
<div class="col-xs-2 col-md-2">
|
||||||
<form>
|
<form>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<button type="button" class="btn btn-default" ng-click="vm.cancel(form)">// 'cancel' | tr //</button>
|
|
||||||
<button type="button" class="btn btn-primary" ng-disabled="form.$invalid" ng-click="vm.addProject(p)">// 'save' | tr //</button>
|
<button type="button" class="btn btn-primary" ng-disabled="form.$invalid" ng-click="vm.addProject(p)">// 'save' | tr //</button>
|
||||||
|
<button type="button" class="btn btn-default" ng-click="vm.cancel(form)">// 'cancel' | tr //</button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -61,11 +61,11 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
element.find('a[tag*="' + visited + '"]').addClass('active');
|
element.find('a[tag*="' + visited + '"]').addClass('active');
|
||||||
element.on('click', click);
|
element.find('a').on('click', click);
|
||||||
|
|
||||||
function click(event) {
|
function click(event) {
|
||||||
element.find('a').removeClass('active');
|
element.find('a').removeClass('active');
|
||||||
$(event.target).not('span').addClass('active');
|
$(event.target).addClass('active');
|
||||||
ctrl.clickTab();
|
ctrl.clickTab();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,8 +55,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-offset-7 col-md-10">
|
<div class="col-md-offset-7 col-md-10">
|
||||||
<input type="submit" class="btn btn-default" ng-click="vm.cancel()" value="Cancel">
|
|
||||||
<input type="submit" class="btn btn-primary" ng-disabled="form.$invalid" value="Save">
|
<input type="submit" class="btn btn-primary" ng-disabled="form.$invalid" value="Save">
|
||||||
|
<input type="submit" class="btn btn-default" ng-click="vm.cancel()" value="Cancel">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -104,8 +104,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<div class="col-md-offset-7 col-md-10">
|
<div class="col-md-offset-7 col-md-10">
|
||||||
<input type="submit" class="btn btn-default" ng-click="vm.cancel(form)" value="// 'cancel' | tr //">
|
|
||||||
<input type="submit" class="btn btn-primary" ng-disabled="form.$invalid" value="// 'save' | tr //">
|
<input type="submit" class="btn btn-primary" ng-disabled="form.$invalid" value="// 'save' | tr //">
|
||||||
|
<input type="submit" class="btn btn-default" ng-click="vm.cancel(form)" value="// 'cancel' | tr //">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="error-message">
|
<div class="error-message">
|
||||||
|
Loading…
Reference in New Issue
Block a user