Bug#3813: Removed ColumnPath and made ColumnDescription the hyperlink. Removed ColumnPath Element from all stylesheets.

svn: r15107
This commit is contained in:
Rob G. Healey
2010-04-14 04:38:19 +00:00
parent 8667244185
commit e231990b74
9 changed files with 14 additions and 48 deletions

View File

@@ -1088,20 +1088,16 @@ table.weblinks tr td {
border-bottom: dashed 1px #000;
}
table.weblinks tr td.ColumnRowLabel {
width: 5%;
width: 6%;
}
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1120,15 +1120,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1070,15 +1070,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1073,15 +1073,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1071,15 +1071,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1073,15 +1073,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* SubSection : Pedigree
----------------------------------------------------- */
.pedigreegen {

View File

@@ -1123,15 +1123,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
div#pedigree {

View File

@@ -1305,15 +1305,11 @@ table.weblinks tr td.ColumnRowLabel {
table.weblinks tr td.ColumnType {
width: 30%;
}
table.weblinks tr td.ColumnPath {
background-color: #FFF;
width: 435;
}
table.weblinks tr td.ColumnDescription {
background-color: #FFF;
width: 30%;
}
/* Subsections : Pedigree
----------------------------------------------------- */
div#pedigree {

View File

@@ -1436,10 +1436,9 @@ class BasePage(object):
trow.extend(
Html('th', label, class_ = "Column" + colclass, inline = True)
for (label, colclass) in [
(" ", "RowLabel"),
(THEAD, "Type"),
(_("Path"), "Path"),
(DESCRHEAD, "Description") ]
(" ", "RowLabel"),
(THEAD, "Type"),
(_("Link/ Description"), "Description") ]
)
tbody = Html("tbody")
@@ -1477,12 +1476,11 @@ class BasePage(object):
if not uri.startswith("ftp://"):
uri = "ftp://%(ftpsite)s" % { "ftpsite" : uri }
uri = Html("a", descr, href = uri)
descr = Html("a", descr, href = uri, title = html_escape(descr) )
trow.extend(
Html("td", data, class_ = "Column" + colclass)
Html("td", data, class_ = "Column" + colclass, inline = True)
for (data, colclass) in [
(str(_type), "Type"),
(uri, "Path"),
(descr, "Description") ]
)
index += 1