aboutsummaryrefslogtreecommitdiffstats
path: root/syte/static/templates/twitter-view.html
diff options
context:
space:
mode:
authorAlexis Metaireau <alexis@notmyidea.org>2012-07-09 07:44:38 -0700
committerAlexis Metaireau <alexis@notmyidea.org>2012-07-09 07:44:38 -0700
commit5c841277a96336f85ce5f5944e92e4ceec2a89f1 (patch)
treedae04e7396f1f0a3e72d4e4b62545c4030a7193c /syte/static/templates/twitter-view.html
parent8363d9701c4c5ab794977c37c4428455e68db78b (diff)
parent0727752c19ddf32acd3623ded81131f0a8233079 (diff)
downloadpelican-themes-5c841277a96336f85ce5f5944e92e4ceec2a89f1.tar.gz
Merge pull request #42 from samrat/master
Added new theme, syte
Diffstat (limited to 'syte/static/templates/twitter-view.html')
-rw-r--r--syte/static/templates/twitter-view.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/syte/static/templates/twitter-view.html b/syte/static/templates/twitter-view.html
new file mode 100644
index 0000000..efa08aa
--- /dev/null
+++ b/syte/static/templates/twitter-view.html
@@ -0,0 +1,52 @@
+<div class="profile twitter modal fade" id="twitter-profile">
+ {{#with user}}
+ <div class="profile-info">
+ <button class="close" data-dismiss="modal">×</button>
+ <a href="http://twitter.com/#!/{{ screen_name }}" class="profile-avatar">
+ <img src="{{ profile_image_url }}" alt="{{name}}" />
+ </a>
+ <div class="profile-name">
+ <h2><a href="http://twitter.com/#!/{{ screen_name }}">{{ name }}</a></h2>
+ <h3><a href="http://twitter.com/#!/{{ screen_name }}">@{{ screen_name}}</a></h3>
+ </div>
+ <p class="profile-description">{{{ f_description }}}</p>
+ <p class="profile-location-url">
+ {{#if location }}
+ <span>{{ location }}</span>
+ <span class="divider">·</span>
+ {{/if}}
+ {{#if url }}
+ <span><a href="{{ url }}">{{ url }}</a></span>
+ {{/if}}
+ </p>
+ </div>
+ <ul class="profile-stats">
+ <li><a href="http://twitter.com/#!/{{ screen_name }}"><strong>{{ statuses_count }}</strong> tweets</a></li>
+ <li><a href="http://twitter.com/#!/{{ screen_name }}/following"><strong>{{ friends_count }}</strong> following</a></li>
+ <li><a href="http://twitter.com/#!/{{ screen_name }}/followers"><strong>{{ followers_count }}</strong> followers</a></li>
+ </ul>
+ <div class="profile-info-footer">
+ <a href="http://twitter.com/#!/{{ screen_name }}" class="btn">Follow on Twitter</a>
+ </div>
+ {{/with}}
+ <ul class="profile-tweets">
+ {{#each tweets}}
+ <li>
+ {{#with user }}
+ <a href="http://twitter.com/#!/{{ screen_name }}" class="tweet-title">
+ <img src="{{ profile_image_url }}" alt="{{ name }}" />
+ <strong>{{ name }}</strong>
+ <span>@{{ screen_name }}</span>
+ </a>
+ {{/with}}
+ <p class="tweet-text">
+ {{{ f_text }}}
+ </p>
+ <p class="tweet-date">
+ {{ formated_date }}
+ </p>
+ </li>
+ {{/each}}
+ </ul>
+</div>
+