You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/05/30 21:13:12 UTC

incubator-systemml-website git commit: Change sample notebooks link to button

Repository: incubator-systemml-website
Updated Branches:
  refs/heads/master cdf04aeb8 -> c8e214f8a


Change sample notebooks link to button

Closes #62.


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

Branch: refs/heads/master
Commit: c8e214f8a586053c09e01c39a204bbd5601a03f1
Parents: cdf04ae
Author: Jeremy Anderson <je...@objectadjective.com>
Authored: Tue May 30 14:11:05 2017 -0700
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Tue May 30 14:11:05 2017 -0700

----------------------------------------------------------------------
 _src/_includes/themes/apache/home.html |  2 +-
 _src/_sass/_buttons.scss               | 22 ++++++++++++++++++++++
 _src/install-systemml.html             |  5 ++++-
 3 files changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/c8e214f8/_src/_includes/themes/apache/home.html
----------------------------------------------------------------------
diff --git a/_src/_includes/themes/apache/home.html b/_src/_includes/themes/apache/home.html
index c104604..618d00a 100644
--- a/_src/_includes/themes/apache/home.html
+++ b/_src/_includes/themes/apache/home.html
@@ -71,10 +71,10 @@ limitations under the License.
       <h2>Install SystemML</h2>
       <p>New to Apache SystemML? Try our quick install guide that will walk you through setting up your environment and getting you up and going with SystemML.</p>
       <a class="button button-primary" href="install-systemml.html">Install SystemML</a>
+      <a class="button button-secondary" href="get-started.html#sample-notebook">Notebooks</a>
       <a class="button button-secondary" href="documentation.html" target="_blank">Docs</a>
     </div>
   </div>
-  <h4 class="text-center"><a href="get-started.html#sample-notebook">View Sample Notebooks</a></h4>
 
 </section>
 

http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/c8e214f8/_src/_sass/_buttons.scss
----------------------------------------------------------------------
diff --git a/_src/_sass/_buttons.scss b/_src/_sass/_buttons.scss
index ab43211..fa05fd6 100644
--- a/_src/_sass/_buttons.scss
+++ b/_src/_sass/_buttons.scss
@@ -19,3 +19,25 @@
     border-color: $color-systemml-accent2-dark;
   }
 }
+
+.button-center {
+  display: inline-block;
+  margin-left: auto;
+  margin-right: auto;
+}
+
+#award {
+  background-image: url("/assets/img/mobile-award.png");
+  background-size: 167px 47px;
+  width: 167px;
+  height: 47px;
+  margin-bottom: 2em;
+
+  @media (min-width: 64em) {
+    background-image: url("/assets/img/award.png");
+    background-size: 170px 100px;
+    width: 170px;
+    height: 100px;
+  }
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-systemml-website/blob/c8e214f8/_src/install-systemml.html
----------------------------------------------------------------------
diff --git a/_src/install-systemml.html b/_src/install-systemml.html
index c58ec4b..20e82a3 100644
--- a/_src/install-systemml.html
+++ b/_src/install-systemml.html
@@ -163,7 +163,10 @@ You can create your own notebook or download sample notebooks from the SystemML
 </div>
 
   </div>
-  <h4 class="text-center"><a href="get-started.html#sample-notebook">View Sample Notebooks</a></h4>
+
+  <div class="flex-container flex-banner--horizontally-center">
+    <a class="button button-secondary button-center" href="get-started.html#sample-notebook">Sample Notebooks</a>
+  </div>
 
 
 </section>