diff options
Diffstat (limited to 'repotmpl')
23 files changed, 629 insertions, 0 deletions
diff --git a/repotmpl/group.kid b/repotmpl/group.kid new file mode 100644 index 00000000..7917ce36 --- /dev/null +++ b/repotmpl/group.kid @@ -0,0 +1,80 @@ +<?xml version="1.0" encoding="utf-8"?> +<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title py:content="'%s' % repo_data['title']"/> + <link rel="stylesheet" href="layout/repostyle.css" type="text/css" /> + <meta name="robots" content="noindex,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forums</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h2 py:content="group_data['name']"/> + <p py:content="group_data['description']"/> + <ul class="pkglist"> + <li py:for="(name, filename, summary) in group_data['packages']"> + <a href="${filename}" class="inpage" py:content="name"/> - <span py:content="summary"/> + </li> + </ul> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="./" class="nlink" title="Back to repository choice">« Back to index</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick" /> +<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCCgxEE65DWq8388bFX5PaEG8cAOPUkBi8wbB8QZowA33/RG2ZL2AMMMYPuXfFUDB/oa1huOaWmTdoyi9vFuBYw8bxYniwXlkoZWOABdYIckvy5KMJX3bK8WU6wDLlVJvnPy6+Vp/nDK0c823zM1ZHX5ZEiMtO7ddCH4h5ckGVH6DELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI4M5ItoPa/1iAgYh/cDUWOuv2PZOUYssgGD+Ntl6uQnpQX6KxqFpvIrbe6RwvDQncvvczSuXI+I7V2iWa/B5SMJnRXlbImrgnJrn6sFITNYzn0396jk89sd7auNYmP7zIKHxzUUNkiT3JeEagIJeHyiPSkVEcwYLFB5/sUVzY+8PtAbp+wwC5t7Q7AiHJiG9wY4UwoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhvcNAQkBFg1yZUBwYXlwYWwuY29tMB4XDTA0MDIxMzEwMTMxNVoXDTM1MDIxMzEwMTMx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lX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjA0MDU1NTEwWjAjBgkqhkiG9w0BCQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + + </div> + <hr style="clear:both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + Listing created by <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'Repoview-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/group.pyc b/repotmpl/group.pyc Binary files differnew file mode 100644 index 00000000..1c3ba434 --- /dev/null +++ b/repotmpl/group.pyc diff --git a/repotmpl/index.kid b/repotmpl/index.kid new file mode 100644 index 00000000..eb343510 --- /dev/null +++ b/repotmpl/index.kid @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="utf-8"?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) +?> +<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title py:content="'%s' % repo_data['title']"/> + <link rel="stylesheet" href="layout/repostyle.css" type="text/css" /> + <link py:if="url is not None" rel="alternate" type="application/rss+xml" title="RSS" href="latest-feed.xml" /> + <meta name="robots" content="index,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forum</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h3>Available Groups</h3> + <ul class="pkglist"> + <li py:for="(name, filename, description, packages) in groups"> + <a href="${filename}" class="inpage" py:content="name"/> + </li> + </ul> + + <h3>Latest packages:</h3> + <ul class="pkglist"> + <li py:for="(name, filename, version, release, built) in latest"> + <em><span py:content="ymd(built)"/></em>: + <a href="${filename}" class="inpage" py:content="'%s-%s-%s' % (name, version, release)"/> + </li> + </ul> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="latest-feed.xml" class="nlink" title="RSS feed"> + <img src="layout/images/rss.png" alt="RSS" /> RSS Feed</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick" /> +<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHLwYJKoZIhvcNAQcEoIIHIDCCBxwCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCCgxEE65DWq8388bFX5PaEG8cAOPUkBi8wbB8QZowA33/RG2ZL2AMMMYPuXfFUDB/oa1huOaWmTdoyi9vFuBYw8bxYniwXlkoZWOABdYIckvy5KMJX3bK8WU6wDLlVJvnPy6+Vp/nDK0c823zM1ZHX5ZEiMtO7ddCH4h5ckGVH6DELMAkGBSsOAwIaBQAwgawGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQI4M5ItoPa/1iAgYh/cDUWOuv2PZOUYssgGD+Ntl6uQnpQX6KxqFpvIrbe6RwvDQncvvczSuXI+I7V2iWa/B5SMJnRXlbImrgnJrn6sFITNYzn0396jk89sd7auNYmP7zIKHxzUUNkiT3JeEagIJeHyiPSkVEcwYLFB5/sUVzY+8PtAbp+wwC5t7Q7AiHJiG9wY4UwoIIDhzCCA4MwggLsoAMCAQICAQAwDQYJKoZIhvcNAQEFBQAwgY4xCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzEUMBIGA1UEChMLUGF5UGFsIEluYy4xEzARBgNVBAsUCmxpdmVfY2VydHMxETAPBgNVBAMUCGxpdmVfYXBpMRwwGgYJKoZIhv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AcTDU1vdW50YWluIFZpZXcxFDASBgNVBAoTC1BheVBhbCBJbmMuMRMwEQYDVQQLFApsaXZlX2NlcnRzMREwDwYDVQQDFAhsaXZlX2FwaTEcMBoGCSqGSIb3DQEJARYNcmVAcGF5cGFsLmNvbQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjA0MDU1NTEwWjAjBgkqhkiG9w0BCQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + </div> + <hr style="clear:both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + <span py:content="'Listing generated: %s by' % ymd(time.time())"/> <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'RepoView-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/index.pyc b/repotmpl/index.pyc Binary files differnew file mode 100644 index 00000000..852422bb --- /dev/null +++ b/repotmpl/index.pyc diff --git a/repotmpl/layout/favicon.ico b/repotmpl/layout/favicon.ico Binary files differnew file mode 100644 index 00000000..956fc908 --- /dev/null +++ b/repotmpl/layout/favicon.ico diff --git a/repotmpl/layout/images/footer.png b/repotmpl/layout/images/footer.png Binary files differnew file mode 100644 index 00000000..7d6fa560 --- /dev/null +++ b/repotmpl/layout/images/footer.png diff --git a/repotmpl/layout/images/li.png b/repotmpl/layout/images/li.png Binary files differnew file mode 100644 index 00000000..639364f5 --- /dev/null +++ b/repotmpl/layout/images/li.png diff --git a/repotmpl/layout/images/monkey.png b/repotmpl/layout/images/monkey.png Binary files differnew file mode 100644 index 00000000..8d1ba756 --- /dev/null +++ b/repotmpl/layout/images/monkey.png diff --git a/repotmpl/layout/images/package.png b/repotmpl/layout/images/package.png Binary files differnew file mode 100644 index 00000000..b51fba91 --- /dev/null +++ b/repotmpl/layout/images/package.png diff --git a/repotmpl/layout/images/rss.png b/repotmpl/layout/images/rss.png Binary files differnew file mode 100644 index 00000000..829a4e0d --- /dev/null +++ b/repotmpl/layout/images/rss.png diff --git a/repotmpl/layout/images/sidebar_li.png b/repotmpl/layout/images/sidebar_li.png Binary files differnew file mode 100644 index 00000000..1064ac66 --- /dev/null +++ b/repotmpl/layout/images/sidebar_li.png diff --git a/repotmpl/layout/images/top.jpg b/repotmpl/layout/images/top.jpg Binary files differnew file mode 100644 index 00000000..6fd06bfb --- /dev/null +++ b/repotmpl/layout/images/top.jpg diff --git a/repotmpl/layout/images/top_gar.jpg b/repotmpl/layout/images/top_gar.jpg Binary files differnew file mode 100644 index 00000000..1aead544 --- /dev/null +++ b/repotmpl/layout/images/top_gar.jpg diff --git a/repotmpl/layout/images/top_monkey.png b/repotmpl/layout/images/top_monkey.png Binary files differnew file mode 100644 index 00000000..89be5ef3 --- /dev/null +++ b/repotmpl/layout/images/top_monkey.png diff --git a/repotmpl/layout/images/top_prelude.jpg b/repotmpl/layout/images/top_prelude.jpg Binary files differnew file mode 100644 index 00000000..2e5ef448 --- /dev/null +++ b/repotmpl/layout/images/top_prelude.jpg diff --git a/repotmpl/layout/images/w3c-css20.png b/repotmpl/layout/images/w3c-css20.png Binary files differnew file mode 100644 index 00000000..0614443e --- /dev/null +++ b/repotmpl/layout/images/w3c-css20.png diff --git a/repotmpl/layout/images/w3c-xhtml10.png b/repotmpl/layout/images/w3c-xhtml10.png Binary files differnew file mode 100644 index 00000000..5336b588 --- /dev/null +++ b/repotmpl/layout/images/w3c-xhtml10.png diff --git a/repotmpl/layout/repostyle.css b/repotmpl/layout/repostyle.css new file mode 100644 index 00000000..0330530e --- /dev/null +++ b/repotmpl/layout/repostyle.css @@ -0,0 +1,312 @@ +/** + * RepoView « Remi's Garfield » theme + * Adapted for repoview by Johan Cwiklinski - http://ulysses.fr + */ + +* { + margin: 0; + padding: 0; + border: 0; +} + +body { + background: #CDCDCD; + font: 0.7em Arial,sans-serif; +} + +/* Common styles +-------------------------------------------------------- */ + +ul, ul li { + list-style: none; +} + +a:link, a:visited { + color: #000; + text-decoration: underline; +} + +a:hover { + color: #000; + text-decoration: none; +} + +pre { + overflow: auto; + height: auto; + font-size:1.2em; +} + +.left { + float: left; +} + +.right { + float: right; +} + +/* Page +-------------------------------------------------------- */ + +#page { + background:white url(images/monkey.png) bottom right no-repeat; + margin:0 auto; + position:relative; + width:99%; +} + +#top { + width:auto; + margin: 0 0 19px; + background: #5782AC url(images/package.png) right 56px no-repeat; + padding:0; + border-bottom: 4px #6db9f7 solid; + height: 100px; +} + +#top h1 { + font-size: 3em; + text-align: center; + background: transparent url(images/top_monkey.png) bottom left no-repeat; + height:100px; + margin:0; +} + +#top h1 span{ + display:block; + text-align:center; + padding-top:30px; + bottom:.2em; +} + +#top a:link, #top a:visited, #top a:hover { + color: #FFF; + text-decoration: none; +} + +#prelude { + position: absolute; + top: 0; + right: 18px; + width: 370px; + padding: 6px 0 6px; + color: #CAE4FC; + text-align: center; + background-color: rgba(255,255,255,.3); + border-radius: 0 0 6px 6px; + +} + +#prelude a:link, #prelude a:visited { + padding: 0 0.5em; + font-size: 1.1em; + font-weight: bold; + color: #fff; + text-decoration: none; +} + +#prelude a:hover { + text-decoration: underline; +} + +.levbar { + float:left; + width: 11em; + height: 100%; + border-right: 2px dotted gray; + border-bottom: 2px dotted gray; +} + +.main { + margin-left: 13em; +} + +#wrapper { + width:auto; + margin: 0 auto 10px; + position:relative; +} + +#main { + float:left; + display:inline; + width:100%; +} + +#content{ + margin-left:1em; + margin-right:25em; +} + +#sidebar { + width: 23em; + float:left; + margin:0 0 0 -24em; + background-color:rgba(255,255,255,.7); + border-radius:6px; +} + +#sidebar h2 { + margin: 0 0 10px; + padding: 5px 8px; + background: #F5F5F5; + color: #005D99; + font-size: 1em; + font-weight: bold; +} + +#sidebar a:link, #sidebar a:visited { + text-decoration: none; +} + +#sidebar a:hover { + text-decoration: underline; +} + +#sidebar ul { + padding: 0 0 4px; +} + +#sidebar li { + padding: 3px 4px 3px 20px; + background: transparent url(images/sidebar_li.png) no-repeat 10px 7px; +} + +#sidebar p { + padding: 0 0 4px 10px; +} + +#footer { + clear: both; + width:99%; + margin: 0 auto; + padding: 0 0 14px; + background: transparent url(images/footer.png) repeat-x center bottom; +} + +#footer p { + margin: 0 auto; + padding: 6px 16px 6px 0; + background: #5682ab; + color: #FFF; + text-align: right; + font-weight: bold; +} + +#footer p a:link, #footer p a:visited { + color: #FFF; + text-decoration: underline; +} + +#footer p a:hover { + text-decoration: none; +} + +#content h3, +#content h2, +.pagetitle{ + clear: left; + margin: 0 0 10px 0; + padding: 5px 10px; + background: #F5F5F5; + color: #5E9E14; + font-weight: bold; +} +#content h2, +.pagetitle{ + color: #005D99; + font-size:1.2em; +} + +.pkglist{ + margin-bottom: 1.5em; + font-size: 1.2em; +} + +.pkglist li { + padding: .1em 0 .1em 10px; + background: transparent url(images/li.png) no-repeat 0 5px; +} + +.nav { + position:absolute; + right:5em; + text-align:right; + top:80px; + padding:6px 0; + color:#CAE4FC; +} +.letterlist a { + padding: 0 .2em; + color:#CAE4FC; + text-decoration:none; +} +.letterlist a:hover{ + text-decoration:underline; +} +.repoview { + text-decoration: none; + color: gray; + border-bottom: 1px dotted gray; +} + +dl{ + margin-bottom:.5em; +} + +#pkg_main{ + float:left; + width:20em; + margin-right:2%; +} + +dt{ + font-weight: bold; +} + +td{ + vertical-align:top; +} + +td pre{ + margin: 0 0 .2em .2em; +} + +.nowrap{ + white-space: nowrap +} + +td.filesize{ + text-align:right; + padding:0 .5em; +} + +#vxhtml, #vcss{ + text-indent:90px; + width:80px; + height:15px; + float:left; + overflow:hidden; + margin-left:1em; + margin-top:.5em; +} + +#vxhtml{ + background:transparent url(images/w3c-xhtml10.png) 0 0 no-repeat; +} +#vcss{ + background:transparent url(images/w3c-css20.png) 0 0 no-repeat; +} + +/** Seems unused */ +.nactive { + border-bottom: 1px dotted blue; + color: blue; + text-decoration: none; +} +.ninactive { + color: gray; +} +.field { + text-align: right; +} diff --git a/repotmpl/package.kid b/repotmpl/package.kid new file mode 100644 index 00000000..bc2c8328 --- /dev/null +++ b/repotmpl/package.kid @@ -0,0 +1,108 @@ +<?xml version="1.0" encoding="utf-8"?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) +?> +<html xmlns:py="http://purl.org/kid/ns#" xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title py:content="'%s' % repo_data['title']"/> + <link rel="stylesheet" href="layout/repostyle.css" type="text/css"/> + <meta name="robots" content="noindex,follow" /> + <link rel="shortcut icon" href="/favicon.ico" /> +</head> +<body> + <div id="page"> + <div id="top"> + <h1><span><a href="/">Remi's RPM repository - Packages</a></span></h1> + </div> + <p id="prelude"> + <a href="http://blog.remirepo.net/">Blog</a> | + <a href="http://forum.remirepo.net/">Forum</a> | + <a href="/">Repository</a> + </p> + <p class="nav">Jump to letter: [ + <span class="letterlist"> + <a py:for="letter in repo_data['letters']" class="nlink" href="${'letter_%s.group.html' % letter.lower()}" py:content="letter"/> + </span>] + </p> + <div id="wrapper"> + <div id="main"> + <div id="content"> + <h2 py:content="'%s - %s' % (pkg_data['name'], pkg_data['summary'])"/> + <dl id="pkg_main"> + <dt py:if="pkg_data['url']">Website:</dt> + <dd py:if="pkg_data['url']"><a href="${pkg_data['url']}" py:content="pkg_data['url']"/></dd> + <dt py:if="pkg_data['rpm_license']">Licence:</dt> + <dd py:if="pkg_data['rpm_license']" py:content="pkg_data['rpm_license']"/> + <dt py:if="pkg_data['vendor']">Vendor:</dt> + <dd py:if="pkg_data['vendor']" py:content="pkg_data['vendor']"/> + </dl> + <dl id="pkg_description"> + <dt>Description:</dt> + <dd><pre py:content="pkg_data['description']"/></dd> + </dl> + <h3>Packages</h3> + <table border="0" cellpadding="0" cellspacing="10"> + <tr py:for="(e, v, r, a, built, size, loc, author, log, added) in pkg_data['rpms']"> + <td> + <a href="${'../%s' % loc}" class="inpage" py:content="'%s-%s-%s.%s' % (pkg_data['name'], v, r, a)"/> + </td> + <td class="filesize"> + [<span class="nowrap" py:content="size"/>] + </td> + <td py:if="log"> + <strong>Changelog</strong> by <span py:content="'%s (%s)' % (author, ymd(added))"/>: + <pre py:content="log"/> + </td> + <td py:if="not log"> + <em>(no changelog entry)</em> + </td> + </tr> + </table> + </div> + </div> + <div id="sidebar"> + <h2 py:content="repo_data['title']"/> + <ul class="levbarlist"> + <li> + <a href="/" class="nlink" title="Back to distribution choice">« Back to distro</a> + </li> + <li> + <a href="../../../" class="nlink" title="Back to repository choice">« Back to repo</a> + </li> + <li> + <a href="${group_data['filename']}" class="nlink" title="Back to package listing">« Back to group</a> + </li> + </ul> + <h2>Other links</h2> + <ul> + <li><a href="https://www.amazon.com/wishlist/1AFH00IXFY6M0" class="nlink" title="My Amazon.com Wishlist">WishList</a></li> + <li><a href="https://www.amazon.fr/wishlist/33P6MW6KQC8GX" class="nlink" title="Mes Envies cadeaux sur Amazon.fr">Envies cadeaux</a></li> + </ul> +<form action="https://www.paypal.com/cgi-bin/webscr" method="post"><div> +<input type="hidden" name="cmd" value="_s-xclick" /> +<input type="hidden" name="encrypted" value="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bQIBADAJBgUrDgMCGgUAoF0wGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkqhkiG9w0BCQUxDxcNMTAwNjA0MDU1NTEwWjAjBgkqhkiG9w0BCQQxFgQUo6DkEDxwjY+LFKOw0Vcxh7zRkPYwDQYJKoZIhvcNAQEBBQAEgYCzm9l6X7egJAMom1ZVdV1MqM30cxNGrQeQNQhgj8NnNs4N8uJ+sGeEXDlLdkkUJS4mUlAG6JwvOcCGr++NJUF+qmpQmX7YzbjBnt3pnWfcCrtYVkgCg/d0M+0ZEWTQEP3aMqIL/zeg70LYhg4/kgfR2jrN2IwxkChLoiZi6bQulQ==-----END PKCS7----- +" /> +<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" /> +<img alt="" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" /> +</div></form> + </div> + </div> + <hr style="clear: both;"/> + </div> + <div id="footer"> + <ul id="w3c"> + <li> + <a id="vxhtml" href="http://validator.w3.org/check/referer">XHTML 1.1 valide</a> + </li> + <li> + <a id="vcss" href="http://jigsaw.w3.org/css-validator/check/referer">CSS 2.0 valide</a> + </li> + </ul> + <p> + Listing created by <a href="http://mricon.com/trac/wiki/Repoview" class="repoview" py:content="'Repoview-%s' % repo_data['my_version']"/> | Designed for <a href="http://blog.remirepo.net">Remi</a> by <a href="http://blog.ulysses.fr">Trashy</a> + </p> + </div> +</body> +</html> diff --git a/repotmpl/package.pyc b/repotmpl/package.pyc Binary files differnew file mode 100644 index 00000000..2a6469ad --- /dev/null +++ b/repotmpl/package.pyc diff --git a/repotmpl/refresh b/repotmpl/refresh new file mode 100644 index 00000000..1f526a54 --- /dev/null +++ b/repotmpl/refresh @@ -0,0 +1,3 @@ +cp /work/GIT/theme/repoview/*.* repotmpl/ +cp /work/GIT/theme/repoview/layout/*.* repotmpl/layout/ +cp /work/GIT/theme/repoview/layout/images/*.* repotmpl/layout/images/ diff --git a/repotmpl/rss.kid b/repotmpl/rss.kid new file mode 100644 index 00000000..fcfdab9a --- /dev/null +++ b/repotmpl/rss.kid @@ -0,0 +1,33 @@ +<?xml version="1.0" ?> +<?python +import time +def ymd(stamp): + return time.strftime('%Y-%m-%d', time.localtime(int(stamp))) + +?> +<div xmlns:py="http://purl.org/kid/ns#"> + <p> + <strong>Package:</strong> <span py:replace="pkg_data['name']"/><br/> + <strong>Summary:</strong> <span py:replace="pkg_data['summary']"/> + </p> + <p> + <strong>Description:</strong><br/> + <span py:replace="pkg_data['description']"/> + </p> + <h3>Changes:</h3> + <table border="0" cellpadding="0" cellspacing="5"> + <tr py:for="(e, v, r, a, built, size, loc, author, log, added) in pkg_data['rpms']"> + <td valign="top"><a href="${'%s/%s' % (url, loc)}" + py:content="'%s-%s-%s.%s' % (pkg_data['name'], v, r, a)"/> + [<span style="white-space: nowrap" py:content="size"/>]</td> + <td valign="top" py:if="log"> + <strong>Changelog</strong> + by <span py:content="'%s (%s)' % (author, ymd(added))"/>: + <pre style="margin: 0pt 0pt 5pt 5pt" py:content="log"/> + </td> + <td valign="top" py:if="not log"> + <em>(no changelog entry)</em> + </td> + </tr> + </table> +</div> diff --git a/repotmpl/rss.pyc b/repotmpl/rss.pyc Binary files differnew file mode 100644 index 00000000..a6c40485 --- /dev/null +++ b/repotmpl/rss.pyc |