From b556e35692d9b52110d468afb63a87aa28533aaa Mon Sep 17 00:00:00 2001
From: Erik Reid <erik.reid@geant.org>
Date: Fri, 14 Dec 2018 09:25:26 +0100
Subject: [PATCH] renamed inventoryProvider controller & js file

---
 inventory_provider/static/juniper.html              | 13 ++-----------
 .../static/{inventoryProvider.js => juniper.js}     |  2 +-
 2 files changed, 3 insertions(+), 12 deletions(-)
 rename inventory_provider/static/{inventoryProvider.js => juniper.js} (95%)

diff --git a/inventory_provider/static/juniper.html b/inventory_provider/static/juniper.html
index 112984e5..5ccb2532 100644
--- a/inventory_provider/static/juniper.html
+++ b/inventory_provider/static/juniper.html
@@ -2,21 +2,12 @@
 <html ng-app="inventoryApp">
   <head>
     <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.5/angular.min.js"></script>
-    <script src="inventoryProvider.js"></script>
+    <script src="juniper.js"></script>
     <link rel="stylesheet" href="style.css">
   </head>
   <body>
 
-    <!--
-    <h2>Routers</h2>
-    <div ng-controller="inventoryProvider">
-      <ul name="routers" class="unstyled">
-          <li ng-repeat="r in routers">{{r}}</li>
-      </ul>
-    </div>
-    -->
-
-    <div ng-controller="inventoryProvider">
+    <div ng-controller="juniper">
       <h2>Interfaces</h2>
       <div>
       <select
diff --git a/inventory_provider/static/inventoryProvider.js b/inventory_provider/static/juniper.js
similarity index 95%
rename from inventory_provider/static/inventoryProvider.js
rename to inventory_provider/static/juniper.js
index 283b3445..035a0b44 100644
--- a/inventory_provider/static/inventoryProvider.js
+++ b/inventory_provider/static/juniper.js
@@ -1,6 +1,6 @@
 var myApp = angular.module('inventoryApp', []);
 
-myApp.controller('inventoryProvider', function($scope, $http) {
+myApp.controller('juniper', function($scope, $http) {
 
     $scope.routers = [];
     $scope.router = '';
-- 
GitLab