Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2375] Start the package/read.html template with hardcoded data
- Loading branch information
Showing
1 changed file
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<!DOCTYPE html> | ||
<html | ||
xmlns="http://www.w3.org/1999/xhtml" | ||
xmlns:i18n="http://genshi.edgewall.org/i18n" | ||
xmlns:py="http://genshi.edgewall.org/" | ||
xmlns:xi="http://www.w3.org/2001/XInclude"> | ||
<xi:include href="../page.html" /> | ||
<head> | ||
<title>${c.pkg_dict.get('title', c.pkg_dict['name'])} - Datasets</title> | ||
</head> | ||
<body> | ||
<content> | ||
</content> | ||
<sidebar> | ||
<section class="module subscribe"> | ||
<h2 class="heading">Subscribe</h2> | ||
<ul class="nav nav-simple"> | ||
<li><a href="#">Email</a></li> | ||
<li><a href="#">RSS</a></li> | ||
</ul> | ||
</section> | ||
|
||
<section class="module social"> | ||
<h2 class="heading">Social</h2> | ||
<ul class="nav nav-simple"> | ||
<li><a href="#">Google+</a></li> | ||
<li><a href="#">Twitter</a></li> | ||
<li><a href="#">Facebook</a></li> | ||
</ul> | ||
</section> | ||
|
||
<section class="module info related"> | ||
<h2 class="heading">Related</h2> | ||
<p class="content">Some interesting summary of this featured item. This | ||
may or may not have a slideshow.</p> | ||
</section> | ||
|
||
<section py:if="c.pkg.license_id" class="module info license"> | ||
<h2 class="heading">License</h2> | ||
<p class="content"> | ||
<a py:if="c.pkg_dict.get('license_url')" href="${c.pkg_dict.get('license_url')}" rel="dc:rights">${c.pkg_dict.get('license_title')}</a> | ||
<span py:if="c.pkg.license" property="dc:rights">${c.pkg_dict.get('license_title')}</span> | ||
<a py:if="c.pkg_dict.get('isopen')" href="http://opendefinition.org/okd/" title="This dataset satisfies the Open Definition."> | ||
<img class="open-data" src="http://assets.okfn.org/images/ok_buttons/od_80x15_blue.png" alt="[Open Data]" /> | ||
</a> | ||
<span py:if="not c.pkg_dict.get('isopen')" class="closed">${h.icon('lock')}</span> | ||
</p> | ||
</section> | ||
|
||
<section class="module trackback"> | ||
<h2 class="heading">Trackback URL</h2> | ||
<input type="text" value="" /> | ||
</section> | ||
</sidebar> | ||
</body> | ||
</html> |