Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
debomatic-webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
debomatic-webui-admins
debomatic-webui
Commits
9abed306
Commit
9abed306
authored
Mar 10, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix add /datestamp
parent
aaabe195
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+7
-7
No files found.
debomatic-webui/public/javascripts/page_distribution.js
View file @
9abed306
...
@@ -127,7 +127,7 @@ function Page_Distrubion()
...
@@ -127,7 +127,7 @@ function Page_Distrubion()
$
(
'
#logs li
'
).
removeClass
(
'
active
'
);
$
(
'
#logs li
'
).
removeClass
(
'
active
'
);
}
}
}
}
var
file
=
{
var
file
=
{
set
:
function
(
socket_data
)
{
set
:
function
(
socket_data
)
{
$
(
"
#file pre
"
).
html
(
socket_data
.
file
.
content
)
$
(
"
#file pre
"
).
html
(
socket_data
.
file
.
content
)
...
@@ -156,7 +156,7 @@ function Page_Distrubion()
...
@@ -156,7 +156,7 @@ function Page_Distrubion()
}
}
}
}
}
}
var
breadcrumb
=
{
var
breadcrumb
=
{
update
:
function
(
hash
)
{
update
:
function
(
hash
)
{
if
(
!
hash
)
if
(
!
hash
)
...
@@ -176,7 +176,7 @@ function Page_Distrubion()
...
@@ -176,7 +176,7 @@ function Page_Distrubion()
$
(
'
.breadcrumb
'
).
html
(
new_html
)
$
(
'
.breadcrumb
'
).
html
(
new_html
)
}
}
}
}
// stiky sidebar
// stiky sidebar
var
sticky
=
function
()
{
var
sticky
=
function
()
{
// $(window).off("scroll")
// $(window).off("scroll")
...
@@ -199,13 +199,13 @@ function Page_Distrubion()
...
@@ -199,13 +199,13 @@ function Page_Distrubion()
packages
.
select
()
packages
.
select
()
files
.
select
()
files
.
select
()
}
}
var
unselect
=
function
()
{
var
unselect
=
function
()
{
$
(
'
#distributions li
'
).
removeClass
(
'
active
'
)
$
(
'
#distributions li
'
).
removeClass
(
'
active
'
)
files
.
unselect
()
files
.
unselect
()
packages
.
unselect
()
packages
.
unselect
()
}
}
var
clean
=
function
()
{
var
clean
=
function
()
{
title
.
clean
()
title
.
clean
()
packages
.
clean
()
packages
.
clean
()
...
@@ -233,8 +233,8 @@ function Page_Distrubion()
...
@@ -233,8 +233,8 @@ function Page_Distrubion()
{
// new pacakge view
{
// new pacakge view
file
.
clean
()
file
.
clean
()
files
.
get
()
files
.
get
()
if
(
Utils
.
check_data_package
(
data
)
if
(
Utils
.
check_data_package
(
data
)
&&
!
window
.
location
.
hash
.
split
(
'
/
'
)
>
3
)
&&
window
.
location
.
hash
.
split
(
'
/
'
).
length
<=
3
)
{
{
// I will always get datastamp file from package
// I will always get datastamp file from package
window
.
location
.
hash
+=
'
/datestamp
'
window
.
location
.
hash
+=
'
/datestamp
'
...
...
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