Skip to content

Instantly share code, notes, and snippets.

@seebz
Created March 11, 2016 20:24
Show Gist options
  • Select an option

  • Save seebz/b9f3f365ef039ede5d7f to your computer and use it in GitHub Desktop.

Select an option

Save seebz/b9f3f365ef039ede5d7f to your computer and use it in GitHub Desktop.
Modern WiiBackupManager export template
[Config]
Display name = HTML5
Author = Seebz
File extention = html
[File header]
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Wii Games</title>
<meta name="generator" content="Wii Backup Manager">
<style>
* { margin:0; padding:0; }
html { background:#fff; color:#333; }
body, table { font:0.8rem/1.2 sans-serif; }
body { text-align:center; }
main { display:inline-block; text-align:initial; }
header { position:relative; }
header p { font-size:0.7rem; position:absolute; right:0; top:0; }
footer { border-top:1px solid #bbb; color:#333; font-size:0.7rem; margin:1rem 0; padding-top:1rem; text-align:center; }
h1 { margin:1em 0; color:#666; }
a, a:visited { color:#135cae; text-decoration:none; }
a:hover { text-decoration:underline; }
th, td { padding:0.2em 0.5em; text-align:left; white-space:nowrap; }
th:first-child, td:first-child { padding-left:0; }
th:last-child, td:last-child { padding-right:0; }
tbody tr td { border-top:1px dotted #ddd; }
tfoot { display:none; }
td:nth-child(3) { text-align:right; }
/* hide md5 column */
th:nth-child(6),
td:nth-child(6) { display:none; }
</style>
</head>
<body>
<main>
<header>
<h1>Wii Games</h1>
<p>%GameCount% games (%TotalSizeGB%)</p>
</header>
<table>
<thead>
<th>Game ID</th>
<th>Game title</th>
<th>Size</th>
<th>Region</th>
<th>Partitions</th>
<th>MD5 Hash</th>
<th>IOS version</th>
</thead>
<tbody>
[Entry header]
[Entry]
<tr id="game-%ID%">
<td><a href="http://www.gametdb.com/Wii/%ID%">%ID%</a></td>
<td title="%OriginalTitle%">%Title%</td>
<td title="%SizeMB%">%SizeGB%</td>
<td>%Region%</td>
<td>%PartitionCode%</td>
<td>%MD5%</td>
<td>IOS%IOS%</td>
</tr>
[Entry footer]
[File footer]
</tbody>
<tfoot>
<th>Game ID</th>
<th>Game title</th>
<th>Size</th>
<th>Region</th>
<th>Partitions</th>
<th>MD5 Hash</th>
<th>IOS version</th>
</tfoot>
</table>
<footer>
<p>
<a href="http://www.wiibackupmanager.co.uk/">WiiBackupManager</a>
HTML5 template
made with &hearts;
by <a href="https://github.com/Seebz">Seebz</a>
</p>
</footer>
</main>
</body>
</html>
<!-- %Date% %Time% -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment