]> git.ipfire.org Git - thirdparty/foundation/foundation-emails.git/commitdiff
Swap out example template to non-borjked one for the time being v1.0.1
authorEric Morris <eric@zurb.com>
Mon, 11 Nov 2013 12:15:47 +0000 (04:15 -0800)
committerEric Morris <eric@zurb.com>
Mon, 11 Nov 2013 12:15:47 +0000 (04:15 -0800)
templates/examples/basic.html [new file with mode: 0644]
templates/examples/newsletter.html [deleted file]

diff --git a/templates/examples/basic.html b/templates/examples/basic.html
new file mode 100644 (file)
index 0000000..c133d09
--- /dev/null
@@ -0,0 +1,264 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+       <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+       <meta name="viewport" content="width=device-width"/>
+       <style>
+               /* Include ink.css */
+  </style>
+  <style>
+               
+    .facebook table td {
+      background: #3b5998;
+      border-color: #2d4473;
+    }
+
+    .facebook:hover table td {
+      background: #2d4473 !important;
+    }
+
+    .twitter table td {
+      background: #00acee;
+      border-color: #0087bb;
+    }
+
+    .twitter:hover table td {
+      background: #0087bb !important;
+    }
+
+    .google-plus table td {
+      background-color: #DB4A39;
+      border-color: #CC0000;
+    }
+
+    .google-plus:hover table td {
+      background: #CC0000 !important;
+    }
+
+    .template-label {
+      color: #ffffff;
+      font-weight: bold;
+      font-size: 11px;
+    }
+
+    .callout .wrapper {
+      padding-bottom: 20px;
+    }
+
+    .callout .panel {
+      background: #ECF8FF;
+      border-color: #b9e5ff;
+    }
+
+    .header {
+      background: #999999;
+    }
+
+    .footer .wrapper {
+      background: #ebebeb;
+    }
+
+    .footer h5 {
+      padding-bottom: 10px;
+    }
+
+    table.columns .text-pad {
+      padding-left: 10px;
+      padding-right: 10px;
+    }
+
+    table.columns .left-text-pad {
+      padding-left: 10px;
+    }
+
+    table.columns .right-text-pad {
+      padding-right: 10px;
+    }
+
+    @media only screen and (max-width: 600px) {
+
+      table[class="body"] .right-text-pad {
+        padding-left: 10px !important;
+      }
+
+      table[class="body"] .left-text-pad {
+        padding-right: 10px !important;
+      }
+    }
+
+       </style>
+</head>
+<body>
+       <table class="body">
+               <tr>
+                       <td class="center" align="center" valign="top">
+        <center>
+         
+          <table class="row header">
+            <tr>
+              <td class="center" align="center">
+                <center>
+          
+                  <table class="container">
+                    <tr>
+                      <td class="wrapper last">
+            
+                        <table class="twelve columns">
+                          <tr>
+                            <td class="six sub-columns">
+                              <img src="http://placehold.it/200x50">
+                            </td>
+                            <td class="six sub-columns last" style="text-align:right; vertical-align:middle;">
+                              <span class="template-label">BASIC</span>
+                            </td>
+                                
+                          </tr>
+                        </table>
+            
+                      </td>
+                    </tr>
+                  </table>
+          
+                </center>
+              </td>
+            </tr>
+          </table> 
+
+          <table class="container">
+            <tr>
+              <td>
+              
+                <table class="row">
+                  <tr>
+                    <td class="wrapper last">
+                  
+                      <table class="twelve columns">
+                        <tr>
+                          <td>
+                            <h3>Hi, Susan Calvin</h3>
+                                                               <p class="lead">Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae.</p>
+                                                               <p>Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae. consequat vel lacus. Sed iaculis pulvinar ligula, ornare fringilla ante viverra et. In hac habitasse platea dictumst. Donec vel orci mi, eu congue justo. Integer eget odio est, eget malesuada lorem. Aenean sed tellus dui, vitae viverra risus. Nullam massa sapien, pulvinar eleifend fringilla id, convallis eget nisi. Mauris a sagittis dui. Pellentesque non lacinia mi. Fusce sit amet libero sit amet erat venenatis sollicitudin vitae vel eros. Cras nunc sapien, interdum sit amet porttitor ut, congue quis urna.</p>
+                          </td>
+                          <td class="expander"></td>
+                        </tr>
+                      </table>
+                  
+                    </td>
+                  </tr>
+                </table>
+              
+                <table class="row callout">
+                  <tr>
+                    <td class="wrapper last">
+
+                      <table class="twelve columns">
+                        <tr>
+                          <td class="panel">
+                            <p>Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae. <a href="#">Click it! »</a></p>
+                          </td>
+                          <td class="expander"></td>
+                        </tr>
+                      </table>
+
+                    </td>
+                  </tr>
+                </table>
+              
+                <table class="row footer">
+                  <tr>
+                    <td class="wrapper">
+                            
+                      <table class="six columns">
+                        <tr>
+                          <td class="left-text-pad">
+
+                            <h5>Connect With Us:</h5>
+
+                            <a class="tiny-button facebook" href="#">
+                              <table>
+                                <tr>
+                                  <td>
+                                    Facebook
+                                  </td>
+                                </tr>
+                              </table>
+                            </a>
+
+                            <br>
+
+                            <a class="tiny-button twitter" href="#">
+                              <table>
+                                <tr>
+                                  <td>
+                                    Twitter
+                                  </td>
+                                </tr>
+                              </table>
+                            </a>
+
+                            <br>
+
+                            <a class="tiny-button google-plus" href="#">
+                              <table>
+                                <tr>
+                                  <td>
+                                    Google +
+                                  </td>
+                                </tr>
+                              </table>
+                            </a>
+
+                          </td>
+                          <td class="expander"></td>
+                        </tr>
+                      </table>
+
+                    </td>
+                    <td class="wrapper last">
+
+                      <table class="six columns">
+                        <tr>
+                          <td class="last right-text-pad">
+                            <h5>Contact Info:</h5>
+                            <p>Phone: 408.341.0600</p>
+                            <p>Email: <a href="mailto:hseldon@trantor.com">hseldon@trantor.com</a></p>
+                          </td>          
+                          <td class="expander"></td>
+                        </tr>
+                      </table>
+
+                    </td>
+                  </tr>
+                </table>
+              
+              
+                <table class="row">
+                  <tr>
+                    <td class="wrapper last">
+            
+                      <table class="twelve columns">
+                        <tr>
+                          <td align="center">
+                            <center>
+                              <p style="text-align:center;"><a href="#">Terms</a> | <a href="#">Privacy</a> | <a href="#">Unsubscribe</a></p>
+                            </center>
+                          </td>
+                          <td class="expander"></td>
+                        </tr>
+                      </table>
+            
+                    </td>
+                  </tr>
+                </table>
+              
+              <!-- container end below -->
+              </td>
+            </tr>
+          </table> 
+
+        </center>
+                       </td>
+               </tr>
+       </table>
+</body>
+</html>
\ No newline at end of file
diff --git a/templates/examples/newsletter.html b/templates/examples/newsletter.html
deleted file mode 100644 (file)
index 8c44e65..0000000
+++ /dev/null
@@ -1,425 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-  <meta name="viewport" content="width=device-width"/>
-  <style>
-    /* Include ink.css */
-  </style>
-  <style>
-    
-    .facebook table td {
-      background: #3b5998;
-      border-color: #2d4473;
-    }
-
-    .facebook:hover table td {
-      background: #2d4473 !important;
-    }
-
-    .twitter table td {
-      background: #00acee;
-      border-color: #0087bb;
-    }
-
-    .twitter:hover table td {
-      background: #0087bb !important;
-    }
-
-    .google-plus table td {
-      background-color: #DB4A39;
-      border-color: #CC0000;
-    }
-
-    .google-plus:hover table td {
-      background: #CC0000 !important;
-    }
-
-    .template-label {
-      color: #ffffff;
-      font-weight: bold;
-      font-size: 11px;
-    }
-
-    .callout .panel {
-      background: #ECF8FF;
-      border-color: #b9e5ff;
-    }
-
-    .header {
-      background: #999999;
-    }
-
-    .footer .wrapper {
-      background: #ebebeb;
-    }
-
-    .footer h5 {
-      padding-bottom: 10px;
-    }
-
-    table.columns .text-pad {
-      padding-left: 10px;
-      padding-right: 10px;
-    }
-
-    table.columns .left-text-pad {
-      padding-left: 10px;
-    }
-
-    table.columns .right-text-pad {
-      padding-right: 10px;
-    }
-
-    @media only screen and (max-width: 600px) {
-
-      table[class="body"] .right-text-pad {
-        padding-left: 10px !important;
-      }
-
-      table[class="body"] .left-text-pad {
-        padding-right: 10px !important;
-      }
-    }
-
-  </style>
-</head>
-<body>
-  <table class="body">
-    <tr>
-      <td class="center" align="center" valign="top">
-        <center>
-         
-          <table class="row header">
-            <tr>
-              <td class="center" align="center">
-                <center>
-          
-                  <table class="container">
-                    <tr>
-                      <td class="wrapper last">
-            
-                        <table class="twelve columns">
-                          <tr>
-                            <td class="six sub-columns">
-                              <img src="http://placehold.it/200x50">
-                            </td>
-                            <td class="six sub-columns last" style="text-align:right; vertical-align:middle;">
-                              <span class="template-label">NEWSLETTER</span>
-                            </td>
-                                
-                          </tr>
-                        </table>
-            
-                      </td>
-                    </tr>
-                  </table>
-          
-                </center>
-              </td>
-            </tr>
-          </table>
-
-          <br>
-        
-          <table class="container">
-            <tr>
-              <td>
-              
-                <!-- content start -->
-                <table class="row">
-                  <tr>
-                    <td class="wrapper last">
-                  
-                      <table class="twelve columns">
-                        <tr>
-                          <td>
-                            <h3>Great Scott!</h3>
-                            <p class="lead">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et.</p>
-                            <img width="580" height="300" src="http://placehold.it/580x300">
-                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-                  
-                    </td>
-                  </tr>
-                </table>
-                
-                <!-- Article List 1 -->
-                <table class="row">
-                  <tr>
-                    <td class="wrapper">
-          
-                      <table class="twelve columns">
-                        <tr>
-                          <td class="three sub-columns">
-                            <!-- Top Left sub-grid -->
-                            <img width="110" height="110" src="http://placehold.it/110x110">
-                          </td>
-                          <td class="nine sub-columns last">
-                            <!-- Top Right sub-grid -->
-                            <h5>Title Ipsum <small>This is a note.</small></h5>
-                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-                            
-                            <!-- custom wrapped button -->
-                            <table width="150">
-                              <tr>
-                                <td>
-                                  
-                                  <a class="button" href="#">
-                                    <table>
-                                      <tr>
-                                        <td>
-                                          Clickity Click &raquo;
-                                        </td>
-                                      </tr>
-                                    </table>
-                                  </a>
-
-                                </td>
-                              </tr>
-                            </table>
-                            
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-          
-                      <table class="twelve columns">
-                        <tr>
-                          <td class="three sub-columns">
-                            <!-- Top Left sub-grid -->
-                            <img width="110" height="110" src="http://placehold.it/110x110">
-                          </td>
-                          <td class="nine sub-columns last">
-                            <!-- Top Right sub-grid -->
-                            <h5>Title Ipsum <small>This is a note.</small></h5>
-                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-                            
-                            <!-- custom wrapped button -->
-                            <table width="150">
-                              <tr>
-                                <td>
-
-                                  <a class="button" href="#">
-                                    <table>
-                                      <tr>
-                                        <td>
-                                          Clickity Click &raquo;
-                                        </td>
-                                      </tr>
-                                    </table>
-                                  </a>
-
-                                </td>
-                              </tr>
-                            </table>
-                            
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-          
-                    </td>
-                  </tr>
-                </table>
-                
-                <!-- Panel with call to action -->
-                <table class="row  callout">
-                  <tr>
-                  
-                    <td class="wrapper last">
-                      <table class="twelve columns">
-                        <tr>
-                          <td class="panel">
-                            <p>Phasellus dictum sapien a neque luctus cursus. Pellentesque sem dolor, fringilla et pharetra vitae. <a href="#">Click it! »</a></p>
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-                    </td>
-                    
-                  </tr>
-                </table>
-                <br>
-                <!-- Article List 2 -->
-                <table class="row">
-                  <tr>
-                    <td class="wrapper">
-          
-                      <table class="twelve columns">
-                        <tr>
-                          <td class="three sub-columns">
-                            <!-- Top Left sub-grid -->
-                            <img width="110" height="110" src="http://placehold.it/110x110">
-                          </td>
-                          <td class="nine sub-columns last">
-                            <!-- Top Right sub-grid -->
-                            <h5>Title Ipsum <small>This is a note.</small></h5>
-                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-                            
-                            <!-- custom wrapped button -->
-                            <table width="150">
-                              <tr>
-                                <td>
-
-                                  <a class="button" href="#">
-                                    <table>
-                                      <tr>
-                                        <td>
-                                          Clickity Click &raquo;
-                                        </td>
-                                      </tr>
-                                    </table>
-                                  </a>
-
-                                </td>
-                              </tr>
-                            </table>
-                            
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-          
-                      <table class="twelve columns">
-                        <tr>
-                          <td class="three sub-columns">
-                            <!-- Top Left sub-grid -->
-                            <img width="110" height="110" src="http://placehold.it/110x110">
-                          </td>
-                          <td class="nine sub-columns last">
-                            <!-- Top Right sub-grid -->
-                            <h5>Title Ipsum <small>This is a note.</small></h5>
-                            <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
-                            
-                            <!-- custom wrapped button -->
-                            <table width="150">
-                              <tr>
-                                <td>
-
-                                  <a class="button" href="#">
-                                    <table>
-                                      <tr>
-                                        <td>
-                                          Clickity Click &raquo;
-                                        </td>
-                                      </tr>
-                                    </table>
-                                  </a>
-
-                                </td>
-                              </tr>
-                            </table>
-                            
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-          
-                    </td>
-                  </tr>
-                </table>
-                
-                
-                              
-                <table class="row footer">
-                  <tr>
-                    <td class="wrapper">
-                            
-                      <table class="six columns">
-                        <tr>
-                          <td class="left-text-pad">
-
-                            <h5>Connect With Us:</h5>
-
-                            <a class="tiny-button facebook" href="#">
-                              <table>
-                                <tr>
-                                  <td>
-                                    Facebook
-                                  </td>
-                                </tr>
-                              </table>
-                            </a>
-
-                            <br>
-
-                            <a class="tiny-button twitter" href="#">
-                              <table>
-                                <tr>
-                                  <td>
-                                    Twitter
-                                  </td>
-                                </tr>
-                              </table>
-                            </a>
-
-                            <br>
-
-                            <a class="tiny-button google-plus" href="#">
-                              <table>
-                                <tr>
-                                  <td>
-                                    Google +
-                                  </td>
-                                </tr>
-                              </table>
-                            </a>
-
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-
-                    </td>
-                    <td class="wrapper last">
-
-                      <table class="six columns">
-                        <tr>
-                          <td class="last right-text-pad">
-                            <h5>Contact Info:</h5>
-                            <p>Phone: 408.341.0600</p>
-                            <p>Email: <a href="mailto:hseldon@trantor.com">hseldon@trantor.com</a></p>
-                          </td>          
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-
-                    </td>
-                  </tr>
-                </table>
-                
-                
-                <table class="row">
-                  <tr>
-                    <td class="wrapper last">
-            
-                      <table class="twelve columns">
-                        <tr>
-                          <td align="center">
-                            <center>
-                              <p style="text-align:center;"><a href="#">Terms</a> | <a href="#">Privacy</a> | <a href="#"><unsubscribe>Unsubscribe</unsubscribe></a></p>
-                            </center>
-                          </td>
-                          <td class="expander"></td>
-                        </tr>
-                      </table>
-            
-                    </td>
-                  </tr>
-                </table>
-              
-              <!-- container end below -->
-              </td>
-            </tr>
-          </table> 
-
-        </center>
-      </td>
-    </tr>
-  </table>
-</body>
-</html>
\ No newline at end of file