cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject docs commit: Removed redundant CSS. Removed OS version. Updated footer links. Removed OS name again. Added link to mailing list from contribute. Added padding to home section. Cleaned up CSS on alert for not latest doc pages. Adding slack icon for later.
Date Thu, 27 Aug 2015 22:18:04 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/cordova-website 2f7fa2fdb -> f288a59f6


Removed redundant CSS.
Removed OS version.
Updated footer links.
Removed OS name again.
Added link to mailing list from contribute.
Added padding to home section.
Cleaned up CSS on alert for not latest doc pages.
Adding slack icon for later.
Moved the alert in the DOM.
This closes #315.


Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/f288a59f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/f288a59f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/f288a59f

Branch: refs/heads/cordova-website
Commit: f288a59f66baf0207b385bf86f3acdc4f6611a20
Parents: 2f7fa2f
Author: Brad Gashler <bgashler1@users.noreply.github.com>
Authored: Mon Aug 24 11:34:02 2015 -0700
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Thu Aug 27 15:17:49 2015 -0700

----------------------------------------------------------------------
 _dev.yml                             |   2 +-
 www/_includes/footer.html            |   3 ++-
 www/_layouts/docs.html               |  18 +++++++++++-------
 www/contribute/index.html            |   4 ++--
 www/index.html                       |  11 +++--------
 www/static/css-src/_docs.scss        |   6 ++++++
 www/static/css-src/_home.scss        |   4 ++--
 www/static/css-src/main.scss         |   4 +---
 www/static/img/slack_rgb_300_141.png | Bin 0 -> 6913 bytes
 9 files changed, 28 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/_dev.yml
----------------------------------------------------------------------
diff --git a/_dev.yml b/_dev.yml
index 1696da3..9196edf 100644
--- a/_dev.yml
+++ b/_dev.yml
@@ -37,5 +37,5 @@ exclude:
     - docs/en/3.6.0
     - docs/en/4.0.0
     - docs/en/5.0.0
-    - docs/en/5.1.1
+    # - docs/en/5.1.1
     # - docs/en/edge

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/_includes/footer.html
----------------------------------------------------------------------
diff --git a/www/_includes/footer.html b/www/_includes/footer.html
index c694c41..96b124c 100644
--- a/www/_includes/footer.html
+++ b/www/_includes/footer.html
@@ -24,7 +24,8 @@
                         <ul class="nav">
                             <li><a href="https://github.com/apache?utf8=%E2%9C%93&amp;query=cordova-">Source
Code</a></li>
                             <li><a href="https://issues.apache.org/jira/browse/CB/">Issue
Tracker</a></li>
-                            <li><a href="{{ site.baseurl }}/support">Support</a></li>
+                            <li><a href="http://stackoverflow.com/questions/tagged/cordova">Stack
Overflow</a></li>
+                            <li><a href="{{ site.baseurl }}/contact">Contact</a></li>
                         </ul>
                     </div>
                     <div class="col-sm-4">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/_layouts/docs.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs.html b/www/_layouts/docs.html
index 030a785..46488da 100644
--- a/www/_layouts/docs.html
+++ b/www/_layouts/docs.html
@@ -38,13 +38,6 @@ analytics_id: UA-64283057-1
     <div id="page-toc-source" class="col-xs-8 col-xs-offset-1">
         <div class="row content-header">
 
-            <!-- Show warning if this version isn't the latest -->
-            {% if page.version != 'edge' %}
-                <a class="btn btn-sm btn-warning" href="{{ site.baseurl }}{{ page.url
| replace:page.version,'edge' }}">
-                    {{ page.not_latest_warning_text }}
-                </a>
-            {% endif %}
-
             <a class="edit" href="{{ site.repo.uri }}/tree/{{ site.repo.branch }}/www/{{
page.path }}">
                 <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>
Edit
             </a>
@@ -127,6 +120,17 @@ analytics_id: UA-64283057-1
             </div>
         </div>
         <div class="row">
+            <!-- Show warning if this version isn't the latest -->
+            {% if page.version != 'edge' %}
+            <a href="{{ site.baseurl }}{{ page.url | replace:page.version,'edge' }}">
+                <div class="alert alert-warning alert-dismissible" role="alert">
+                    <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">&times;</span></button>
+                    <strong>Warning!</strong> {{ page.not_latest_warning_text
}}
+                </div>  
+            </a>
+            {% endif %}
+        </div>
+        <div class="row">
             {{ content }}
         </div>
     </div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/contribute/index.html
