Skip to content

Commit 5e4fcd6

Browse files
committed
Initial commit
0 parents  commit 5e4fcd6

19 files changed

Lines changed: 994 additions & 0 deletions

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 Joey Kimsey
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

html/devtools.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<html>
2+
<head>
3+
<script src="../js/devtools.js"></script>
4+
</head>
5+
</html>

html/options.html

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head lang="en">
4+
<meta charset="UTF-8">
5+
<title>Tempus Tools Options</title>
6+
<style>
7+
body {
8+
font-family: tahoma, verdana, arial, sans-serif;
9+
color: #444;
10+
background: #ccc;
11+
font-size: 75%;
12+
}
13+
input, textarea {
14+
border: 3px solid #ccc;
15+
}
16+
textarea {
17+
width: 100%
18+
}
19+
label {
20+
font-weight: bold;
21+
}
22+
button {
23+
cursor: pointer;
24+
color: #444;
25+
}
26+
hr {
27+
border-style: solid;
28+
color: #ffcece;
29+
margin: 10px auto;
30+
}
31+
dd {
32+
margin: 5px 0;
33+
}
34+
button:hover {
35+
color: #000;
36+
}
37+
.success {
38+
background: #7f7;
39+
border-color: #5f5;
40+
-webkit-transition: opacity 4s ease-in;
41+
opacity: 0;
42+
}
43+
.failure {
44+
background: #f77;
45+
border-color: #f55;
46+
}
47+
.help {
48+
font-style: italic;
49+
color: #999;
50+
}
51+
#container {
52+
width: 600px;
53+
margin: auto;
54+
border: 1px solid #aaa;
55+
padding: 20px;
56+
background: #f4f4f4;
57+
}
58+
#container h1 {
59+
margin-top: 0px;
60+
display: inline-block;
61+
}
62+
#logo {
63+
height: 64px;
64+
vertical-align: bottom;
65+
margin-right: 20px;
66+
}
67+
#savemessage {
68+
display: inline-block;
69+
margin-left: 14px;
70+
padding: 3px;
71+
}
72+
</style>
73+
</head>
74+
<body>
75+
<div id="container">
76+
<img src="../images/icon_128.png" alt="logo" id="logo"><h1>TempusTools Options</h1>
77+
<p>The following options control how this extension will function. If you would like a more detailed explanation of these controls, please visit <a href="http://thetempusproject.com/tempustools">The Tempus Project</a> for more information.</p>
78+
<p>Please remember to <strong>save</strong> you changes once you are done.</p>
79+
<hr>
80+
<dl>
81+
<dt><label for="blacklist">URLs to disable TempusTools on:</label></dt>
82+
<dd><textarea id="blacklist"></textarea></dd>
83+
<dd><span class="help">Please comma separate the list. For reference on patterns, see <a href="https://developer.chrome.com/extensions/match_patterns" target="_blank">URL Pattern Matches</a>.</span></dd>
84+
</dl>
85+
<dl>
86+
<dt><label for="max_combined_size">Maximum combined header size (in bytes):</label></dt>
87+
<dd><input type="text" value="" id="max_combined_size" /></dd>
88+
<dd><span class="help">Chrome has a high-level of 256kb for header size.</span></dd>
89+
<dd>See <a href="https://github.com/TheTempusProject//issues/10" target="_blank">Github issues for TempusTools</a>.</dd>
90+
</dl>
91+
<div>
92+
<button id="submit">Save</button><span id="savemessage"></span>
93+
</div>
94+
</div>
95+
<script src="../js/options.js"></script>
96+
</body>
97+
</html>

