From 40839b19f61fae5c86fd7173fef4663428bd4d77 Mon Sep 17 00:00:00 2001
From: Jaden Diefenbaugh <blakcap@users.noreply.github.com>
Date: Thu, 20 Apr 2017 10:55:11 +0200
Subject: [PATCH] rm extra panels from viewmode

---
 .../app/directives/view/panelContent.js       | 39 -------------------
 .../reports/app/directives/view/panelItems.js | 38 ------------------
 .../web/reports/templates/reports/report.html |  2 -
 3 files changed, 79 deletions(-)
 delete mode 100644 beat/web/reports/static/reports/app/directives/view/panelContent.js
 delete mode 100644 beat/web/reports/static/reports/app/directives/view/panelItems.js

diff --git a/beat/web/reports/static/reports/app/directives/view/panelContent.js b/beat/web/reports/static/reports/app/directives/view/panelContent.js
deleted file mode 100644
index 29940bcc4..000000000
--- a/beat/web/reports/static/reports/app/directives/view/panelContent.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/
- * Contact: beat.support@idiap.ch
- *
- * This file is part of the beat.web module of the BEAT platform.
- *
- * Commercial License Usage
- * Licensees holding valid commercial BEAT licenses may use this file in
- * accordance with the terms contained in a written agreement between you
- * and Idiap. For further information contact tto@idiap.ch
- *
- * Alternatively, this file may be used under the terms of the GNU Affero
- * Public License version 3 as published by the Free Software and appearing
- * in the file LICENSE.AGPL included in the packaging of this file.
- * The BEAT platform is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU Affero Public License along
- * with the BEAT platform. If not, see http://www.gnu.org/licenses/.
- */
-
-/*
- * groupPanelContent
- * Desc:
- * 	lays out the content of a group in a panel
- */
-angular.module('reportApp').directive("groupPanelContent", ['GroupsService', function(GroupsService){
-	return {
-		scope: {
-			group: '='
-		},
-		link: function(scope){
-		},
-		template: `
-`
-	};
-}]);
-
diff --git a/beat/web/reports/static/reports/app/directives/view/panelItems.js b/beat/web/reports/static/reports/app/directives/view/panelItems.js
deleted file mode 100644
index b805824dd..000000000
--- a/beat/web/reports/static/reports/app/directives/view/panelItems.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * Copyright (c) 2016 Idiap Research Institute, http://www.idiap.ch/
- * Contact: beat.support@idiap.ch
- *
- * This file is part of the beat.web module of the BEAT platform.
- *
- * Commercial License Usage
- * Licensees holding valid commercial BEAT licenses may use this file in
- * accordance with the terms contained in a written agreement between you
- * and Idiap. For further information contact tto@idiap.ch
- *
- * Alternatively, this file may be used under the terms of the GNU Affero
- * Public License version 3 as published by the Free Software and appearing
- * in the file LICENSE.AGPL included in the packaging of this file.
- * The BEAT platform is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.
- *
- * You should have received a copy of the GNU Affero Public License along
- * with the BEAT platform. If not, see http://www.gnu.org/licenses/.
- */
-
-/*
- * groupPanelItems
- * Desc:
- * 	displays the panel of report items of the group
- */
-angular.module('reportApp').directive("groupPanelItems", [function(){
-	return {
-		scope: {
-			group: '='
-		},
-		link: function(scope){
-		},
-		template: `
-`
-	};
-}]);
diff --git a/beat/web/reports/templates/reports/report.html b/beat/web/reports/templates/reports/report.html
index d27e338a1..9b4ec10f2 100644
--- a/beat/web/reports/templates/reports/report.html
+++ b/beat/web/reports/templates/reports/report.html
@@ -117,8 +117,6 @@
     <!-- readonly view -->
     <script src="{% fingerprint "reports/app/directives/view/layout.js" %}" type="text/javascript" charset="utf-8"></script>
     <script src="{% fingerprint "reports/app/directives/view/itemContainer.js" %}" type="text/javascript" charset="utf-8"></script>
-    <script src="{% fingerprint "reports/app/directives/view/panelContent.js" %}" type="text/javascript" charset="utf-8"></script>
-    <script src="{% fingerprint "reports/app/directives/view/panelItems.js" %}" type="text/javascript" charset="utf-8"></script>
     <script src="{% fingerprint "reports/app/directives/view/plotItem.js" %}" type="text/javascript" charset="utf-8"></script>
     <script src="{% fingerprint "reports/app/directives/view/tableItem.js" %}" type="text/javascript" charset="utf-8"></script>
     <script src="{% fingerprint "reports/app/directives/view/textItem.js" %}" type="text/javascript" charset="utf-8"></script>
-- 
GitLab