aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/templates
diff options
context:
space:
mode:
authorBonfaceKilz2020-12-23 16:08:44 +0300
committerBonfaceKilz2020-12-23 16:08:44 +0300
commit6e060269c8eef4bde87291770c3fa26726c4a1a1 (patch)
tree4f2aac19ab2e93564663e7ce7d36fb3f5cc95a7f /bh20simplewebuploader/templates
parent5f32f09afd4238465dbd4d9c9ea8c093826ad318 (diff)
downloadbh20-seq-resource-6e060269c8eef4bde87291770c3fa26726c4a1a1.tar.gz
bh20-seq-resource-6e060269c8eef4bde87291770c3fa26726c4a1a1.tar.lz
bh20-seq-resource-6e060269c8eef4bde87291770c3fa26726c4a1a1.zip
Add tabbed content for commits, tweets and pubmed content
* bh20simplewebuploader/templates/home.html: Add tab panes for commits, tweets and pubmed content. Use dummy place holder content for commits and tweets. * bh20simplewebuploader/static/main.css: Add basic styling for tabbed content.
Diffstat (limited to 'bh20simplewebuploader/templates')
-rw-r--r--bh20simplewebuploader/templates/home.html17
1 files changed, 15 insertions, 2 deletions
diff --git a/bh20simplewebuploader/templates/home.html b/bh20simplewebuploader/templates/home.html
index be948f6..8a9c27b 100644
--- a/bh20simplewebuploader/templates/home.html
+++ b/bh20simplewebuploader/templates/home.html
@@ -27,8 +27,18 @@
<div id="map_view" class="map">
<div id="mapid"></div>
</div>
- <div id="twitter-feed">
- <ul>
+
+ <div id="feed">
+ <input name="feed-tabs" type="radio" id="tab-pubmed-articles" checked/>
+ <label for="tab-pubmed-articles">Pubmed Articles</label>
+ <input name="feed-tabs" type="radio" id="tab-tweets"/>
+ <label for="tab-tweets">Tweets</label>
+ <input name="feed-tabs" type="radio" id="tab-commits"/>
+ <label for="tab-commits">Commits</label>
+ <ul class="tab content-pubmed-articles">
+ Pubmed content
+ </ul>
+ <ul class="tab content-tweets">
{% for tweet in tweets|sort(reverse=true, attribute="timeposted")%}
<li>
<p class="tweet">
@@ -41,6 +51,9 @@
</li>
{% endfor %}
</ul>
+ <ul class="tab content-commits">
+ Commits
+ </ul>
</div>
</section>