Skip to content

Commit

Permalink
Merge pull request #1165 from Fryguy/poc
Browse files Browse the repository at this point in the history
Add note about which download types are non-production/PoC
  • Loading branch information
jrafanie authored Nov 28, 2023
2 parents ee12e01 + ee69ce3 commit fcf9dc1
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 16 deletions.
4 changes: 4 additions & 0 deletions site/_assets/css/_type.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ th {
border-bottom: 1px solid var(--color-border-heading);
}

tfoot {
font-size: 0.75em;
}

ul {
margin: 0 0 1em 0;
}
Expand Down
2 changes: 2 additions & 0 deletions site/_data/download_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

- name: Docker
download_platform: docker
poc: true

- name: Google Cloud Platform
download_platform: gce
Expand Down Expand Up @@ -46,6 +47,7 @@
- name: Vagrant
download_platform: vagrant
ext: box
poc: true

- name: VMware vSphere
download_platform: vsphere
Expand Down
39 changes: 23 additions & 16 deletions site/_includes/download/release_table.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
{% assign release = include.release %}
<div class="table-responsive">
<table class="table table-bordered table-hover">
<tr>
<th>Appliance</th>
<th>Format</th>
<th>Size</th>
<th>MD5</th>
</tr>
{% for type in site.data.download_types %}
{% assign data = type.download_platform | data_for: release.branch, release.tag, release.filename, type.ext %}
{% assign url = data[0] %}
{% assign file_size = data[1]["size"] %}
{% assign md5 = data[1]["md5"] %}
<tbody>
<tr>
<td><a href="{{ url }}" onClick="{{ type.download_platform | on_click_for_download: type.name, release.name }}">{{ type.name }}</a></td>
<td>{{ type.download_platform }}</td>
<td>{{ file_size }}</td>
<td>{{ md5 }}</td>
<th>Appliance</th>
<th>Format</th>
<th>Size</th>
<th>MD5</th>
</tr>
{% endfor %}
{% for type in site.data.download_types %}
{% assign data = type.download_platform | data_for: release.branch, release.tag, release.filename, type.ext %}
{% assign url = data[0] %}
{% assign file_size = data[1]["size"] %}
{% assign md5 = data[1]["md5"] %}
<tr>
<td><a href="{{ url }}" onClick="{{ type.download_platform | on_click_for_download: type.name, release.name }}">{{ type.name }}</a>{% if type.poc %} *{% endif %}</td>
<td>{{ type.download_platform }}</td>
<td>{{ file_size }}</td>
<td>{{ md5 }}</td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="4">* Intended for proof of concept and non-production use cases.</td>
</tr>
</tfoot>
</table>
</div>

0 comments on commit fcf9dc1

Please sign in to comment.