cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblot...@apache.org
Subject [1/2] docs commit: Making deprecated.md more interesting. Shifting some CSS around for consistency. Removing an old comment.
Date Sat, 13 Feb 2016 01:06:14 GMT
Repository: cordova-docs
Updated Branches:
  refs/heads/master 64ebddf57 -> 0acfdce00


Making deprecated.md more interesting. Shifting some CSS around for consistency. Removing
an old comment.


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

Branch: refs/heads/master
Commit: 0acfdce003bd4ee3b4b0f8c2c7e3eeabb88cc653
Parents: ba6c261
Author: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Authored: Tue Feb 9 12:25:21 2016 -0800
Committer: Dmitry Blotsky <dmitry.blotsky@gmail.com>
Committed: Fri Feb 12 02:36:34 2016 -0800

----------------------------------------------------------------------
 www/docs/en/deprecated.md     | 13 ++++++++++-
 www/http/404.html             | 46 +++++++++++++++++++++++++++-----------
 www/index.html                |  3 ---
 www/static/css-src/_home.scss | 29 ------------------------
 www/static/css-src/main.scss  | 35 ++++++++++++++++++++++++++++-
 5 files changed, 79 insertions(+), 47 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0acfdce0/www/docs/en/deprecated.md
----------------------------------------------------------------------
diff --git a/www/docs/en/deprecated.md b/www/docs/en/deprecated.md
index 7a2b0f0..5a4f209 100644
--- a/www/docs/en/deprecated.md
+++ b/www/docs/en/deprecated.md
@@ -18,6 +18,17 @@ license: >
     under the License.
 
 title: Deprecated Content
+layout: page
+priority: 0.1
 ---
 
-Sorry, this content is deprecated!
+<div class="whole-page-content vertical-center-parent deprecated">
+    <div class="vertical-center-child">
+        <h1>
+            This content is deprecated in the latest docs (version {{ site.latest_docs_version
}}).
+        </h1>
+        <h2>
+            To view the latest docs, go <a href="/docs/{{ page.language }}/latest/">here</a>.
+        </h2>
+    </div>
+</div>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0acfdce0/www/http/404.html
----------------------------------------------------------------------
diff --git a/www/http/404.html b/www/http/404.html
index f7c7700..e069fed 100644
--- a/www/http/404.html
+++ b/www/http/404.html
@@ -1,22 +1,42 @@
 ---
-layout: cordova
+license: >
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+
+        http://www.apache.org/licenses/LICENSE-2.0
+
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+
+layout: page
 title: Page Not Found
 permalink: 404.html
 priority: 0.1
 ---
 
-<div class="not-found-container">
-    <div class="not-found-header">
-        <h1>404: Not Found</h1>
-    </div>
-    <div id="not-found-redirect-alert" class="not-found-redirect">
-        <div class="alert alert-warning" role="alert">It looks like the content has
<em>moved</em> <a id="new-redirect-link">here</a>.</div>
-    </div>
-    <div id="no-version-redirect-alert" class="not-found-redirect">
-        <div class="alert alert-warning" role="alert">It looks like this version <em>isn't
translated</em>. The in-development version is <a id="dev-redirect-link">here</a>.</div>
-    </div>
-    <div id="no-page-redirect-alert" class="not-found-redirect">
-        <div class="alert alert-warning" role="alert">It looks like this page <em>doesn't
exist in this version</em> of the docs. The main page for this version is <a id="root-redirect-link">here</a>.</div>
+<div class="whole-page-content vertical-center-parent not-found">
+    <div class="vertical-center-child">
+        <h1 class="not-found-header">
+            404: Not Found
+        </h1>
+        <div id="not-found-redirect-alert" class="not-found-redirect">
+            <div class="alert alert-warning" role="alert">It looks like the content
has <em>moved</em> <a id="new-redirect-link">here</a>.</div>
+        </div>
+        <div id="no-version-redirect-alert" class="not-found-redirect">
+            <div class="alert alert-warning" role="alert">It looks like this version
<em>isn't translated</em>. The in-development version is <a id="dev-redirect-link">here</a>.</div>
+        </div>
+        <div id="no-page-redirect-alert" class="not-found-redirect">
+            <div class="alert alert-warning" role="alert">It looks like this page <em>doesn't
exist in this version</em> of the docs. The main page for this version is <a id="root-redirect-link">here</a>.</div>
+        </div>
     </div>
 </div>
 <script type="text/javascript" src="{{ site.baseurl }}/static/js/404.js" defer></script>

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0acfdce0/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index 2fd6155..7ccc56a 100644
--- a/www/index.html
+++ b/www/index.html
@@ -5,9 +5,6 @@ priority: 1.0
 change_frequency: monthly
 ---
 
-<!-- REMOVE THIS LINK BEFORE PUBLISHING.  This is just for IntelliSense while coding -->
-<!-- <link rel="stylesheet" type="text/css" href="static/css/lib/bootstrap.css"/>
-->
-
 <!-- Main jumbotron for a primary marketing message or call to action -->
 <div id="hero">
     <div class="container vertical-center-parent">

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0acfdce0/www/static/css-src/_home.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/_home.scss b/www/static/css-src/_home.scss
index 351762f..fcac9f2 100644
--- a/www/static/css-src/_home.scss
+++ b/www/static/css-src/_home.scss
@@ -196,18 +196,6 @@ img#logo_top {
     }
 }
 
-.vertical-center-parent {
-    position: relative;
-    width:100%;
-    height:100%;
-    .vertical-center-child {
-        position:absolute;
-        top:50%;
-        left:50%;
-        @include vendor-prefix(transform, translate(-50%,-50%));
-    }
-}
-
 /*
 ********* Getting Started ***********
 */
@@ -363,20 +351,3 @@ img#logo_top {
     margin: 15px 0;
     a { padding-left:30px; }
 }
-
-.not-found-container {
-    height: 60%;
-    margin: auto;
-    width: 75%;
-}
-
-.not-found-header {
-    padding-top: 15%;
-    text-align: center;
-}
-
-.not-found-redirect {
-    margin-bottom: 20px;
-    text-align: center;
-    display: none;
-}

http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/0acfdce0/www/static/css-src/main.scss
----------------------------------------------------------------------
diff --git a/www/static/css-src/main.scss b/www/static/css-src/main.scss
index c174155..07564bb 100644
--- a/www/static/css-src/main.scss
+++ b/www/static/css-src/main.scss
@@ -134,13 +134,46 @@ h2 {
     margin-top:-14px;
     padding: 1px 5px;
 }
-
 .blue-divider {
     width:100%;
     height:4px;
     background-color: $brand-primary;
 }
 
+/* misc */
+.vertical-center-parent {
+    position: relative;
+    width:100%;
+    height:100%;
+    .vertical-center-child {
+        position:absolute;
+        top:50%;
+        left:50%;
+        @include vendor-prefix(transform, translate(-50%,-50%));
+    }
+}
+.whole-page-content {
+    min-height: 300px;
+    height: 60%;
+    margin: auto;
+}
+.not-found, .deprecated {
+    .vertical-center-child {
+        width: 100%;
+    }
+}
+.not-found-header {
+    text-align: center;
+}
+.not-found-redirect {
+    margin-bottom: 20px;
+    text-align: center;
+    display: none;
+    em {
+        text-decoration: underline;
+    }
+}
+
 /* fixing prettyprint formatting */
 pre.prettyprint {
     padding: 10px !important;


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


Mime
View raw message