From 2ea43492bb602d3435f6acb2f5cdeeb92fd3b011 Mon Sep 17 00:00:00 2001 From: Kyle Johnson Date: Tue, 3 Mar 2015 07:56:30 -0500 Subject: [PATCH] Migrate Host view to ui-router --- web/js/app.js | 5 +++++ web/views/header.html | 2 +- web/views/{host.php => host.html} | 13 ------------- 3 files changed, 6 insertions(+), 14 deletions(-) rename web/views/{host.php => host.html} (80%) diff --git a/web/js/app.js b/web/js/app.js index 3dbc72a5b..7d19b37a8 100644 --- a/web/js/app.js +++ b/web/js/app.js @@ -83,6 +83,11 @@ ZoneMinder.config(function($stateProvider, $urlRouterProvider) { templateUrl: '/views/monitor.detail.misc.html' }) + .state('host', { + url: '/host', + templateUrl: '/views/host.html' + }) + /////////////////////////// // Zones - Edit and List // /////////////////////////// diff --git a/web/views/header.html b/web/views/header.html index be29f04f9..c90760edf 100644 --- a/web/views/header.html +++ b/web/views/header.html @@ -19,7 +19,7 @@
  • Options
  • Logs
  • Devices
  • -
  • Host
  • +
  • Host