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) {
controller: 'StaffShowCtrl'
})
.otherwise({redirectTo: '/dashboard'});
}]).run(function ($rootScope, $location, $cookies) {
}])
.run(function ($rootScope) {
$rootScope.loggedInUser = true;
$rootScope.$on("$routeChangeStart", function (event, next, current) {
// will be used when needed
});
}).config(['$httpProvider', function ($httpProvider) {
// to send cookies CORS
$httpProvider.defaults.withCredentials = true;
}]).run(function (gettextCatalog) {
gettextCatalog.setCurrentLanguage('tr');
gettextCatalog.debug = true;
}).config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) {
cfpLoadingBarProvider.spinnerTemplate = '<div><span class="fa fa-spinner loadingbarfullsize"></div>';
}]);
\ No newline at end of file
$rootScope.loggedInUser = true;
$rootScope.$on("$routeChangeStart", function (event, next, current) {
// will be used when needed
});
})
.config(['$httpProvider', function ($httpProvider) {
// to send cookies CORS
$httpProvider.defaults.withCredentials = true;
}])
.run(function (gettextCatalog) {
gettextCatalog.setCurrentLanguage('tr');
gettextCatalog.debug = true;
})
.config(['cfpLoadingBarProvider', function (cfpLoadingBarProvider) {
// no need bar on top of the page, set to false
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="clearfix">
<header-breadcrumb></header-breadcrumb>
<div class="loader">Loading...</div>
<loaderdiv><div></div></loaderdiv>
<!--<div class="loader">Loading...</div>-->
</div>
<div id="header-buttons" ng-class="{hidden: $root.showSaveButton != true}">
<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