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
f8bff919
Commit
f8bff919
authored
Jul 11, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a loading gif while downloading file
parent
79f518c6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
debomatic-webui/public/images/loading.gif
debomatic-webui/public/images/loading.gif
+0
-0
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+1
-1
debomatic-webui/public/stylesheets/style.css
debomatic-webui/public/stylesheets/style.css
+4
-0
No files found.
debomatic-webui/public/images/loading.gif
0 → 100644
View file @
f8bff919
10.6 KB
debomatic-webui/public/javascripts/page_distribution.js
View file @
f8bff919
...
@@ -440,7 +440,7 @@ function Page_Distrubion(socket) {
...
@@ -440,7 +440,7 @@ function Page_Distrubion(socket) {
query_data
.
file
.
content
=
null
;
query_data
.
file
.
content
=
null
;
query_data
.
file
.
force
=
force
;
query_data
.
file
.
force
=
force
;
// get a feedback to user while downloading file
// get a feedback to user while downloading file
$
(
'
#file .content
'
).
html
(
'
Downloading file, please wait a while ...
'
);
$
(
'
#file .content
'
).
html
(
'
<div class="loading">Downloading file, please wait a while ... <img src="/images/loading.gif" /></div>
'
);
$
(
'
#file
'
).
show
();
$
(
'
#file
'
).
show
();
debug_socket
(
'
emit
'
,
_e
.
file
,
query_data
);
debug_socket
(
'
emit
'
,
_e
.
file
,
query_data
);
socket
.
emit
(
_e
.
file
,
query_data
);
socket
.
emit
(
_e
.
file
,
query_data
);
...
...
debomatic-webui/public/stylesheets/style.css
View file @
f8bff919
...
@@ -189,6 +189,10 @@ footer .info {
...
@@ -189,6 +189,10 @@ footer .info {
overflow
:
hidden
;
overflow
:
hidden
;
}
}
#file
.loading
img
{
float
:
right
;
}
#title
a
.btn
{
#title
a
.btn
{
padding
:
10px
12px
;
padding
:
10px
12px
;
float
:
right
;
float
:
right
;
...
...
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