[llvm-commits] CVS: llvm-www/releases/index.html
Misha Brukman
brukman at cs.uiuc.edu
Wed Dec 24 10:11:46 PST 2008
Changes in directory llvm-www/releases:
index.html updated: 1.48 -> 1.49
---
Log message:
By default, align table cell contents 'center' in the download table.
---
Diffs of the changes: (+2 -4)
index.html | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Index: llvm-www/releases/index.html
diff -u llvm-www/releases/index.html:1.48 llvm-www/releases/index.html:1.49
--- llvm-www/releases/index.html:1.48 Mon Dec 15 15:26:05 2008
+++ llvm-www/releases/index.html Wed Dec 24 12:09:38 2008
@@ -67,9 +67,7 @@
function createCell(contents, align) {
var cell = document.createElement('td');
cell.innerHTML = contents;
- if (align) {
- cell.style.textAlign = align;
- }
+ cell.style.textAlign = align ? align : 'center';
return cell;
}
var table = document.getElementById('download');
@@ -80,7 +78,7 @@
// table.insertRow(-1).innerHTML = '...';
var row = table.insertRow(-1);
row.appendChild(createCell(date, 'right'));
- row.appendChild(createCell(version, 'center'));
+ row.appendChild(createCell(version));
row.appendChild(createCell('<a href="download.html#' + version + '">download</a>'));
row.appendChild(createCell('<a href="' + version + '/docs/ReleaseNotes.html">release notes</a>'));
}
More information about the llvm-commits
mailing list