Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
pipelet
Pipelet
Commits
18ab2f39
Commit
18ab2f39
authored
Oct 01, 2010
by
Betoule Marc
Browse files
Merge branch 'master' of gitorious.org:pipelet/pipelet
parents
57d6569d
536fd211
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
pipelet/web.py
pipelet/web.py
+1
-5
No files found.
pipelet/web.py
View file @
18ab2f39
...
...
@@ -297,13 +297,9 @@ class Web:
## Thumbnails
if
thumbnail
is
not
None
:
html
+=
'<fieldset id="filters"><legend><span class="text">Thumbnails</span></legend>'
html
+=
'<div style=""width:100%;overflow:scroll;">'
html
+=
'<table width="100%"><tr>'
lstimage
=
self
.
_get_thumbnail
(
thumbnail
)
for
img
in
lstimage
:
html
+=
'<td><a href="download?segid=%s&filepath=%s"><img src="download?segid=%s&filepath=%s" width=100 border=no></a></td>'
%
(
thumbnail
,
os
.
path
.
abspath
(
img
),
thumbnail
,
os
.
path
.
abspath
(
img
))
html
+=
'<tr></tr></table></div>'
html
+=
'<a href="download?segid=%s&filepath=%s"><img src="download?segid=%s&filepath=%s" width=100 border=no></a>'
%
(
thumbnail
,
os
.
path
.
abspath
(
img
),
thumbnail
,
os
.
path
.
abspath
(
img
))
html
+=
'</fieldset>'
...
...
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