mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2025-09-06 05:04:29 +08:00
Website fixes (Part 1) (#223)
* Fixed base template - Made responsive for small screens - Added DOCTYPE - Added meta charset * Added page titles * Beautified CSS
This commit is contained in:
parent
2cfd67e4fa
commit
a202b8ae53
27 changed files with 141 additions and 103 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
|
@ -12,7 +13,10 @@
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<link rel="stylesheet" href="{{site.github.url}}/css/site.css">
|
<link rel="stylesheet" href="{{site.github.url}}/css/site.css">
|
||||||
<link rel="stylesheet" href="{{site.github.url}}/css/syntax.css">
|
<link rel="stylesheet" href="{{site.github.url}}/css/syntax.css">
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||||
|
<title>{{ page.title }}</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -36,18 +40,18 @@
|
||||||
<li><a href="{{site.github.url}}/provider-list">Providers</a></li>
|
<li><a href="{{site.github.url}}/provider-list">Providers</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="https://github.com/StackExchange/dnscontrol" style="padding:10px 12px"><span class="fa fa-github fa-2x" aria-hidden="true"></span></a>
|
<a href="https://github.com/StackExchange/dnscontrol" style="padding:10px 12px"><span class="fa fa-github fa-2x" aria-hidden="true"></span></a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
{{ content}}
|
{{ content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% comment %} This script makes the examples collapse appropriately {% endcomment %}
|
{% comment %} This script makes the examples collapse appropriately {% endcomment %}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$('.example-collapse').click(function (e) {
|
$('.example-collapse').click(function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
$(this).parent().next().collapse('toggle');
|
$(this).parent().next().collapse('toggle');
|
||||||
|
@ -56,7 +60,7 @@
|
||||||
$(function () {
|
$(function () {
|
||||||
$('[data-toggle="tooltip"]').tooltip()
|
$('[data-toggle="tooltip"]').tooltip()
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
|
@ -2,6 +2,7 @@
|
||||||
name: ActiveDirectory_PS
|
name: ActiveDirectory_PS
|
||||||
layout: default
|
layout: default
|
||||||
jsId: ACTIVEDIRECTORY_PS
|
jsId: ACTIVEDIRECTORY_PS
|
||||||
|
title: ActiveDirectory_PS Provider
|
||||||
---
|
---
|
||||||
# ActiveDirectory_PS Provider
|
# ActiveDirectory_PS Provider
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
---
|
---
|
||||||
name: Bind
|
name: BIND
|
||||||
|
title: BIND Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: BIND
|
jsId: BIND
|
||||||
---
|
---
|
||||||
# Bind Provider
|
# BIND Provider
|
||||||
|
|
||||||
This provider simply maintains a directory with a collection of .zone files. We currently copy zone files to our production servers and restart bind via
|
This provider simply maintains a directory with a collection of .zone files. We currently copy zone files to our production servers and restart bind via
|
||||||
a script external to DNSControl.
|
a script external to DNSControl.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
name: Cloudflare
|
name: Cloudflare
|
||||||
|
title: Cloudflare Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: CLOUDFLAREAPI
|
jsId: CLOUDFLAREAPI
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
---
|
---
|
||||||
name: Digitalocean
|
name: DigitalOcean
|
||||||
|
title: DigitalOcean Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: DIGITALOCEAN
|
jsId: DIGITALOCEAN
|
||||||
---
|
---
|
||||||
# Digitalocean Provider
|
# DigitalOcean Provider
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
---
|
---
|
||||||
name: Dnsimple
|
name: DNSimple
|
||||||
|
title: DNSimple Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: DNSIMPLE
|
jsId: DNSIMPLE
|
||||||
---
|
---
|
||||||
# Dnsimple Provider
|
# DNSimple Provider
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
In your providers config json file you must provide a DNSimple account access token:
|
In your providers config json file you must provide a DNSimple account access token:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
name: Gandi
|
name: Gandi
|
||||||
|
title: Gandi Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: GANDI
|
jsId: GANDI
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
name: "Google cloud DNS"
|
name: Google Cloud DNS
|
||||||
|
title: Google Cloud DNS Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: GCLOUD
|
jsId: GCLOUD
|
||||||
---
|
---
|
||||||
|
|
||||||
# Google cloud DNS Provider
|
# Google Cloud DNS Provider
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
name: "Name.com"
|
name: Name.com
|
||||||
|
title: Name.com Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: NAMEDOTCOM
|
jsId: NAMEDOTCOM
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
name: "Namecheap"
|
name: Namecheap Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: NAMECHEAP
|
jsId: NAMECHEAP
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
name: NS1
|
name: NS1
|
||||||
|
title: NS1 Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: NS1
|
jsId: NS1
|
||||||
---
|
---
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
name: "SoftLayer DNS"
|
name: SoftLayer DNS
|
||||||
|
title: SoftLayer DNS Provider
|
||||||
layout: default
|
layout: default
|
||||||
jsId: SOFTLAYER
|
jsId: SOFTLAYER
|
||||||
---
|
---
|
||||||
|
@ -8,7 +9,7 @@ jsId: SOFTLAYER
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
To authenticate with softlayer requires at least a `username` and `api_key` for authentication.
|
To authenticate with SoftLayer requires at least a `username` and `api_key` for authentication.
|
||||||
It can also optionally take a `timeout` and `endpoint_url` parameter however these are optional and will use standard defaults if not provided.
|
It can also optionally take a `timeout` and `endpoint_url` parameter however these are optional and will use standard defaults if not provided.
|
||||||
These can be supplied via the standard 'creds.json' like so:
|
These can be supplied via the standard 'creds.json' like so:
|
||||||
{% highlight json %}
|
{% highlight json %}
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Creating new DNS Resource Types (rtypes)
|
||||||
---
|
---
|
||||||
|
|
||||||
# Creating new DNS Resource Types (Rtypes)
|
# Creating new DNS Resource Types (rtypes)
|
||||||
|
|
||||||
Everyone is familiar with A, AAAA, CNAME, NS and other Rtypes.
|
Everyone is familiar with A, AAAA, CNAME, NS and other Rtypes.
|
||||||
However there are new record types being added all the time (possibly
|
However there are new record types being added all the time (possibly
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: ALIAS Records
|
||||||
---
|
---
|
||||||
|
|
||||||
# ALIAS records
|
# ALIAS Records
|
||||||
|
|
||||||
ALIAS records are not widely standardized across DNS providers. Some (Route 53, DNSimple) have a native ALIAS record type. Others (Cloudflare) implement transparent CNAME flattening.
|
ALIAS records are not widely standardized across DNS providers. Some (Route 53, DNSimple) have a native ALIAS record type. Others (Cloudflare) implement transparent CNAME flattening.
|
||||||
|
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
.expanded > .expand-arrow {
|
.expanded>.expand-arrow {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.expanded > .collapse-arrow {
|
.expanded>.collapse-arrow {
|
||||||
display: inherit;
|
display: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.collapse-arrow {
|
.collapse-arrow {
|
||||||
display:none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
|
@ -16,61 +16,68 @@ body {
|
||||||
|
|
||||||
.table-header-rotated {
|
.table-header-rotated {
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated td {
|
.table-header-rotated td {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated th {
|
.table-header-rotated th {
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated td {
|
.table-header-rotated td {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
padding: 10px 5px;
|
padding: 10px 5px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated th.rotate {
|
.table-header-rotated th.rotate {
|
||||||
height: 140px;
|
height: 140px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated th.rotate>div {
|
.table-header-rotated th.rotate>div {
|
||||||
-webkit-transform: translate(25px, 51px) rotate(315deg);
|
-webkit-transform: translate(25px, 51px) rotate(315deg);
|
||||||
-ms-transform: translate(25px, 51px) rotate(315deg);
|
-ms-transform: translate(25px, 51px) rotate(315deg);
|
||||||
transform: translate(25px, 51px) rotate(315deg);
|
transform: translate(25px, 51px) rotate(315deg);
|
||||||
width: 30px;
|
width: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated th.rotate>div>span {
|
.table-header-rotated th.rotate>div>span {
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
padding: 5px 10px;
|
padding: 5px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.table-header-rotated th.row-header {
|
.table-header-rotated th.row-header {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
}
|
}
|
||||||
.success {
|
|
||||||
|
.success {
|
||||||
background-color: #dff0d8;
|
background-color: #dff0d8;
|
||||||
}
|
}
|
||||||
.warning {
|
|
||||||
|
.warning {
|
||||||
background-color: #faf2cc;
|
background-color: #faf2cc;
|
||||||
}
|
}
|
||||||
.danger {
|
|
||||||
|
.danger {
|
||||||
background-color: #f2dede;
|
background-color: #f2dede;
|
||||||
}
|
}
|
||||||
.info {
|
|
||||||
|
.info {
|
||||||
background-color: #d9edf7;
|
background-color: #d9edf7;
|
||||||
}
|
}
|
||||||
.fa {
|
|
||||||
|
.fa {
|
||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
}
|
}
|
||||||
.has-tooltip:before{
|
|
||||||
|
.has-tooltip:before {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
.dim {
|
|
||||||
|
.dim {
|
||||||
color: #eeeeee
|
color: #eeeeee
|
||||||
}
|
}
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Examples
|
||||||
---
|
---
|
||||||
|
|
||||||
# Examples
|
# Examples
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Getting Started
|
||||||
---
|
---
|
||||||
# Getting Started
|
# Getting Started
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: DnsControl
|
||||||
---
|
---
|
||||||
|
|
||||||
<div class="row jumbotron">
|
<div class="row jumbotron">
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: JavaScript DSL
|
||||||
---
|
---
|
||||||
|
|
||||||
# Javascript DSL
|
# Javascript DSL
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Migrating zones to DNSControl
|
||||||
---
|
---
|
||||||
|
|
||||||
# Migrating zones to DNSControl
|
# Migrating zones to DNSControl
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Namservers
|
||||||
---
|
---
|
||||||
|
|
||||||
# Nameservers in DNSControl
|
# Nameservers
|
||||||
|
|
||||||
DNSControl can handle a variety of provider scenarios for you:
|
DNSControl can handle a variety of provider scenarios for you:
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Service Providers
|
||||||
---
|
---
|
||||||
<h1> Service providers </h1>
|
<h1> Service Providers </h1>
|
||||||
|
|
||||||
<table class='table table-bordered'>
|
<table class='table table-bordered'>
|
||||||
<thead>
|
<thead>
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
---
|
||||||
|
layout: default
|
||||||
|
title: How to build and ship a release
|
||||||
|
---
|
||||||
|
|
||||||
# How to build and ship a release
|
# How to build and ship a release
|
||||||
|
|
||||||
Here are my notes from producing the v0.2.2 release. Change the version number as appropriate.
|
Here are my notes from producing the v0.2.2 release. Change the version number as appropriate.
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: TOC
|
||||||
---
|
---
|
||||||
|
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Unit Testing DNS Data
|
||||||
---
|
---
|
||||||
|
|
||||||
# Unit Testing DNS Data
|
# Unit Testing DNS Data
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Why CNAME/MX/NS targets require a "dot"
|
||||||
---
|
---
|
||||||
|
|
||||||
# Short version
|
# Short version
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: Writing new DNS providers
|
||||||
---
|
---
|
||||||
|
|
||||||
# Writing new DNS providers
|
# Writing new DNS providers
|
||||||
|
|
Loading…
Add table
Reference in a new issue