PageRenderTime 49ms CodeModel.GetById 23ms RepoModel.GetById 0ms app.codeStats 0ms

/endless_tweets/tweet.haml

https://github.com/mislav/user-scripts
HAML | 25 lines | 25 code | 0 blank | 0 comment | 0 complexity | e15281c2da135bb3ea3e5806481d86f0 MD5 | raw file
  1. %li#status_ID.hentry.status.u-USERNAME
  2. %span.thumb.vcard.author<
  3. %a.tweet-url.profile-pic.url{ :href => "/USERNAME" }
  4. %img.photo.fn{ :src => "AVATAR", :height => "48", :alt => "REAL_NAME", :width => "48" }
  5. %span.status-body
  6. %img.lock{ :title => "REAL_NAME’s updates are protected— please don’t share!", :src => "http://assets2.twitter.com/images/icon_lock.gif", :alt => "Icon_lock" }
  7. %strong<
  8. %a.tweet-url.screen-name{ :href => "/USERNAME", :title => "REAL_NAME" } USERNAME
  9. %span.actions
  10. %div
  11. %a.fav-action.FAV_CLASS#status_star_ID{ :title => "FAV_ACTION this tweet" } &nbsp;&nbsp;
  12. %span.entry-content TEXT
  13. %span.meta.entry-meta
  14. %a.entry-date{ :href => "/USERNAME/status/ID", :rel => "bookmark" }
  15. %span.published.timestamp{ :title => "CREATED_AT" } CREATED_AGO
  16. %span from SOURCE
  17. %a{ :href => "/IN_REPLY_TO/status/IN_REPLY_TO_STATUS" } in reply to IN_REPLY_TO
  18. %ul.actions-hover<
  19. %li
  20. %span.del
  21. %span.delete-icon.icon>
  22. %a{ :href => '#', :title => "delete this tweet" }> Delete
  23. %span.reply
  24. %span.reply-icon.icon>
  25. %a{ :href => "/home?status=@USERNAME%20&in_reply_to_status_id=ID&in_reply_to=USERNAME", :title => "reply to USERNAME" }> Reply