From f925d62956d3ae668de7c6ac707af94daf4b971e 2016-10-05 15:14:12 From: Marcin Lulek Date: 2016-10-05 15:14:12 Subject: [PATCH] angular: start transitioning to component approach --- diff --git a/backend/src/appenlight/static/js/appenlight.js b/backend/src/appenlight/static/js/appenlight.js index 3c31140..ae950e1 100644 --- a/backend/src/appenlight/static/js/appenlight.js +++ b/backend/src/appenlight/static/js/appenlight.js @@ -2675,7 +2675,9 @@ angular.module('appenlight.controllers', [ 'appenlight.base' ]); angular.module('appenlight.components', [ - 'appenlight.components.channelstream' + 'appenlight.components.channelstream', + 'appenlight.components.appenlightApp', + 'appenlight.components.appenlightHeader' ]); angular.module('appenlight.directives', [ 'appenlight.directives.appVersion', @@ -4848,6 +4850,120 @@ function kickstartAE(initialUserData) { ); + $templateCache.put('templates/components/appenlight-app.html', + "\n" + + "\n" + + "
\n" + + "
\n" + + "
\n" + ); + + + $templateCache.put('templates/components/appenlight-header.html', + "\n" + + "
\n" + + "
\n" + + "
\n" + + "
\n" + + " \n" + + "
\n" + + "
\n" + + "
\n" + + "
\n" + + "\n" + + "
\n" + + "
\n" + + " \n" + + " \n" + + "
\n" + + "
\n" + + "
\n" + + "
\n" + + "
\n" + ); + + $templateCache.put('templates/dashboard.html', "