----------------------------------------------------------------------
diff --git a/www/contribute/index.html b/www/contribute/index.html
index 9482d4b..ca7e049 100644
--- a/www/contribute/index.html
+++ b/www/contribute/index.html
@@ -16,10 +16,10 @@ title: Apache Cordova Plugins
     </div>
     <div class="row">
         <div class="col-sm-7">
-            <p>To share your contributions with the community, you can send a pull
request on GitHub to the Apache git mirrors. You can also advocate for your changes directly
on our dev mailing list.</p>
+            <p>To share your contributions with the community, you can send a pull
request on GitHub to the Apache git mirrors. You can also advocate for your changes directly
on our <a href="{{ site.baseurl }}/contact">dev mailing list</a>.</p>
             <h2>Get Started Now</h2>
             <ol class="contribute-get-started-steps">
-                <li>Join Mailing List</li>
+                <li>Join <a href="{{ site.baseurl }}/contact">Mailing List</a></li>
                 <li>Sign the <a href="#">Individual Contributor License Agreement
(ICLA)</a></li>
                 <li>Create an account in <a href="#">Apache Jira</a></li>
                 <li>Bookmark the official URL for <a href="#">Cordova Issues</a><p>(See
also <a href="#">Issue Workflow</a>)</p></li>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index ab97ba6..e8d6894 100644
--- a/www/index.html
+++ b/www/index.html
@@ -60,17 +60,12 @@ permalink: /
     </div>
 </div>
 <div class="blue-divider"></div>
-<div class="container">
+<div class="container get-started-section">
     <!-- Example row of columns -->
     <div class="row">
         <div class="col-md-12 text-center">
             <a id="getstarted" name="getstarted" class="fragment-anchor"></a>
             <h1>Get Started Fast</h1>
-            <p>Looks like you're using
-                <span id="current_os">Windows</span> to develop your apps</p>
-            <p>
-                <a href="#" role="button">Use a different OS?</a>
-            </p>
         </div>
     </div>
     <!-- GETTING STARTED -->
@@ -167,7 +162,7 @@ permalink: /
 <!-- /container -->
 
 <div class="blue-divider"></div>
-<div class="container-fluid dark">
+<div class="container-fluid dark vertical-aligned-columns">
     <div class="container">
         <div class="row showcase_section_intro" id="supported_platforms_section">
             <div class="col-md-12 text-center">
@@ -183,7 +178,7 @@ permalink: /
         </div>
     </div><!-- /container -->
 
-    <div class="container-fluid supported_platforms">
+    <div class="container-fluid supported_platforms vertical-aligned-columns">
         <div class="container">
             <div class="row">
                 <div class="col-md-12">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/static/css-src/_docs.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_docs.scss b/www/static/css-src/_docs.scss
index 1b0d1f3..7c3fd2b 100644
--- a/www/static/css-src/_docs.scss
+++ b/www/static/css-src/_docs.scss
@@ -39,6 +39,12 @@
 .content-header {
     text-align: right;
     margin-top: 22px;
+    .alert { 
+        text-align:left;
+    }
+}
+.alert.alert-warning.alert-dismissible {
+    margin-top:15px;
 }
 .content-header .dropdown {
     display: inline-block;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/static/css-src/_home.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_home.scss b/www/static/css-src/_home.scss
index fc847b8..52984de 100644
--- a/www/static/css-src/_home.scss
+++ b/www/static/css-src/_home.scss
@@ -147,8 +147,8 @@ img#logo_top {
 /*
 ********* Getting Started ***********
 */
-#current_os {
-	font-weight: bold;
+.get-started-section {
+	margin-bottom:20px;
 }
 .number_circle {
     display: inline-block;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss
index 1f01116..1d02160 100644
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@ -67,9 +67,7 @@ $scree-md-max: $screen-lg - 1;
 /*
 ********* Getting Started ***********
 */
-#current_os {
-	font-weight: bold;
-}
+
 .number_circle {
     display: inline-block;
     width: 50px;

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/f288a59f/www/static/img/slack_rgb_300_141.png
----------------------------------------------------------------------
diff --git a/www/static/img/slack_rgb_300_141.png b/www/static/img/slack_rgb_300_141.png
new file mode 100644
index 0000000..e8fb5fd
Binary files /dev/null and b/www/static/img/slack_rgb_300_141.png differ


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message