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
728037fa
Commit
728037fa
authored
Jun 16, 2014
by
Leo Iannacone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better tooltip on action buttons (such as Download, View al file, Get all)
parent
dce16f1b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
History.md
History.md
+1
-0
debomatic-webui/public/javascripts/page_distribution.js
debomatic-webui/public/javascripts/page_distribution.js
+5
-3
debomatic-webui/views/distribution.ejs
debomatic-webui/views/distribution.ejs
+3
-3
No files found.
History.md
View file @
728037fa
...
...
@@ -3,6 +3,7 @@
*
[new] get buildlog preview by default instead of datestamp
*
[new] always show datestamp information below the file title
*
[new] add page commands which documents the tasks interface of Deb-o-Matic
*
[new] better tooltip on action buttons (such as Download, View al file, Get all)
# 0.4.2 (2014-06-15)
*
[fix] calculate pidfile for debomatic status check after merging configurations
...
...
debomatic-webui/public/javascripts/page_distribution.js
View file @
728037fa
...
...
@@ -101,10 +101,10 @@ function Page_Distrubion(socket) {
label
=
complete_name
;
if
(
!
view
.
file
.
path
)
view
.
file
.
path
=
config
.
paths
.
debomatic
+
'
/
'
+
view
.
distribution
.
name
+
'
/pool/
'
+
view
.
package
.
orig_name
+
'
/
'
+
complete_name
;
label
+=
'
<a class="btn btn-link btn-lg" title="Download" href="
'
+
view
.
file
.
path
+
'
">
'
+
label
+=
'
<a class="btn btn-link btn-lg"
data-toggle="tooltip"
title="Download" href="
'
+
view
.
file
.
path
+
'
">
'
+
'
<span class="glyphicon glyphicon-download-alt"></span></a>
'
;
if
(
current_file_in_preview
)
{
var
view_all
=
$
(
'
<a id="get-whole-file" class="btn btn-link btn-lg" title="View the whole file"></a>
'
);
var
view_all
=
$
(
'
<a id="get-whole-file"
data-toggle="tooltip"
class="btn btn-link btn-lg" title="View the whole file"></a>
'
);
view_all
.
html
(
'
<span class="glyphicon glyphicon-eye-open"></span>
'
);
label
+=
view_all
.
get
(
0
).
outerHTML
;
}
...
...
@@ -122,7 +122,7 @@ function Page_Distrubion(socket) {
$
(
"
#get-whole-file
"
).
on
(
'
click
'
,
function
()
{
debug
(
1
,
"
get the whole file
"
);
file
.
get
(
true
);
$
(
this
).
remove
(
);
$
(
this
).
fadeOut
(
'
fast
'
);
});
},
clean
:
function
()
{
...
...
@@ -604,6 +604,8 @@ function Page_Distrubion(socket) {
breadcrumb
.
update
();
select
();
sticky
.
reset
();
// active tooltip
$
(
"
[data-toggle='tooltip']
"
).
tooltip
();
}
};
...
...
debomatic-webui/views/distribution.ejs
View file @
728037fa
...
...
@@ -26,7 +26,7 @@
<div class="others">
<nav id="sources">
<h4>Sources
<a class="btn btn-link" title="Get all sources in one click" onclick="download_all('#sources')">
<a class="btn btn-link"
data-toggle="tooltip" data-placement="right"
title="Get all sources in one click" onclick="download_all('#sources')">
<span class="glyphicon glyphicon-download-alt"></span>
</a>
</h4>
...
...
@@ -34,7 +34,7 @@
</nav>
<nav id="debs">
<h4>Debs
<a class="btn btn-link" title="Get all debs in one click" onclick="download_all('#debs')">
<a class="btn btn-link"
data-toggle="tooltip" data-placement="right"
title="Get all debs in one click" onclick="download_all('#debs')">
<span class="glyphicon glyphicon-download-alt"></span>
</a>
</h4>
...
...
@@ -42,7 +42,7 @@
</nav>
</div>
</section>
<section title="Back on Top" id="sticky-package">
<section
data-toggle="tooltip"
title="Back on Top" id="sticky-package">
<div id="sticky-package-content">
<div class="panel-heading">
<h3 class="panel-title">
...
...
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