guacamole-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmuehl...@apache.org
Subject [1/3] incubator-guacamole-website git commit: Add companies collection which is rendered on the support page.
Date Wed, 04 May 2016 20:38:13 GMT
Repository: incubator-guacamole-website
Updated Branches:
  refs/heads/master 36cf1161c -> 63e04cf12


Add companies collection which is rendered on the support page.


Project: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/commit/722e6401
Tree: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/tree/722e6401
Diff: http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/diff/722e6401

Branch: refs/heads/master
Commit: 722e6401edbaf9411c5fbb4737ab2669bb34a1f3
Parents: daa87d3
Author: Michael Jumper <mjumper@apache.org>
Authored: Tue May 3 16:32:59 2016 -0700
Committer: Michael Jumper <mjumper@apache.org>
Committed: Tue May 3 17:43:44 2016 -0700

----------------------------------------------------------------------
 README.md       |  1 +
 _config.yml     |  4 ++++
 styles/main.css | 32 ++++++++++++++++++++++++++++++++
 support.md      | 15 ++++++++++++++-
 4 files changed, 51 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/722e6401/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 1b53acd..53b4e70 100644
--- a/README.md
+++ b/README.md
@@ -37,6 +37,7 @@ licensed project, the repository contains the following critical files:
 | `images/`     | Images which are referenced within the website HTML and CSS.
 | `pub/`        | Miscellaneous public files, such as test scripts. The test scripts in this
directory have historically been shared to users to help with debugging.
 | `styles/`     | All CSS files referenced by the website HTML.
+| `_companies/` | Documents which contain metadata describing third-party companies that
provide support for Apache Guacamole. The content of these documents is rendered as the description
for that company on the support page.
 | `_includes/`  | Common HTML fragments used by Jekyll and referenced in other templates,
such as the website header and footer. These *must* be HTML only. This is a standard Jekyll
directory. See: [Jekyll directory structure](https://jekyllrb.com/docs/structure/)
 | `_layouts/`   | Templates describing the structure of different types of content. This
is a standard Jekyll directory. See: [Jekyll directory structure](https://jekyllrb.com/docs/structure/)
 | `_links/`     | Documents which contain metadata describing the links which should appear
in the site navigation menu. The documents here are completely empty except for the metadata.

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/722e6401/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index c21c2d0..44cb6e2 100644
--- a/_config.yml
+++ b/_config.yml
@@ -40,6 +40,10 @@ collections:
     links:
         output: false
 
+    # Pseudo-pages describing third-party support companies
+    companies:
+        output: false
+
 # Site-wide defaults
 defaults:
 

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/722e6401/styles/main.css
----------------------------------------------------------------------
diff --git a/styles/main.css b/styles/main.css
index fecb140..4f4c0a5 100644
--- a/styles/main.css
+++ b/styles/main.css
@@ -413,6 +413,38 @@ div#links ul {
     list-style: none;
 }
 
+#content > ul.company-list {
+    padding-left: 0.5in;
+    padding-right: 0.5in;
+}
+
+.company-list li.company {
+    list-style: none;
+    display: table;
+    width: 100%;
+    background: #FFFFFA;
+    border: 1px solid rgba(0, 0, 0, 0.125);
+}
+
+.company-list li.company > * {
+    display: table-cell;
+    vertical-align: middle;
+    padding: 1em;
+}
+
+.company-list li.company .company-logo img {
+    max-width: 5em;
+    max-height: 5em;
+}
+
+.company-list li.company .company-description {
+    width: 100%;
+}
+
+.company-list li.company .company-description > * {
+    margin: 0.25em 0;
+}
+
 table.releases {
     background: #FFFFFA;
     border-collapse: collapse;

http://git-wip-us.apache.org/repos/asf/incubator-guacamole-website/blob/722e6401/support.md
----------------------------------------------------------------------
diff --git a/support.md b/support.md
index 04ed6b0..19eba7e 100644
--- a/support.md
+++ b/support.md
@@ -76,4 +76,17 @@ Companies providing support for Apache Guacamole are not endorsed by the
Apache
 Software Foundation, though some such companies do employ committers of the
 Apache Guacamole project.
 
-(PLACEHOLDER)
+<ul class="company-list">
+    {% for company in site.companies %}
+        <li class="company">
+            {% if company.logo %}
+                <div class="company-logo"><a href="{{ company.location }}"><img
src="{{ company.logo }}"/></a></div>
+            {% endif %}
+            <div class="company-description">
+                <h3><a href="{{ company.location }}">{{ company.title }}</a></h3>
+                {{ company.content }}
+            </div>
+        </li>
+    {% endfor %}
+</ul>
+


Mime
View raw message