diff --git a/zsite/static/imgs/favicon.png b/zsite/static/imgs/favicon.png new file mode 100644 index 0000000..7e1d607 Binary files /dev/null and b/zsite/static/imgs/favicon.png differ diff --git a/zsite/static/imgs/favicon.svg b/zsite/static/imgs/favicon.svg new file mode 100644 index 0000000..fc0f376 --- /dev/null +++ b/zsite/static/imgs/favicon.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/zsite/static/js/app.js b/zsite/static/js/app.js index cca971d..f83f2c3 100644 --- a/zsite/static/js/app.js +++ b/zsite/static/js/app.js @@ -31,6 +31,6 @@ angular.module('zuykov') // GetAdj(6,'свежее', 'свежих') // Вернет «свежих» }]) -.controller('TabsCtrl', function ($scope, $log) { -}) +.controller('TabsCtrl', ['$scope', function ($scope) { +}]) ; \ No newline at end of file diff --git a/zsite/static/js/forms.js b/zsite/static/js/forms.js index 7f93aeb..ce4bfae 100644 --- a/zsite/static/js/forms.js +++ b/zsite/static/js/forms.js @@ -1,7 +1,7 @@ angular.module('zuykov') -.controller('ModalFormCtrl', function ($scope, $modal, $log) { +.controller('ModalFormCtrl', ['$scope', '$modal', function ($scope, $modal) { $scope.items = ['item1', 'item2', 'item3']; @@ -32,11 +32,11 @@ angular.module('zuykov') $scope.animationsEnabled = !$scope.animationsEnabled; }; -}) +}]) // Please note that $modalInstance represents a modal window (instance) dependency. // It is not the same as the $modal service used above. -.controller('ModalFormInstanceCtrl', function ($scope, $modalInstance, items, $log, $timeout) { +.controller('ModalFormInstanceCtrl', ['$scope', '$modalInstance', 'items', '$timeout', function ($scope, $modalInstance, items, $timeout) { $timeout(function () { @@ -51,4 +51,4 @@ angular.module('zuykov') $scope.cancel = function () { $modalInstance.dismiss('cancel'); }; -}); \ No newline at end of file +}]); \ No newline at end of file diff --git a/zsite/static/js/nice.js b/zsite/static/js/nice.js index 7fcf4fd..3271836 100644 --- a/zsite/static/js/nice.js +++ b/zsite/static/js/nice.js @@ -1,7 +1,7 @@ angular.module('zuykov') -.controller('NiceCtrl', function ($scope, $rootScope, $log) { +.controller('NiceCtrl', ['$scope', '$rootScope', function ($scope, $rootScope) { $scope.nice = [ { id: 1, @@ -643,4 +643,4 @@ angular.module('zuykov') }; -}); \ No newline at end of file +}]); \ No newline at end of file diff --git a/zsite/templates/base.html b/zsite/templates/base.html index 02ce72e..dc433b4 100644 --- a/zsite/templates/base.html +++ b/zsite/templates/base.html @@ -12,6 +12,9 @@ {% javascript 'main' %} {% render_block "css" %} + + +