Commit 0bc26c99 authored by Evren Kutar's avatar Evren Kutar

v0.0.3 loader changed to simple and beautiful version

FIX: footer on small size screens
parent 71cf0cbf
...@@ -43,18 +43,27 @@ app.config(['$routeProvider', function ($routeProvider) { ...@@ -43,18 +43,27 @@ app.config(['$routeProvider', function ($routeProvider) {
controller: 'StaffShowCtrl' controller: 'StaffShowCtrl'
}) })
.otherwise({redirectTo: '/dashboard'}); .otherwise({redirectTo: '/dashboard'});
}]).run(function ($rootScope, $location, $cookies) { }])
.run(function ($rootScope) {
$rootScope.loggedInUser = true; $rootScope.loggedInUser = true;
$rootScope.$on("$routeChangeStart", function (event, next, current) { $rootScope.$on("$routeChangeStart", function (event, next, current) {
// will be used when needed // will be used when needed
}); });
}).config(['$httpProvider', function ($httpProvider) { })
.config(['$httpProvider', function ($httpProvider) {
// to send cookies CORS // to send cookies CORS
$httpProvider.defaults.withCredentials = true; $httpProvider.defaults.withCredentials = true;
}]).run(function (gettextCatalog) { }])
.run(function (gettextCatalog) {
gettextCatalog.setCurrentLanguage('tr'); gettextCatalog.setCurrentLanguage('tr');
gettextCatalog.debug = true; gettextCatalog.debug = true;
}).config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) { })
cfpLoadingBarProvider.spinnerTemplate = '<div><span class="fa fa-spinner loadingbarfullsize"></div>'; .config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) {
}]); // no need bar on top of the page, set to false
\ No newline at end of file cfpLoadingBarProvider.includeBar = false;
// loaderdiv is a placeholder tag for loader in header-sub-menu.html
cfpLoadingBarProvider.parentSelector = "loaderdiv";
// loader template will be used when loader initialized
cfpLoadingBarProvider.spinnerTemplate = '<div class="loader">Loading...</div>';
}]);
\ No newline at end of file
<div class="manager-view-header container-fluid" ng-class="{hidden: $root.loggedInUser != true}"> <div class="manager-view-header container-fluid" ng-class="{hidden: $root.loggedInUser != true}">
<div class="clearfix"> <div class="clearfix">
<header-breadcrumb></header-breadcrumb> <header-breadcrumb></header-breadcrumb>
<div class="loader">Loading...</div> <loaderdiv><div></div></loaderdiv>
<!--<div class="loader">Loading...</div>-->
</div> </div>
<div id="header-buttons" ng-class="{hidden: $root.showSaveButton != true}"> <div id="header-buttons" ng-class="{hidden: $root.showSaveButton != true}">
<button type="button" class="btn btn-primary" ng-click="triggerSubmit()">Kaydet</button> <button type="button" class="btn btn-primary" ng-click="triggerSubmit()">Kaydet</button>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment