shared_project_email_template.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <style type="text/css">
  5. #outlook a{padding:0;} /* Force Outlook to provide a "view in browser" button. */
  6. body{width:100% !important;} .ReadMsgBody{width:100%;} .ExternalClass{width:100%;} /* Force Hotmail to display emails at full width */
  7. body{-webkit-text-size-adjust:none;} /* Prevent Webkit platforms from changing default text sizes. */
  8. body{margin:0; padding:0;}
  9. img{border:0; height:auto; line-height:100%; outline:none; text-decoration:none;}
  10. table td{border-collapse:collapse;}
  11. #backgroundTable{height:100% !important; margin:0; padding:0; width:100% !important;}
  12. body, #backgroundTable{
  13. /*@editable*/ background-color:#FAFAFA;
  14. }
  15. #templateContainer{
  16. /*@editable*/ border: 1px solid #DDDDDD;
  17. }
  18. h1, .h1{
  19. /*@editable*/ color:#202020;
  20. display:block;
  21. /*@editable*/ font-family:Arial;
  22. /*@editable*/ font-size:34px;
  23. /*@editable*/ font-weight:bold;
  24. /*@editable*/ line-height:100%;
  25. margin-top:0;
  26. margin-right:0;
  27. margin-bottom:10px;
  28. margin-left:0;
  29. /*@editable*/ text-align:left;
  30. }
  31. h2, .h2{
  32. /*@editable*/ color:#202020;
  33. display:block;
  34. /*@editable*/ font-family:Arial;
  35. /*@editable*/ font-size:30px;
  36. /*@editable*/ font-weight:bold;
  37. /*@editable*/ line-height:100%;
  38. margin-top:0;
  39. margin-right:0;
  40. margin-bottom:10px;
  41. margin-left:0;
  42. /*@editable*/ text-align:left;
  43. }
  44. h3, .h3{
  45. /*@editable*/ color:#202020;
  46. display:block;
  47. /*@editable*/ font-family:Arial;
  48. /*@editable*/ font-size:26px;
  49. /*@editable*/ font-weight:bold;
  50. /*@editable*/ line-height:100%;
  51. margin-top:0;
  52. margin-right:0;
  53. margin-bottom:10px;
  54. margin-left:0;
  55. /*@editable*/ text-align:left;
  56. }
  57. /**
  58. * @tab Page
  59. * @section heading 4
  60. * @tip Set the styling for all fourth-level headings in your emails. These should be the smallest of your headings.
  61. * @style heading 4
  62. */
  63. h4, .h4{
  64. /*@editable*/ color:#202020;
  65. display:block;
  66. /*@editable*/ font-family:Arial;
  67. /*@editable*/ font-size:22px;
  68. /*@editable*/ font-weight:bold;
  69. /*@editable*/ line-height:100%;
  70. margin-top:0;
  71. margin-right:0;
  72. margin-bottom:10px;
  73. margin-left:0;
  74. /*@editable*/ text-align:left;
  75. }
  76. /* /\/\/\/\/\/\/\/\/\/\ STANDARD STYLING: PREHEADER /\/\/\/\/\/\/\/\/\/\ */
  77. /**
  78. * @tab Header
  79. * @section preheader style
  80. * @tip Set the background color for your email's preheader area.
  81. * @theme page
  82. */
  83. #templatePreheader{
  84. /*@editable*/ background-color:#FAFAFA;
  85. }
  86. /**
  87. * @tab Header
  88. * @section preheader text
  89. * @tip Set the styling for your email's preheader text. Choose a size and color that is easy to read.
  90. */
  91. .preheaderContent div{
  92. /*@editable*/ color:#505050;
  93. /*@editable*/ font-family:Arial;
  94. /*@editable*/ font-size:10px;
  95. /*@editable*/ line-height:100%;
  96. /*@editable*/ text-align:left;
  97. }
  98. /**
  99. * @tab Header
  100. * @section preheader link
  101. * @tip Set the styling for your email's preheader links. Choose a color that helps them stand out from your text.
  102. */
  103. .preheaderContent div a:link, .preheaderContent div a:visited, /* Yahoo! Mail Override */ .preheaderContent div a .yshortcuts /* Yahoo! Mail Override */{
  104. /*@editable*/ color:#336699;
  105. /*@editable*/ font-weight:normal;
  106. /*@editable*/ text-decoration:underline;
  107. }
  108. /* /\/\/\/\/\/\/\/\/\/\ STANDARD STYLING: HEADER /\/\/\/\/\/\/\/\/\/\ */
  109. /**
  110. * @tab Header
  111. * @section header style
  112. * @tip Set the background color and border for your email's header area.
  113. * @theme header
  114. */
  115. #templateHeader{
  116. /*@editable*/ background-color:#FFFFFF;
  117. /*@editable*/ border-bottom:0;
  118. }
  119. /**
  120. * @tab Header
  121. * @section header text
  122. * @tip Set the styling for your email's header text. Choose a size and color that is easy to read.
  123. */
  124. .headerContent{
  125. /*@editable*/ color:#202020;
  126. /*@editable*/ font-family:Arial;
  127. /*@editable*/ font-size:34px;
  128. /*@editable*/ font-weight:bold;
  129. /*@editable*/ line-height:100%;
  130. /*@editable*/ padding:0;
  131. /*@editable*/ text-align:center;
  132. /*@editable*/ vertical-align:middle;
  133. }
  134. /**
  135. * @tab Header
  136. * @section header link
  137. * @tip Set the styling for your email's header links. Choose a color that helps them stand out from your text.
  138. */
  139. .headerContent a:link, .headerContent a:visited, /* Yahoo! Mail Override */ .headerContent a .yshortcuts /* Yahoo! Mail Override */{
  140. /*@editable*/ color:#336699;
  141. /*@editable*/ font-weight:normal;
  142. /*@editable*/ text-decoration:underline;
  143. }
  144. #headerImage{
  145. height:auto;
  146. max-width:600px !important;
  147. }
  148. /* /\/\/\/\/\/\/\/\/\/\ STANDARD STYLING: MAIN BODY /\/\/\/\/\/\/\/\/\/\ */
  149. /**
  150. * @tab Body
  151. * @section body style
  152. * @tip Set the background color for your email's body area.
  153. */
  154. #templateContainer, .bodyContent{
  155. /*@editable*/ background-color:#FFFFFF;
  156. }
  157. /**
  158. * @tab Body
  159. * @section body text
  160. * @tip Set the styling for your email's main content text. Choose a size and color that is easy to read.
  161. * @theme main
  162. */
  163. .bodyContent div{
  164. /*@editable*/ color:#505050;
  165. /*@editable*/ font-family:Arial;
  166. /*@editable*/ font-size:16px;
  167. /*@editable*/ line-height:150%;
  168. /*@editable*/ text-align:left;
  169. }
  170. /**
  171. * @tab Body
  172. * @section body link
  173. * @tip Set the styling for your email's main content links. Choose a color that helps them stand out from your text.
  174. */
  175. .bodyContent div a:link, .bodyContent div a:visited, /* Yahoo! Mail Override */ .bodyContent div a .yshortcuts /* Yahoo! Mail Override */{
  176. /*@editable*/ color:#336699;
  177. /*@editable*/ font-weight:normal;
  178. /*@editable*/ text-decoration:underline;
  179. }
  180. .bodyContent img{
  181. display:inline;
  182. height:auto;
  183. }
  184. /* /\/\/\/\/\/\/\/\/\/\ STANDARD STYLING: FOOTER /\/\/\/\/\/\/\/\/\/\ */
  185. /**
  186. * @tab Footer
  187. * @section footer style
  188. * @tip Set the background color and top border for your email's footer area.
  189. * @theme footer
  190. */
  191. #templateFooter{
  192. /*@editable*/ background-color:#FFFFFF;
  193. /*@editable*/ border-top:0;
  194. }
  195. /**
  196. * @tab Footer
  197. * @section footer text
  198. * @tip Set the styling for your email's footer text. Choose a size and color that is easy to read.
  199. * @theme footer
  200. */
  201. .footerContent div{
  202. /*@editable*/ color:#707070;
  203. /*@editable*/ font-family:Arial;
  204. /*@editable*/ font-size:12px;
  205. /*@editable*/ line-height:125%;
  206. /*@editable*/ text-align:left;
  207. }
  208. /**
  209. * @tab Footer
  210. * @section footer link
  211. * @tip Set the styling for your email's footer links. Choose a color that helps them stand out from your text.
  212. */
  213. .footerContent div a:link, .footerContent div a:visited, /* Yahoo! Mail Override */ .footerContent div a .yshortcuts /* Yahoo! Mail Override */{
  214. /*@editable*/ color:#336699;
  215. /*@editable*/ font-weight:normal;
  216. /*@editable*/ text-decoration:underline;
  217. }
  218. .footerContent img{
  219. display:inline;
  220. }
  221. /**
  222. * @tab Footer
  223. * @section social bar style
  224. * @tip Set the background color and border for your email's footer social bar.
  225. * @theme footer
  226. */
  227. #social{
  228. /*@editable*/ background-color:#FAFAFA;
  229. /*@editable*/ border:0;
  230. }
  231. /**
  232. * @tab Footer
  233. * @section social bar style
  234. * @tip Set the background color and border for your email's footer social bar.
  235. */
  236. #social div{
  237. /*@editable*/ text-align:center;
  238. }
  239. /**
  240. * @tab Footer
  241. * @section utility bar style
  242. * @tip Set the background color and border for your email's footer utility bar.
  243. * @theme footer
  244. */
  245. #utility{
  246. /*@editable*/ background-color:#FFFFFF;
  247. /*@editable*/ border:0;
  248. }
  249. /**
  250. * @tab Footer
  251. * @section utility bar style
  252. * @tip Set the background color and border for your email's footer utility bar.
  253. */
  254. #utility div{
  255. /*@editable*/ text-align:center;
  256. }
  257. #monkeyRewards img{
  258. max-width:190px;
  259. }
  260. </style>
  261. </head>
  262. <body>
  263. <center>
  264. <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="backgroundTable">
  265. <tr>
  266. <td align="center" valign="top">
  267. <!-- // Begin Template Preheader \\ -->
  268. <table border="0" cellpadding="10" cellspacing="0" width="600" id="templatePreheader">
  269. <tr>
  270. <td valign="top" class="preheaderContent">
  271. <!-- // Begin Module: Standard Preheader \ -->
  272. <table border="0" cellpadding="10" cellspacing="0" width="100%">
  273. <tr>
  274. <td valign="top">
  275. <div>
  276. <%- previewMessage %>
  277. </div>
  278. </td>
  279. <!-- *|IFNOT:ARCHIVE_PAGE|* -->
  280. <td valign="top" width="190">
  281. </td>
  282. <!-- *|END:IF|* -->
  283. </tr>
  284. </table>
  285. <!-- // End Module: Standard Preheader \ -->
  286. </td>
  287. </tr>
  288. </table>
  289. <!-- // End Template Preheader \\ -->
  290. <table border="0" cellpadding="0" cellspacing="0" width="600" id="templateContainer">
  291. <tr>
  292. <td align="center" valign="top">
  293. <!-- // Begin Template Header \\ -->
  294. <table border="0" cellpadding="0" cellspacing="0" width="600" id="templateHeader">
  295. <tr>
  296. <td class="headerContent">
  297. <img src="<%=view_data.sharelatex_url%>/brand/logo/banner-plain.png" style="max-width:600px;" id="headerImage" />
  298. </td>
  299. </tr>
  300. </table>
  301. <!-- // End Template Header \\ -->
  302. </td>
  303. </tr>
  304. <tr>
  305. <td align="center" valign="top">
  306. <!-- // Begin Template Body \\ -->
  307. <table border="0" cellpadding="0" cellspacing="0" width="600" id="templateBody">
  308. <tr>
  309. <td valign="top" class="bodyContent">
  310. <!-- // Begin Module: Standard Content \\ -->
  311. <table border="0" cellpadding="20" cellspacing="0" width="100%">
  312. <tr>
  313. <td valign="top">
  314. <div style= "font-size:16px;font-family:Arial;">
  315. <p>&nbsp;</p>
  316. <span >
  317. <%-view_data.owner.first_name%> (<%-view_data.owner.email%>) wants to share a LaTeX Project called '<%-view_data.project.name%>' with you.
  318. </span>
  319. <p>&nbsp;</p>
  320. <center>
  321. <div style="width:200px;background-color:#0069CC;border:1px solid #02A9D6;border-radius:4px;padding:15px; margin:10px 5px">
  322. <div style="padding-right:10px;padding-left:10px">
  323. <a href="<%=view_data.project.url%>" style="text-decoration:none" target="_blank">
  324. <span style= "font-size:16px;font-family:Arial;font-weight:bold;color:#fff;white-space:nowrap;display:block; text-align:center">
  325. View Project
  326. </span>
  327. </a>
  328. </div>
  329. </div>
  330. </center>
  331. <p>&nbsp;</p>
  332. <p> - ShareLaTeX Team</p>
  333. </div>
  334. </td>
  335. </tr>
  336. </table>
  337. <!-- // End Module: Standard Content \\ -->
  338. </td>
  339. </tr>
  340. </table>
  341. <!-- // End Template Body \\ -->
  342. </td>
  343. </tr>
  344. <tr>
  345. <td align="center" valign="top">
  346. <!-- // Begin Template Footer \\ -->
  347. <table border="0" cellpadding="10" cellspacing="0" width="600" id="templateFooter">
  348. <tr>
  349. <td valign="top" class="footerContent">
  350. <!-- // Begin Module: Standard Footer \\ -->
  351. <table border="0" cellpadding="10" cellspacing="0" width="100%">
  352. <tr>
  353. <td colspan="2" valign="middle" id="social">
  354. <div>
  355. &nbsp;<a href="http://twitter.com/#!/sharelatex">Twitter</a>
  356. |
  357. <a href="http://www.facebook.com/pages/ShareLaTeX/301671376556660">Facebook</a>
  358. </div>
  359. </td>
  360. </tr>
  361. </table>
  362. <!-- // End Module: Standard Footer \\ -->
  363. </td>
  364. </tr>
  365. </table>
  366. <!-- // End Template Footer \\ -->
  367. </td>
  368. </tr>
  369. </table>
  370. <br />
  371. </td>
  372. </tr>
  373. </table>
  374. </center>
  375. </body>
  376. </html>