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.
aggregation-platform/plugins/kubernetes/html/imageRepositories.html

52 lines
2.2 KiB

9 years ago
<div class="row" ng-controller="Kubernetes.ImageRepositoriesController">
<script type="text/ng-template" id="imageRegistryLabelTemplate.html">
<div class="ngCellText">
<span ng-repeat="(key, label) in row.entity.tags track by $index"
class="pod-label badge"
ng-class="labelClass(key)"
ng-click="clickTag(entity, key, label)"
title="{{key}}">{{label}}</span>
</div>
</script>
<div class="row filter-header">
<div class="col-md-12">
<span>
<hawtio-filter ng-show="imageRepositories.length"
ng-model="tableConfig.filterOptions.filterText"
css-class="input-xxlarge"
placeholder="Filter image repositories..."></hawtio-filter>
</span>
<button ng-show="fetched && imageRepositories.length"
title="Delete the selected build configuration"
class="btn btn-danger pull-right"
ng-disabled="tableConfig.selectedItems.length == 0"
ng-click="deletePrompt(tableConfig.selectedItems)">
<i class="fa fa-remove"></i> Delete
</button>
<span class="pull-right">&nbsp;</span>
<a class="btn btn-default pull-right"
title="Create a new image repository"
href="{{baseUri}}/kubernetes/imageRepositoryCreate"><i class="fa fa-plus"></i> Create</a>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div ng-hide="fetched">
<div class="align-center">
<i class="fa fa-spinner fa-spin"></i>
</div>
</div>
<div ng-show="fetched">
<div ng-hide="imageRepositories.length" class="align-center">
<p class="alert alert-info">There are no image repositories available.</p>
<a class="btn btn-primary" href="{{baseUri}}/kubernetes/imageRepositoryCreate"><i class="fa fa-plus"></i> Create Image Repository</a>
</div>
<div ng-show="imageRepositories.length">
<table class="table table-bordered table-striped" ui-if="kubernetes.selectedNamespace"
hawtio-simple-table="tableConfig"></table>
</div>
</div>
</div>
</div>
</div>