- url-encode filenames on the taskinfo page

- expand the page content to full width
- remove unused /koji-hub alias
This commit is contained in:
Mike Bonnet 2007-03-24 17:13:54 -04:00
parent 771390f74b
commit f2d8024467
3 changed files with 6 additions and 9 deletions

View file

@ -1,5 +1,6 @@
#import koji
#from kojiweb import util
#import urllib
#def printValue($key, $value, $sep=', ')
#if $key == 'brootid'
@ -276,7 +277,7 @@ $result.faultString.strip()
<th>Output</th>
<td>
#for $filename in $output
<a href="getfile?taskID=$task.id&name=$filename">$filename</a><br/>
<a href="getfile?taskID=$task.id&name=$urllib.quote($filename)">$filename</a><br/>
#end for
#if $task.state not in ($koji.TASK_STATES.CLOSED, $koji.TASK_STATES.CANCELED, $koji.TASK_STATES.FAILED) and \
$task.method in ('buildSRPMFromCVS', 'buildArch', 'runroot')

View file

@ -57,8 +57,8 @@ a:hover {
}
div#content {
margin: 0px 20px 0px 20px;
float: left;
margin: 0 20px;
clear: both;
}
p#footer {
@ -81,7 +81,6 @@ p#footer a {
#mainNav {
width: 100%;
background-color: #009;
margin-bottom: 5px;
font-weight: bold;
font-family: verdana, helvetica, arial, sans-serif;
height: 2.1em;
@ -136,7 +135,7 @@ h4 {
color: #fff;
background-color: #006;
padding: 0.3em;
margin: 5px 0px 5px 0px;
margin: 0px;
}
h4 a {
@ -402,7 +401,5 @@ abbr {
span#loginInfo {
float: right;
font-weight: bold;
margin-left: 0.5em;
margin-right: 0.5em;
margin-bottom: 4px;
margin: 5px;
}