html/popup.html

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
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+
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
5+
<title>Tempus Tools</title>
6+
<link rel="stylesheet" type="text/css" href="">
7+
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
8+
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
9+
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
10+
<style type="text/css">
11+
body {
12+
margin: 0;
13+
padding: 0;
14+
min-width: 100%!important;
15+
}
16+
.content {
17+
width: 100%;
18+
max-width: 600px;
19+
}
20+
.header {
21+
padding: 40px 30px 20px 30px;
22+
}
23+
.subhead {
24+
font-size: 15px;
25+
color: rgb(255, 255, 255);
26+
font-family: sans-serif;
27+
letter-spacing: 10px;
28+
}
29+
.h1 {
30+
font-size: 33px;
31+
line-height: 38px;
32+
font-weight: bold;
33+
}
34+
.h1, .h2, .bodycopy {
35+
color: rgb(21, 54, 67);
36+
font-family: sans-serif;
37+
}
38+
.innerpadding {
39+
padding: 30px 30px 30px 30px;
40+
}
41+
.borderbottom {
42+
border-bottom: 1px solid rgb(242, 238, 237);
43+
}
44+
.h2 {
45+
padding: 0 0 15px 0;
46+
font-size: 24px;
47+
line-height: 28px;
48+
font-weight: bold;
49+
}
50+
.bodycopy {
51+
font-size: 16px;
52+
line-height: 22px;
53+
}
54+
.button {
55+
text-align: center;
56+
font-size: 18px;
57+
font-family: sans-serif;
58+
font-weight: bold;
59+
padding: 0 30px 0 30px;
60+
}
61+
.button a {
62+
color: rgb(255, 255, 255);
63+
text-decoration: none;
64+
}
65+
img {
66+
height: auto;
67+
}
68+
.footer {
69+
padding: 20px 30px 15px 30px;
70+
}
71+
.footercopy {
72+
font-family: sans-serif;
73+
font-size: 14px;
74+
color: rgb(255, 255, 255);
75+
}
76+
.footercopy a {
77+
color: rgb(255, 255, 255);
78+
text-decoration: underline;
79+
}
80+
@media only screen and (max-width: 550px), screen and (max-device-width: 550px) {
81+
.buttonwrapper {
82+
background-color: transparent!important;
83+
}
84+
.button a {
85+
background-color: #e05443;
86+
padding: 15px 15px 13px!important;
87+
display: block!important;
88+
}
89+
.hide {
90+
display: none!important;
91+
}
92+
.unsubscribe {
93+
display: block; margin-top: 20px;
94+
padding: 10px 50px;
95+
background: #2f3942;
96+
border-radius: 5px;
97+
text-decoration: none!important;
98+
font-weight: bold;
99+
}
100+
}
101+
@media only screen and (min-device-width: 601px) {
102+
.content {
103+
width: 600px !important;
104+
}
105+
.col425 {
106+
width: 425px!important;
107+
}
108+
.col380 {
109+
width: 380px!important;
110+
}
111+
}
112+
</style>
113+
</head>
114+
<body bgcolor="#f6f8f1" style="margin: 0;padding: 0;min-width: 100%!important;">
115+
<!--[if (gte mso 9)|(IE)]>
116+
<table width="600" align="center" cellpadding="0" cellspacing="0" border="0">
117+
<tr>
118+
<td>
119+
<![endif]-->
120+
<table class="content" align="center" cellpadding="0" cellspacing="0" border="0" style="width: 100%; max-width: 400px;">
121+
<!-- Mail Header -->
122+
<tr>
123+
<td class="header" bgcolor="#b5e6ff" style="padding: 5px 5px 5px 5px;">
124+
<table align="center" border="0" cellpadding="0" cellspacing="0">
125+
<tr>
126+
<td>
127+
<img src="../images/icon_128.png" alt="TheTempusProject Logo" style="height: auto;">
128+
</td>
129+
</tr>
130+
</table>
131+
<!--[if (gte mso 9)|(IE)]>
132+
<table width="425" align="left" cellpadding="0" cellspacing="0" border="0">
133+
<tr>
134+
<td>
135+
<![endif]-->
136+
<!--[if (gte mso 9)|(IE)]>
137+
</td>
138+
</tr>
139+
</table>
140+
<![endif]-->
141+
</td>
142+
</tr>
143+
<!-- Mail Body -->
144+
<tr>
145+
<td class="innerpadding borderbottom" bgcolor="#f9fdff" style="padding: 30px 30px 30px 30px; border-bottom: 1px solid rgb(242, 238, 237);">
146+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
147+
<tr>
148+
<td class="h2" style="color: rgb(21, 54, 67); font-family: sans-serif; padding: 0 0 15px 0;font-size: 24px; line-height: 28px;font-weight: bold;">
149+
Tempus Tools
150+
</td>
151+
</tr>
152+
<tr>
153+
<td class="bodycopy" style="color: rgb(21, 54, 67); font-family: sans-serif; font-size: 16px; line-height: 22px;">
154+
Thanks for downloading the extension.
155+
</td>
156+
</tr>
157+
</table>
158+
</td>
159+
</tr>
160+
<!-- Mail Footer -->
161+
<tr>
162+
<td class="footer" bgcolor="#44525f" style="padding: 20px 30px 15px 30px;">
163+
<table width="100%" border="0" cellspacing="0" cellpadding="0">
164+
<tr>
165+
<td align="center" class="footercopy" style="font-family: sans-serif; font-size: 14px; color: rgb(255, 255, 255);">
166+
Powered by TheTempusProject<br>
167+
</td>
168+
</tr>
169+
<tr>
170+
<td align="center" style="padding: 20px 0 0 0;">
171+
<table border="0" cellspacing="0" cellpadding="0">
172+
<tr>
173+
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
174+
<a href="http://thetempusproject.com/fb">
175+
<img src="../images/facebook.png" width="37" height="37" alt="Facebook" border="0" style="height: auto;">
176+
</a>
177+
</td>
178+
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
179+
<a href="http://thetempusproject.com/github">
180+
<img src="../images/github.png" width="37" height="37" alt="github" border="0" style="height: auto;">
181+
</a>
182+
</td>
183+
<td width="37" style="text-align: center; padding: 0 10px 0 10px;">
184+
<a href="http://thetempusproject.com/twitter">
185+
<img src="../images/twitter.png" width="37" height="37" alt="Twitter" border="0" style="height: auto;">
186+
</a>
187+
</td>
188+
</tr>
189+
</table>
190+
</td>
191+
</tr>
192+
</table>
193+
</td>
194+
</tr>
195+
</table>
196+
<!--[if (gte mso 9)|(IE)]>
197+
</td>
198+
</tr>
199+
</table>
200+
<![endif]-->
201+
</body>
202+
</html>

images/300.png

9.86 KB
Loading

images/facebook.png

1.19 KB
Loading

images/github.png

1.55 KB
Loading

images/icon.png

3.58 KB
Loading

images/icon_128.png

9.76 KB
Loading

0 commit comments

Comments
 (0)