├── images
├── vimeo.png
├── facebook.png
├── linkedin.png
├── twitter.png
├── header_bg.jpg
├── instagram.png
├── github_logo.png
└── select-arrow.png
├── README.md
├── style.css
└── index.php
/images/vimeo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/vimeo.png
--------------------------------------------------------------------------------
/images/facebook.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/facebook.png
--------------------------------------------------------------------------------
/images/linkedin.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/linkedin.png
--------------------------------------------------------------------------------
/images/twitter.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/twitter.png
--------------------------------------------------------------------------------
/images/header_bg.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/header_bg.jpg
--------------------------------------------------------------------------------
/images/instagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/instagram.png
--------------------------------------------------------------------------------
/images/github_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/github_logo.png
--------------------------------------------------------------------------------
/images/select-arrow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/mattlitzinger/Email_Signature_Generator/HEAD/images/select-arrow.png
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Email Signature Generator
2 | Create and manage unified email signatures for your entire team. Change the options in `index.php` to fit you company or organization.
3 |
4 | Demo:
5 |
6 | Options include:
7 | - Company name, URL and logo
8 | - Email domain
9 | - Three design colors
10 | - Social Links: Facebook, Twitter, Instagram, Vimeo and LinkedIn
11 | - Multiple mailing addresses
12 | - Sample data
--------------------------------------------------------------------------------
/style.css:
--------------------------------------------------------------------------------
1 | @import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);
2 |
3 | /* ========================= */
4 |
5 | *{ margin: 0; padding: 0; border: none; vertical-align: top; }
6 |
7 | body{
8 | font: normal 13px/20px 'Lato', Arial, sans-serif;
9 | background: #f3f3f3;
10 | color: #888;
11 | -webkit-font-smoothing: antialiased;
12 | }
13 |
14 | /* ========================= */
15 |
16 | a{ color: #444; text-decoration: none; }
17 | a:hover{ text-decoration: underline; }
18 |
19 | strong { font-weight: bold; }
20 |
21 | h1{
22 | width: 600px;
23 | font: 300 42px/1 'Lato', Arial, sans-serif;
24 | color: #fff;
25 | letter-spacing: -1px;
26 | /*text-transform: uppercase;*/
27 | margin: 0 auto;
28 | }
29 |
30 | ol, ul{
31 | padding-bottom: 14px;
32 | }
33 |
34 | ul{
35 | text-align: center;
36 | }
37 |
38 | ol li{
39 | margin-left: 20px;
40 | padding-left: 8px;
41 | }
42 |
43 | .contact-details tr td:first-child{
44 | vertical-align: middle;
45 | }
46 |
47 | .contact-details .email-user{
48 | width: 51.5%;
49 | display: inline-block;
50 | margin-right: 1%;
51 | }
52 |
53 | .contact-details .email-domain{
54 | font: normal 16px/16px 'Lato', Arial, sans-serif;
55 | display: inline-block;
56 | margin-top: 14px;
57 | vertical-align: middle;
58 | }
59 |
60 | form{
61 | width: 600px;
62 | margin: 26px auto;
63 | padding-bottom: 15px;
64 | }
65 |
66 | form label{
67 | font: bold 14px/14px 'Lato', Arial, sans-serif;
68 | color: #888;
69 | }
70 |
71 | form select{
72 | width: 100%;
73 | font: normal 16px/19px 'Lato', Arial, sans-serif;
74 | color: #aaa;
75 | background: #fff url('images/select-arrow.png') 97.5% center no-repeat;
76 | border: 1px solid #ccc;
77 | -webkit-border-radius: 0;
78 | -mox-border-radius: 0;
79 | border-radius: 0;
80 | margin: 7px 0;
81 | padding: 6px 26px 5px 16px;
82 | -webkit-box-sizing: border-box;
83 | -moz-box-sizing: border-box;
84 | box-sizing: border-box;
85 | }
86 |
87 | form select:focus{
88 | color: #444;
89 | border: 1px solid #999;
90 | }
91 |
92 | form input[type="text"]{
93 | width: 100%;
94 | font: normal 16px/1 'Lato', Arial, sans-serif;
95 | color: #aaa;
96 | background: #fff;
97 | border: 1px solid #ccc;
98 | margin: 7px 0;
99 | padding: 6px 14px;
100 | -webkit-box-sizing: border-box;
101 | -moz-box-sizing: border-box;
102 | box-sizing: border-box;
103 | }
104 |
105 | form input[type="submit"]{
106 | font: 300 20px/1 'Lato', Arial, sans-serif;
107 | color: #fff;
108 | /*text-transform: uppercase;*/
109 | letter-spacing: -1px;
110 | -webkit-font-smoothing: antialiased;
111 | background: #444;
112 | padding: 12px 16px 14px;
113 | float: right;
114 | cursor: pointer;
115 | }
116 |
117 | form input[type="submit"]:hover,
118 | form input[type="submit"]:focus{
119 | background: #333;
120 | }
121 |
122 | form select,
123 | form input[type="text"]{
124 | display: block;
125 | -webkit-appearance: none;
126 | -moz-appearance: none;
127 | appearance: none;
128 | }
129 |
130 | form input[type="text"]:focus{
131 | color: #444;
132 | border: 1px solid #999;
133 | }
134 |
135 | .page-header{
136 | background: #111 url(images/header_bg.jpg) repeat top left;
137 | border-bottom: 4px solid #a7a7a7;
138 | box-shadow: inset 1px 0px 14px #000;
139 | padding: 56px 0 30px;
140 | }
141 |
142 | .signature-preview{
143 | width: 530px;
144 | font-size: 12px;
145 | background: #fff;
146 | border: 1px solid #ccc;
147 | margin: 25px auto 15px;
148 | padding: 26px;
149 | overflow: hidden;
150 |
151 | background-color: #fff;
152 | background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#fff), to(#efefef));
153 | background-image: -webkit-linear-gradient(top, #fff, #efefef);
154 | background-image: -moz-linear-gradient(top, #fff, #efefef);
155 | background-image: -ms-linear-gradient(top, #fff, #efefef);
156 | background-image: -o-linear-gradient(top, #fff, #efefef);
157 | }
158 |
159 | .client-links li{
160 | width: 38%;
161 | text-align: center;
162 | display: inline-block;
163 | margin: 5px 0.85%;
164 | }
165 |
166 | .client-links li a{
167 | width: 100%;
168 | font: 300 20px/1 'Lato', Arial, sans-serif;
169 | color: #fff;
170 | /*text-transform: uppercase;*/
171 | letter-spacing: -1px;
172 | -webkit-font-smoothing: antialiased;
173 | background: #777;
174 | display: block;
175 | padding: 7px 0 9px;
176 | cursor: pointer;
177 | }
178 |
179 | .client-links li a:hover{
180 | text-decoration: none;
181 | background: #666;
182 | }
183 |
184 | :focus{ outline: 0; }
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | 'GitHub',
5 | 'company_url' => 'http://github.com',
6 | 'email_domain' => 'gitub.com', // Do not prepend with http://
7 | 'logo_url' => 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/github_logo.png', // Must be an absolute path
8 | 'colors' => array(
9 | 'primary' => '#020202', // Name, emal address, phone and address
10 | 'secondary' => '#bd5f35', // Title/position
11 | 'tertiary' => '#b4b4b4' // Horizontal border
12 | ),
13 | 'social_urls' => array(
14 | 'facebook' => array(
15 | 'https://www.facebook.com/github', // Hide by setting this to an empty string
16 | 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/facebook.png' // Must be an absolute path
17 | ),
18 | 'twitter' => array(
19 | 'https://twitter.com/github', // Hide by setting this to an empty string
20 | 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/twitter.png' // Must be an absolute path
21 | ),
22 | 'instagram' => array(
23 | 'http://instagram.com/github', // Hide by setting this to an empty string
24 | 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/instagram.png' // Must be an absolute path
25 | ),
26 | 'vimeo' => array(
27 | 'https://vimeo.com/github', // Hide by setting this to an empty string
28 | 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/vimeo.png' // Must be an absolute path
29 | ),
30 | 'linkedin' => array(
31 | 'http://www.linkedin.com/company/github', // Hide by setting this to an empty string
32 | 'https://raw.githubusercontent.com/ltzngr/Email_Signature_Generator/master/images/linkedin.png' // Must be an absolute path
33 | )
34 | ),
35 | 'address_list' => array(
36 | array( 'United States', '88 Colin P Kelly Jr St, San Francisco, CA 94107, USA' ),
37 | array( 'Australia', 'Homemaker City, Castlereagh Street, Sydney NSW 2000, Australia' ),
38 | array( 'Japan', '1-10-5 Akasaka, Minato, Tokyo 107-0052, Japan' ),
39 | array( 'United Kingdom', '24 Grosvenor Square, London W1A 2LQ, United Kingdom' )
40 | ),
41 | 'hide_address_field' => false,
42 | 'sample_data' => array(
43 | 'full_name' => 'Matt Litzinger',
44 | 'position' => 'Front-End Web Developer',
45 | 'email_address' => 'matt.litzinger@github.com',
46 | 'phone_number' => '(000) 000-0000'
47 | )
48 | );
49 | ?>
50 |
51 |
63 |
64 |
65 |
66 |
67 | |
68 |
69 |
70 | |
71 |
72 |
73 |
74 |
75 |
76 |
77 | |
78 |
79 |
80 | |
81 |
82 | '.$email_address.'@'. $options['email_domain'] .'';
85 | echo $print;
86 | }
87 | ?>
88 |
89 |
90 |
99 |
100 |
101 |
102 |
107 |
108 |
109 | |
110 |
111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
123 |
124 |
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
136 |
137 |
138 | |
139 |
140 |
141 |
142 |
143 |
144 |
145 |
146 |
147 |
148 | Email Signature Generator
149 |
150 |
151 |
152 |
153 |
156 |
157 |
158 |
303 |
304 |
305 |
306 |
307 |
436 |