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
c4db7f46
Commit
c4db7f46
authored
Sep 18, 2015
by
Evren Kutar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
v0.0.3.1 missing files
parent
94ec1592
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
296 additions
and
0 deletions
+296
-0
angular.min.js
dist/bower_components/angular.min.js
+253
-0
theme.js
dist/bower_components/theme.js
+43
-0
No files found.
dist/bower_components/angular.min.js
0 → 100644
View file @
c4db7f46
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/bower_components/theme.js
0 → 100644
View file @
c4db7f46
/**
* Copyright (C) 2015 ZetaOps Inc.
*
* This file is licensed under the GNU General Public License v3
* (GPLv3). See LICENSE.txt for details.
*/
$
(
function
()
{
$
(
'#side-menu'
).
metisMenu
();
});
//Loads the correct sidebar on window load,
//collapses the sidebar on window resize.
// Sets the min-height of #page-wrapper to window size
$
(
function
()
{
$
(
window
).
bind
(
"load resize"
,
function
()
{
topOffset
=
50
;
width
=
(
this
.
window
.
innerWidth
>
0
)
?
this
.
window
.
innerWidth
:
this
.
screen
.
width
;
if
(
width
<
768
)
{
$
(
'div.navbar-collapse'
).
addClass
(
'collapse'
);
topOffset
=
100
;
// 2-row-menu
}
else
{
$
(
'div.navbar-collapse'
).
removeClass
(
'collapse'
);
}
height
=
((
this
.
window
.
innerHeight
>
0
)
?
this
.
window
.
innerHeight
:
this
.
screen
.
height
)
-
1
;
height
=
height
-
topOffset
;
if
(
height
<
1
)
height
=
1
;
if
(
height
>
topOffset
)
{
$
(
"#page-wrapper"
).
css
(
"min-height"
,
(
height
)
+
"px"
);
}
});
var
url
=
window
.
location
;
var
element
=
$
(
'ul.nav a'
).
filter
(
function
()
{
return
this
.
href
==
url
||
url
.
href
.
indexOf
(
this
.
href
)
==
0
;
}).
addClass
(
'active'
).
parent
().
parent
().
addClass
(
'in'
).
parent
();
if
(
element
.
is
(
'li'
))
{
element
.
addClass
(
'active'
);
}
});
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