/django/templates/client/client_intro.html

https://github.com/narpaldhillon/flowgram.com · HTML · 204 lines · 158 code · 26 blank · 20 comment · 0 complexity · 6910a5a18eed15c23a4aa9af97601e9e MD5 · raw file

  1. {% extends "client/client_base.html" %}
  2. {% load filters %}
  3. {% load tags %}
  4. {% block styles %}
  5. <link rel="stylesheet" href="/media/css/client/client_panels.css" type="text/css" media="screen" charset="utf-8">
  6. <style type="text/css">
  7. .fg_avatarNameAndBubble {
  8. margin: 0 auto;
  9. }
  10. .fg_avatarAndName {
  11. margin-top: 8px;
  12. }
  13. .fg_avatar {
  14. border: 2px solid black;
  15. text-align: center;
  16. width: 100px;
  17. height: 100px;
  18. }
  19. .fg_avatar img {
  20. width: 100px;
  21. height: 100px;
  22. }
  23. .fg_name,
  24. .fg_views,
  25. .fg_publishedAt,
  26. .fg_rating {
  27. color: #3D3D3D;
  28. }
  29. .fg_bubbleArrow {
  30. background-image: url(/media/images/client/intro/bubbleArrow.gif);
  31. margin-top: 50px;
  32. margin-left: -30px;
  33. position: absolute;
  34. width: 30px;
  35. height: 26px;
  36. }
  37. .fg_bubble {
  38. background-color: #E1F1F5;
  39. border: 1px solid #B7D7E0;
  40. margin: 0 0 100px 30px;
  41. width: 500px;
  42. }
  43. .fg_bubble-contents {
  44. padding: 20px;
  45. }
  46. .fg_title {
  47. color: #000;
  48. font-size: 24px;
  49. }
  50. .fg_description {
  51. color: #000;
  52. font-size: 16px;
  53. margin-top: 8px;
  54. }
  55. .fg_notes {
  56. color: #666;
  57. font-size: 10px;
  58. text-align: center;
  59. }
  60. .fg_watchNowArea {
  61. margin: 25px 0 8px 0;
  62. }
  63. .fg_watchNowArea .fg_notes {
  64. font-size: 12px;
  65. }
  66. .fg_watchNow {
  67. background-image: url(/media/images/client/intro/watchNow.gif);
  68. cursor: pointer;
  69. margin: 0 auto 25px auto;
  70. width: 169px;
  71. height: 36px;
  72. }
  73. .fg_pages {
  74. margin: 10px auto 20px auto;
  75. text-align: center;
  76. }
  77. .fg_page {
  78. border: 1px solid #BFBFBF;
  79. margin: 5px;
  80. }
  81. .fg_postACommentLink {
  82. text-align: right;
  83. margin-bottom: 8px;
  84. }
  85. .fg_comments {
  86. width: 640px;
  87. margin: 0 auto;
  88. }
  89. .fg_commentsTable {
  90. width: 100%;
  91. margin: 8px 0;
  92. }
  93. .fg_timeCell {
  94. text-align: right;
  95. }
  96. .fg_commentsTable .hr {
  97. border-top: 1px dotted #CCC;
  98. background-color: transparent;
  99. margin: 4px 0;
  100. padding: 0;
  101. height: 1px;
  102. width: 100%;
  103. }
  104. .fg_commentsTable p {
  105. margin: 0;
  106. }
  107. .fg_rating {
  108. position: absolute;
  109. left: 127px;
  110. }
  111. </style>
  112. <!--[if IE 7]>
  113. <style type="text/css" media="screen">
  114. .fg_rating {
  115. left: 163px;
  116. }
  117. </style>
  118. <![endif]-->
  119. <!--[if lt IE 7]>
  120. <style type="text/css" media="screen">
  121. .fg_bubbleArrow {
  122. margin-top: 110px;
  123. margin-left: 134px;
  124. }
  125. .fg_rating {
  126. left: 143px;
  127. top: 217px;
  128. }
  129. </style>
  130. <![endif]-->
  131. {% endblock %}
  132. {% block title %}
  133. | Intro
  134. {% endblock %}
  135. {% block content %}
  136. <div id="wrapper_header_sub">
  137. <div id="hdr_full_section">
  138. <h1 class="sifr_white">Flowgram</h1>
  139. </div>
  140. <div class="clearer"></div>
  141. </div>
  142. <table class="fg_avatarNameAndBubble"><tr>
  143. <td valign="top">
  144. <div class="fg_avatarAndName">
  145. <div class="fg_avatar"><img src="{{ fg.owner.get_profile.avatar_100 }}" /></div>
  146. <div class="fg_name">By <a href="{{ fg.owner.get_profile.url }}" target="_top">{{ fg.owner.username }}</a></div>
  147. <div class="fg_views">{{ fg.views }} views</div>
  148. {% if fg.published_at %}
  149. <div class="fg_publishedAt">added {{ fg.published_at|timesince|chop_at:"," }} ago</div>
  150. {% endif %}
  151. <div class="fg_rating fg_rating-{{ fg.id }}"></div>
  152. <script type="text/javascript">
  153. {% star-rating fg request.user False %}
  154. </script>
  155. </div>
  156. </td>
  157. <td valign="top">
  158. <div class="fg_bubble">
  159. <div class="fg_bubbleArrow"></div>
  160. <div class="fg_bubble-contents">
  161. <div class="fg_title">{{ fg.title }}</div>
  162. {% if fg.description %}
  163. <div class="fg_description">{{ fg.description }}</div>
  164. {% endif %}
  165. <div class="fg_watchNowArea">
  166. {% if has_audio %}
  167. <div class="fg_notes"><strong>This FlowGram features audio.</strong></div>
  168. <div class="fg_notes"><strong>Turn your speakers on!</strong></div>
  169. {% endif %}
  170. </div>
  171. <div class="fg_watchNow" onclick="window.parent.g_FlashConnection.flex.playCurrentFlowgram();"></div>
  172. <div class="fg_notes">You can pause FlowGrams, scroll pages, click on links, and<br>interact just like with regular web pages.</div>
  173. </div>
  174. </div>
  175. </td>
  176. </tr></table>
  177. {% endblock content %}