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
e2ac1b5d
Commit
e2ac1b5d
authored
Mar 09, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autoscroll is now configurable
parent
bde9cf4f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
debomatic-webui/config.js
debomatic-webui/config.js
+1
-0
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+3
-2
debomatic-webui/views/layout.ejs
debomatic-webui/views/layout.ejs
+3
-0
No files found.
debomatic-webui/config.js
View file @
e2ac1b5d
...
...
@@ -11,5 +11,6 @@ config.web = {}
config
.
web
.
title
=
"
deb-o-matic web.ui
"
config
.
web
.
description
=
"
This is a web interface for debomatic
"
config
.
web
.
footer
=
"
Fork me on github.com
"
config
.
web
.
autoscroll
=
true
module
.
exports
=
config
debomatic-webui/public/javascripts/page_distribution.js
View file @
e2ac1b5d
...
...
@@ -108,8 +108,9 @@ var Page_Distrubion = {
append
:
function
(
data
)
{
new_html
=
$
(
"
#file pre
"
).
html
()
+
data
.
file
.
new_content
$
(
"
#file pre
"
).
html
(
new_html
)
// scroll down
$
(
'
body,html
'
).
animate
({
scrollTop
:
$
(
'
#file pre
'
).
height
()
},
500
);
if
(
AUTOSCROLL
)
// scroll down
$
(
'
body,html
'
).
animate
({
scrollTop
:
$
(
'
#file pre
'
).
height
()
},
500
);
},
get
:
function
(
data
)
{
if
(
!
data
)
...
...
debomatic-webui/views/layout.ejs
View file @
e2ac1b5d
...
...
@@ -14,6 +14,9 @@
<script
src=
'/javascripts/utils.js'
></script>
<script
src=
'/javascripts/page_distribution.js'
></script>
<script
src=
'/javascripts/main.js'
></script>
<script>
var
AUTOSCROLL
=
<%=
autoscroll
%>
</script>
</head>
<body>
<div
class=
"container-fluid"
>
...
...
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