Add location column to URL tables (addresses #1077 )

pull/1080/head
noramullen1 2020-06-01 11:57:24 -07:00
parent d9f7f489e0
commit c0f4848652
2 changed files with 8 additions and 2 deletions

View File

@ -12,18 +12,22 @@ cloud:
- name: Amazon Web Services
short_name: AWS
regions:
- name: US West (Oregon)
- name: US West
location: Oregon, USA
url: https://us-west-2-1.aws.cloud2.influxdata.com
- name: EU Frankfurt
location: Frankfurt, Germany
url: https://eu-central-1-1.aws.cloud2.influxdata.com
- name: Google Cloud Platform
short_name: GCP
regions:
- name: US Central (Iowa)
- name: US Central
location: Iowa, USA
url: https://us-central1-1.gcp.cloud2.influxdata.com
- name: Microsoft Azure
short_name: Azure
regions:
- name: West Europe
location: Amsterdam, Netherlands
url: https://westeurope-1.azure.cloud2.influxdata.com
status: beta

View File

@ -13,12 +13,14 @@
<table>
<thead>
<th align="left">Region</th>
<th align="left">Location</th>
<th align="left">URL</th>
</thead>
{{ range .regions }}
<tr>
<td {{ if .status }}class="{{ .status }}"{{ end }}>{{ .name }}</td>
<td><a href="{{ .url }}">{{ .url }}</a></td>
<td><a href="{{ .location }}">{{ .location }}</a></td>
</tr>
{{ end }}
</table>