Skip to content

Commit eff0c70

Browse files
committed
Site-wide Google translate and shared navbar
1 parent bcd05a5 commit eff0c70

File tree

5 files changed

+401
-525
lines changed

5 files changed

+401
-525
lines changed

dualserver/index.html

Lines changed: 87 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2-
<html><head>
3-
2+
<html lang="en-US"><head>
43

4+
55
<script>
66
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
77
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
88
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
99
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
10-
1110
ga('create', 'UA-105635937-1', 'auto');
1211
ga('send', 'pageview');
13-
14-
</script>
12+
</script>
13+
1514
<script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
15+
1616
<script>
1717
(adsbygoogle = window.adsbygoogle || []).push({
1818
google_ad_client: "ca-pub-2595301100912303",
1919
enable_page_level_ads: true
2020
});
2121
</script>
22+
23+
<link rel="import" href="https://scripttiger.github.io/navbar.html">
24+
25+
2226
<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type"><title>DualServer Blacklists &amp; Extras - ScriptTiger</title></head><body style="background-color: rgb(255, 204, 102); color: rgb(0, 0, 0);" alink="#ee0000" link="#0000ee" vlink="#551a8b">
2327
<table style="text-align: left; width: 100%; height: 100%; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0">
2428

@@ -28,93 +32,36 @@
2832
<table style="text-align: left; width: 100%; height: 100%; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0">
2933
<tbody>
3034
<tr>
31-
<td style="vertical-align: top; height: 100px; width: 10%;">
35+
<td>
3236
<br>
3337
</td>
3438
<td style="vertical-align: top; height: 100px; width: 80%;">
39+
3540
<br>
3641
</td>
3742
<td style="vertical-align: top; height: 100px; width: 10%;">
43+
3844
<br>
3945
</td>
4046
</tr>
4147
<tr>
42-
<td style="vertical-align: top; width: 10%;">
48+
<td style="vertical-align: top; width: 10%;">
4349
<br>
4450
</td>
4551
<td style="vertical-align: top; width: 80%;">
46-
<table style="text-align: left; width: 100%; margin-left: auto; margin-right: auto; background-color: rgb(255, 255, 102);" border="1" cellpadding="2" cellspacing="2">
47-
<tbody>
48-
<tr>
49-
<th style="vertical-align: top; width: 100%; text-align: center; background-color: white;">Site
50-
Map
51-
</th>
52-
</tr>
53-
<tr>
54-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://scripttiger.github.io/">Mission Statement</a></td>
55-
56-
</tr>
57-
<tr>
58-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://scripttiger.github.io/hosts-packages">Hosts Packages</a></td>
59-
</tr>
60-
<tr>
61-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://scripttiger.github.io/dualserver">DualServer Blacklists
62-
&amp; Extras</a></td>
63-
</tr><tr>
52+
<div id="container"></div>
53+
<script>
54+
var link = document.querySelector('link[rel="import"]');
6455

65-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://scripttiger.github.io/macs">Mac Address Goodies</a>
66-
</td>
67-
</tr>
68-
69-
</tbody>
70-
</table>
71-
<br>
72-
<table style="text-align: left; width: 100%; background-color: rgb(255, 255, 102); margin-left: auto; margin-right: auto;" border="1" cellpadding="2" cellspacing="2">
73-
<tbody>
74-
75-
<tr>
76-
<th style="vertical-align: top; width: 100%; text-align: center; background-color: white;">Resources
77-
</th>
78-
</tr>
79-
<tr>
80-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://github.com/scripttiger">GitHub Projects</a></td>
81-
</tr>
82-
<tr>
83-
84-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://www.youtube.com/channel/UCSU1hjut9YCy4eHrtCluvpw">YouTube
85-
Tutorials</a></td>
86-
</tr>
87-
<tr>
88-
<td style="vertical-align: top; width: 100%; background-color: white;"><a href="https://www.patreon.com/ScriptTiger">Patreon Supporters
89-
</a></td>
90-
</tr>
91-
</tbody>
92-
</table>
93-
94-
<br>
95-
<table style="text-align: left; width: 100%; background-color: rgb(255, 255, 102); margin-left: auto; margin-right: auto;" border="1" cellpadding="2" cellspacing="2">
96-
<tbody>
97-
<tr>
98-
<th style="vertical-align: top; height: 100%; width: 100%; text-align: center; background-color: white;"><a href="https://docs.google.com/forms/d/e/1FAIpQLSfBEe5B_zo69OBk19l3hzvBmz3cOV6ol1ufjh0ER1q3-xd2Rg/viewform">Contact
99-
ScriptTiger</a></th>
100-
</tr>
101-
</tbody>
102-
</table>
56+
// Clone the <template> in the import.
57+
var template = link.import.querySelector('template');
58+
var clone = document.importNode(template.content, true);
10359

