Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
ulakbus-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ulakbus
ulakbus-ui
Commits
0bc26c99
Commit
0bc26c99
authored
Sep 30, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.0.3 loader changed to simple and beautiful version
FIX: footer on small size screens
parent
71cf0cbf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
15 deletions
+25
-15
app_routes.js
app/app_routes.js
+23
-14
header-sub-menu.html
app/shared/templates/directives/header-sub-menu.html
+2
-1
No files found.
app/app_routes.js
View file @
0bc26c99
...
...
@@ -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
app/shared/templates/directives/header-sub-menu.html
View file @
0bc26c99
<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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment