Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #480 from hawkular/url-refactoring
Browse files Browse the repository at this point in the history
UI Url list refactoring
  • Loading branch information
mtho11 committed Sep 21, 2015
2 parents bab7eab + e8326c4 commit 1e977e0
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ <h3 class="pull-left">Alerts <span>({{(mac.alertList).length}})</span></h3>
<i class="fa fa-cog"></i>Availability Alert Settings</a>
</span>
</div>
<div ng-include="'plugins/metrics/html/alerts-view.html'"></div>
<div ng-include="'plugins/metrics/html/partials/url-alerts-view.html'"></div>
</section>
</div>
18 changes: 0 additions & 18 deletions console/src/main/scripts/plugins/metrics/html/url-pagination.html

This file was deleted.

8 changes: 4 additions & 4 deletions console/src/main/scripts/plugins/metrics/ts/metricsPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module HawkularMetrics {
// this was for single page.. remove ?
when('/hawkular/:resourceId/:timeOffset?/:endTime?', {templateUrl: 'plugins/metrics/html/single-page.html'}).
when('/metrics/response-time', {
templateUrl: 'plugins/metrics/html/response-time.html',
templateUrl: 'plugins/metrics/html/url-response-time.html',
resolve: {
hkResourceList: function ($route, $filter, $location, $rootScope, $q, HawkularInventory) {
var idParts = $route.current.params.resourceId.split('~');
Expand All @@ -56,7 +56,7 @@ module HawkularMetrics {
}
}).when('/hawkular-ui/url/url-list', {templateUrl: 'plugins/metrics/html/url-list.html'}).
when('/hawkular-ui/url/response-time/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/response-time.html',
templateUrl: 'plugins/metrics/html/url-response-time.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand All @@ -75,7 +75,7 @@ module HawkularMetrics {
}
}).
when('/hawkular-ui/url/availability/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/availability.html',
templateUrl: 'plugins/metrics/html/url-availability.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand All @@ -94,7 +94,7 @@ module HawkularMetrics {
}
}).
when('/hawkular-ui/url/alerts/:resourceId/:timeOffset?/:endTime?', {
templateUrl: 'plugins/metrics/html/alerts.html',
templateUrl: 'plugins/metrics/html/url-alerts.html',
reloadOnSearch: false,
resolve: {
resource: function ($route, $location, HawkularInventory, NotificationsService:INotificationsService) {
Expand Down

0 comments on commit 1e977e0

Please sign in to comment.