60+
document.querySelector('#container').appendChild(clone);
61+
</script>
10462

105-
</td>
106-
<td style="vertical-align: top; width: 10%;">
107-
<br>
108-
</td>
109-
</tr>
110-
<tr>
111-
<td style="vertical-align: top; width: 10%;">
112-
<br>
113-
</td>
114-
<td style="vertical-align: top; width: 80%;">
115-
<br>
116-
</td>
117-
<td style="vertical-align: top; width: 10%;">
63+
<br></td>
64+
<td style="vertical-align: top; width: 10%;">
11865
<br>
11966
</td>
12067
</tr>
@@ -127,11 +74,13 @@
12774
<tr>
12875
<td style="vertical-align: top; width: 100%; background-color: white;"><br>
12976
<h1 style="text-align: center; margin-top: 10px;">DualServer
130-
Blacklists &amp; Extras
131-
</h1>Below are blacklists and other helpful links and tools for <a href="https://sourceforge.net/projects/dhcp-dns-server/">DualServer</a>, the highly configurable and scalable Windows/Linux DNS/DHCP
77+
Blacklists &amp; Extras </h1>
78+
Below are blacklists and other helpful links and tools for <a href="https://sourceforge.net/projects/dhcp-dns-server/">DualServer</a>,
79+
the highly configurable and scalable Windows/Linux DNS/DHCP
13280
server.<br>
13381
<br>
134-
The blacklists are reformatted versions of <a href="https://github.com/StevenBlack/hosts">Steven Black unified hosts files</a> and are synced regularly.<br>
82+
The blacklists are reformatted versions of <a href="https://github.com/StevenBlack/hosts">Steven Black unified hosts
83+
files</a> and are synced regularly.<br>
13584
<br>
13685
Combining Steven Black's Unified Hosts with DualServer allows anyone
13786
from small home networks hosting DualServer on a regular old PC to a
@@ -145,7 +94,8 @@ <h1 style="text-align: center; margin-top: 10px;">DualServer
14594
<br>
14695
If you'd like a way to more quickly and easily update your DualServer's
14796
blacklist to the most recent versions of Steven Black's unified hosts
148-
files, try the <a href="https://github.com/ScriptTiger/DualServer/archive/master.zip">ScriptTiger unified hosts updater</a>.<br>
97+
files, try the <a href="https://github.com/ScriptTiger/DualServer/archive/master.zip">ScriptTiger
98+
unified hosts updater</a>.<br>
14999
<br>
150100
While the blacklists will work for anyone running DualServer, the
151101
Updater is only for Windows users. If you download the above ZIP file
@@ -188,18 +138,15 @@ <h1 style="text-align: center; margin-top: 10px;">DualServer
188138
<tbody>
189139
<tr>
190140
<th style="vertical-align: top; font-weight: bold; width: 50%; background-color: white;">Hosts
191-
File Type
192-
</th>
141+
File Type </th>
193142
<th style="vertical-align: top; font-weight: bold; width: 50%; background-color: white;">
194-
<div style="text-align: center;">Download
195-
</div>
143+
<div style="text-align: center;">Download </div>
196144
</th>
197145
</tr>
198146
<tr>
199147
<td style="vertical-align: top; background-color: white;">Unified hosts
200148
=&nbsp;(adware + malware) </td>
201-
<td style="vertical-align: top; text-align: center; background-color: white;"><a href="https://scripttiger.github.io/dualserver/blacklist.txt">Raw</a>
202-
</td>
149+
<td style="vertical-align: top; text-align: center; background-color: white;"><a href="https://scripttiger.github.io/dualserver/blacklist.txt">Raw</a> </td>
203150
</tr>
204151
<tr>
205152
<td style="vertical-align: top; background-color: white;">Unified
@@ -309,18 +256,24 @@ <h1 style="text-align: center; margin-top: 10px;">DualServer
309256
<br>
310257
Other helpful Links:<br>
311258
<br>
312-
<a href="http://127.0.0.1:6789/">Default URL for your local DualServer</a><br>
259+
<a href="http://127.0.0.1:6789/">Default URL for your local
260+
DualServer</a><br>
313261
<br>
314-
<a href="https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml">Official reference of DHCP options</a><br>
262+
<a href="https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml">Official
263+
reference of DHCP options</a><br>
315264
<br>
316-
<a href="https://scripttiger.github.io/dualserver/DualServerManual.pdf">Official DualServer manual PDF</a><br>
265+
<a href="https://scripttiger.github.io/dualserver/DualServerManual.pdf">Official
266+
DualServer manual PDF</a><br>
317267
<br>
318-
<a href="https://scripttiger.github.io/dualserver/Template.ini">Official DualServer configuration INI template</a><br>
268+
<a href="https://scripttiger.github.io/dualserver/Template.ini">Official
269+
DualServer configuration INI template</a><br>
319270
<br>
320-
<a href="https://scripttiger.github.io/dualserver/Bare.ini">Bare DualServer configuration INI with only section headers</a><br>
321-
<br>
322-
Have questions or comments about the content on this page? ScriptTiger would love to hear them! Open a new issue in <a href="https://github.com/ScriptTiger/DualServer/issues">ScriptTiger's GitHub DualServer repository</a> to have your voice heard!
323-
</td>
271+
<a href="https://scripttiger.github.io/dualserver/Bare.ini">Bare
272+
DualServer configuration INI with only section headers</a><br>
273+
<br>
274+
Have questions or comments about the content on this page? ScriptTiger
275+
would love to hear them! Open a new issue in <a href="https://github.com/ScriptTiger/DualServer/issues">ScriptTiger's
276+
GitHub DualServer repository</a> to have your voice heard! </td>
324277
</tr>
325278
</tbody>
326279
</table>
@@ -329,20 +282,49 @@ <h1 style="text-align: center; margin-top: 10px;">DualServer
329282
| Powered by <a href="https://github.com/ScriptTiger/scripttiger.github.io/">GitHub</a></small></div>
330283
</td>
331284
<td style="vertical-align: top; height: 100%; width: 15%;">
332-
<script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
333-
<!-- ScriptTiger -->
334-
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-2595301100912303" data-ad-slot="1963377380" data-ad-format="auto"></ins>
335-
<script>
336-
(adsbygoogle = window.adsbygoogle || []).push({});
337-
</script>
338-
285+
<table style="text-align: left; width: 100%; height: 100%; margin-left: auto; margin-right: auto;" border="0" cellpadding="0" cellspacing="0">
286+
<tbody>
287+
<tr>
288+
<td style="vertical-align: top; height: 100px; width: 10%;">
289+
290+
<br>
339291
</td>
292+
<td style="vertical-align: middle; height: 100px; width: 80%; text-align: center;">
293+
<script type="text/javascript">
294+
function googleTranslateElementInit() {
295+
new google.translate.TranslateElement({pageLanguage: 'en', layout: google.translate.TranslateElement.InlineLayout.SIMPLE}, 'google_translate_element');
296+
}
297+
</script>
298+
<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
299+
300+
<br>
301+
</td>
302+
<td style="vertical-align: top; height: 100px; width: 10%;">
303+
304+
<br>
305+
</td>
306+
</tr>
307+
<tr>
308+
<td style="vertical-align: top; width: 10%;">
309+
<br>
310+
</td>
311+
<td style="vertical-align: top; width: 80%;">
312+
<script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><!-- ScriptTiger -->
313+
<ins class="adsbygoogle" style="display: block;" data-ad-client="ca-pub-2595301100912303" data-ad-slot="1963377380" data-ad-format="auto"></ins>
314+
<script>
315+
(adsbygoogle = window.adsbygoogle || []).push({});
316+
</script>
317+
318+
</td>
319+
<td style="vertical-align: top; width: 10%;">
320+
<br>
321+
</td>
322+
</tr>
323+
</tbody>
324+
</table>
325+
</td>
340326
</tr>
341327
</tbody>
342328
</table>
343329

344-
345-
346-
347-
348330
</body></html>

0 commit comments

Comments
 (0)