-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
53892ec
commit f9356f0
Showing
11 changed files
with
170 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.alert { | ||
--mm-color-primary-text: #444; | ||
--mm-spacing: 20px; | ||
background: linear-gradient(#fff, var(--mm-color-sidebar)); | ||
border-bottom: 1px solid #eee; | ||
border-left: 1px solid #eee; | ||
border-color: #f5f5f5 #eee #ddd #7eadda; | ||
border-radius: 0 var(--mm-border-radius) var(--mm-border-radius) 0; | ||
border-top: 1px solid #eee; | ||
border-style: solid; | ||
border-width: 1px 1px 1px 6px; | ||
box-shadow: 0 1px 3px #0000001a; | ||
color: var(--mm-color-primary-text); | ||
margin: var(--mm-spacing) 0; | ||
padding: calc(var(--mm-spacing) / 2) var(--mm-spacing); | ||
position: relative; | ||
} | ||
|
||
.alert--warning { | ||
border-left-color: #e89f29; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.mm-ips { | ||
background-color: var(--mm-color-background-code); | ||
border-radius: var(--mm-border-radius); | ||
padding: 1rem; | ||
|
||
span { | ||
color: #ddd; | ||
display: block; | ||
font-family: monospace; | ||
font-size: 0.9rem; | ||
} | ||
} | ||
|
||
.mm-ips__last-updated { | ||
font-style: italic; | ||
margin-top: 0.5rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<rss | ||
xmlns:dc="http://purl.org/dc/elements/1.1/" | ||
xmlns:content="http://purl.org/rss/1.0/modules/content/" | ||
xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"> | ||
<channel> | ||
<title> | ||
{{ .Page.Title }} | ||
</title> | ||
<description> | ||
Feed of MaxMind server addresses. | ||
</description> | ||
<link>https://dev.maxmind.com</link> | ||
<lastBuildDate>{{ index $.Site.Data.mm_ips "lastUpdated" }}</lastBuildDate> | ||
<item> | ||
<title> | ||
{{ .Page.Title }} | ||
</title> | ||
<link>https://dev.maxmind.com/maxmind-server-ip-addresses</link> | ||
<pubDate>{{ index $.Site.Data.mm_ips "lastUpdated" }}</pubDate> | ||
<content:encoded> | ||
{{ range index $.Site.Data.mm_ips "IPv4"}} | ||
{{ . }}<br /> | ||
{{ end }} | ||
{{ range index $.Site.Data.mm_ips "IPv6"}} | ||
{{ . }}<br /> | ||
{{ end }} | ||
</content:encoded> | ||
</item> | ||
</channel> | ||
</rss> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<div class="mm-ips"> | ||
{{ range index $.Site.Data.mm_ips "IPv4"}} | ||
<span>{{ . }}</span> | ||
{{ end }} | ||
{{ range index $.Site.Data.mm_ips "IPv6"}} | ||
<span>{{ . }}</span> | ||
{{ end }} | ||
</div> | ||
|
||
<p class="mm-ips__last-updated">Last updated: {{ index $.Site.Data.mm_ips "lastUpdated" | time.Format "January 02, 2006 3:04 PM Z07:00" }}</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div class="alert alert--warning"> | ||
{{ .Inner | .Page.RenderString }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/maxmind-server-ip-addresses.xml /maxmind-server-ip-addresses/index.xml 302 |