You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2015/07/24 23:18:32 UTC
allura-site git commit: [#7938] start work
Repository: allura-site
Updated Branches:
refs/heads/db/7938 [created] 05c49ad03
[#7938] start work
Project: http://git-wip-us.apache.org/repos/asf/allura-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura-site/commit/05c49ad0
Tree: http://git-wip-us.apache.org/repos/asf/allura-site/tree/05c49ad0
Diff: http://git-wip-us.apache.org/repos/asf/allura-site/diff/05c49ad0
Branch: refs/heads/db/7938
Commit: 05c49ad032a5b5f5754e4e9da6a5569f91d5aebd
Parents: a581827
Author: Dave Brondsema <da...@brondsema.net>
Authored: Fri Jul 24 17:18:27 2015 -0400
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Fri Jul 24 17:18:27 2015 -0400
----------------------------------------------------------------------
_src/allura-theme/static/css/style.css | 20 +++++---------
_src/allura-theme/templates/article.html | 40 +++++++++++++++++++++++++++
_src/allura-theme/templates/base.html | 20 +++++++-------
_src/allura-theme/templates/index.html | 4 ++-
_src/content/2015-cors.md | 10 +++++++
feeds/all.atom.xml | 4 ++-
index.html | 20 +++++++-------
theme/css/style.css | 20 +++++---------
8 files changed, 90 insertions(+), 48 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/_src/allura-theme/static/css/style.css
----------------------------------------------------------------------
diff --git a/_src/allura-theme/static/css/style.css b/_src/allura-theme/static/css/style.css
index c284d6b..98b39d7 100644
--- a/_src/allura-theme/static/css/style.css
+++ b/_src/allura-theme/static/css/style.css
@@ -48,14 +48,10 @@ body, h1, h2, h3, h4, h5, h6, p, a {
h1, h2, h3, h4, h5, h6 {
clear: both;
font-weight: 600;
- line-height: 0.2em;
+ line-height: 1.4em;
margin: 0;
- text-transform: uppercase
-}
-
-h1, h2, h3, h4, h5, h6, p {
+ text-transform: uppercase;
color: #FCFCFC;
- line-height: 1.4em
}
h1, h2 {
@@ -101,7 +97,8 @@ h6 {
p {
font-size: 1em;
letter-spacing: 0.025em;
- margin: 0.5em 0px
+ margin: 0.5em 0px;
+ line-height: 1.4em;
}
ul {
@@ -145,11 +142,6 @@ blockquote {
padding-left: 20px;
}
-code, kbd, tt, var {
- font-family: 'Helvetica Neue', serif;
- font-size: 1.4em;
-}
-
.text-black {
color: #404040;
}
@@ -530,7 +522,9 @@ button:hover, button:focus, button:active {
background-image: url('../img/bg-header-forge.jpg');
background-repeat: no-repeat;
background-size: cover;
- height: 320px
+}
+#header .pad-vert-xxl {
+ height: 320px;
}
#about p {
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/_src/allura-theme/templates/article.html
----------------------------------------------------------------------
diff --git a/_src/allura-theme/templates/article.html b/_src/allura-theme/templates/article.html
new file mode 100644
index 0000000..84a160a
--- /dev/null
+++ b/_src/allura-theme/templates/article.html
@@ -0,0 +1,40 @@
+{% extends "base.html" %}
+
+{% block title %}
+ {{ article.title|striptags }}
+{% endblock %}
+
+{% block head %}
+ {{ super() }}
+ {% for description in article.description %}
+ <meta name="description" content="{{description}}" />
+ {% endfor %}
+
+{% endblock %}
+
+{% block content %}
+<div class="row bg-white pad-vert-xl">
+ <div class="row">
+ <h3 class="text-black text-center">{{ article.title }}</h3>
+ </div>
+
+ <div class="post-info">
+ <abbr class="published" title="{{ article.date.isoformat() }}">
+ {{ article.locale_date }}
+ </abbr>
+ {% if article.modified %}
+ <abbr class="modified" title="{{ article.modified.isoformat() }}">
+ {{ article.locale_modified }}
+ </abbr>
+ {% endif %}
+ </div>
+
+ <div class="row">
+ <div class="col-20 no-float auto-margin">
+ <div class="row">
+ <div class="pad-md text-black">{{ article.content }}</div>
+ </div>
+ </div>
+ </div>
+</div>
+{% endblock %}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/_src/allura-theme/templates/base.html
----------------------------------------------------------------------
diff --git a/_src/allura-theme/templates/base.html b/_src/allura-theme/templates/base.html
index 384decf..a9534bc 100644
--- a/_src/allura-theme/templates/base.html
+++ b/_src/allura-theme/templates/base.html
@@ -9,7 +9,7 @@
<meta name="keywords" content="{{ ', '.join(KEYWORDS) }}">
<meta name="author" content="{{ AUTHOR }}">
<link rel="canonical" href="{{ SITEURL }}">
-
+
<!-- Facebook Meta Info-->
<meta property="og:url" content="{{ SITEURL }}">
<meta property="og:image" content="theme/img/logo-asf-apache.png">
@@ -17,28 +17,28 @@
<meta property="og:title" content="{{ SITENAME }}">
<meta property="og:site_name" content="{{ SITENAME }}j">
<meta property="og:see_also" content="{{ SITEURL }}">
-
+
<!-- Twitter Meta Info-->
<meta name="twitter:card" content="{{ DESCRIPTION }}">
<meta name="twitter:url" content="{{ SITEURL }}">
<meta name="twitter:title" content="{{ SITENAME }}">
<meta name="twitter:description" content="{{ DESCRIPTION }}">
<meta name="twitter:image" content="theme/img/logo-asf-apache.png">
-
+
<!-- Google+ Meta Info-->
<meta itemprop="name" content="{{ SITENAME }}">
<meta itemprop="description" content="{{ DESCRIPTION }}">
<meta itemprop="image" content="theme/img/logo-asf-apache.png">
-
+
<link rel="stylesheet" type="text/css" href="theme/css/flex.min.css">
<link rel="stylesheet" type="text/css" href="theme/css/style.css">
{% endblock head %}
</head>
-
-<body cz-shortcut-listen="true">
+
+<body cz-shortcut-listen="true" class="pg-{{ page_name }}">
<section id="content_wrapper" class="mobile-desktop row">
{% block header %}
- <div id="header" class="row pad-vert-xxl">
+ <div id="header" class="row {% if xxl_header %}pad-vert-xxl{% endif %}">
<header id="login_header" class="row">
<div class="bg-shadow pad-vert-sm">
<span><h1 class="text-center">Apache <img src="theme/img/logo_white.png" width="94"> Allura<span class="tm">™</span></h1></span>
@@ -54,14 +54,14 @@
<div class="row">
{% block footer %}
- <footer id="footer" class="bg-black col-24">
- <p class="copy pad-top-sm text-center text-white">Copyright © {{ CURRENT_YEAR }} The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <footer id="footer" class="bg-black text-white col-24">
+ <p class="copy pad-top-sm text-center">Copyright © {{ CURRENT_YEAR }} The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
<p class="copy pad-bot-sm text-center">Apache, Allura, Apache Allura, and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
{% endblock footer %}
</div>
</section>
-
+
<script type="application/javascript" src="theme/js/jquery-1.11.2.min.js"></script>
<script type="application/javascript" src="theme/js/frontend.js"></script>
<!-- Credits
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/_src/allura-theme/templates/index.html
----------------------------------------------------------------------
diff --git a/_src/allura-theme/templates/index.html b/_src/allura-theme/templates/index.html
index 569c14b..1e26c5b 100644
--- a/_src/allura-theme/templates/index.html
+++ b/_src/allura-theme/templates/index.html
@@ -1,5 +1,7 @@
{% extends 'base.html' %}
+{% set xxl_header = True %}
+
{% block content %}
<div id="about" class="row bg-white pad-vert-xl">
<div class="row">
@@ -59,7 +61,7 @@
</div>
</div>
-<div id="resources" class="row bg-black pad-vert-xl">
+<div id="resources" class="row bg-black text-white pad-vert-xl">
<div class="row">
<h3 class="text-center">Resources</h3>
<div class="col-8 pad-vert-sm">
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/_src/content/2015-cors.md
----------------------------------------------------------------------
diff --git a/_src/content/2015-cors.md b/_src/content/2015-cors.md
new file mode 100644
index 0000000..bf37bf7
--- /dev/null
+++ b/_src/content/2015-cors.md
@@ -0,0 +1,10 @@
+Title: CORS support added to Allura
+Date: 2015-07-24
+Tags: feature
+Slug: cors
+Summary: Latest revision of Allura now supports CORS http headers.
+
+The latest Allura code now supports CORS http headers. It will be included in the next release of Allura,
+or is available now by using the latest code from `git`.
+
+CORS headers allow...
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/feeds/all.atom.xml
----------------------------------------------------------------------
diff --git a/feeds/all.atom.xml b/feeds/all.atom.xml
index 060b71f..dca20d4 100644
--- a/feeds/all.atom.xml
+++ b/feeds/all.atom.xml
@@ -1,2 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
-<feed xmlns="http://www.w3.org/2005/Atom"><title>Apache Allura</title><link href="http://allura.apache.org/" rel="alternate"></link><link href="http://allura.apache.org/feeds/all.atom.xml" rel="self"></link><id>http://allura.apache.org/</id><updated>2015-07-21T16:52:27Z</updated></feed>
\ No newline at end of file
+<feed xmlns="http://www.w3.org/2005/Atom"><title>Apache Allura</title><link href="http://allura.apache.org/" rel="alternate"></link><link href="http://allura.apache.org/feeds/all.atom.xml" rel="self"></link><id>http://allura.apache.org/</id><updated>2015-07-24T00:00:00+00:00</updated><entry><title>CORS support added to Allura</title><link href="http://allura.apache.org/cors.html" rel="alternate"></link><updated>2015-07-24T00:00:00+00:00</updated><author><name></name></author><id>tag:allura.apache.org,2015-07-24:cors.html</id><summary type="html"><p>The latest Allura code now supports CORS http headers. It will be included in the next release of Allura,
+or is available now by using the latest code from <code>git</code>.</p>
+<p>CORS headers allow...</p></summary><category term="feature"></category></entry></feed>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 2ec68c6..e101b52 100644
--- a/index.html
+++ b/index.html
@@ -8,7 +8,7 @@
<meta name="keywords" content="">
<meta name="author" content="">
<link rel="canonical" href="http://allura.apache.org">
-
+
<!-- Facebook Meta Info-->
<meta property="og:url" content="http://allura.apache.org">
<meta property="og:image" content="theme/img/logo-asf-apache.png">
@@ -16,24 +16,24 @@
<meta property="og:title" content="Apache Allura">
<meta property="og:site_name" content="Apache Alluraj">
<meta property="og:see_also" content="http://allura.apache.org">
-
+
<!-- Twitter Meta Info-->
<meta name="twitter:card" content="Allura is an open source implementation of a software forge, a site that manages source code repositories, bug reports, discussions, and more for projects.">
<meta name="twitter:url" content="http://allura.apache.org">
<meta name="twitter:title" content="Apache Allura">
<meta name="twitter:description" content="Allura is an open source implementation of a software forge, a site that manages source code repositories, bug reports, discussions, and more for projects.">
<meta name="twitter:image" content="theme/img/logo-asf-apache.png">
-
+
<!-- Google+ Meta Info-->
<meta itemprop="name" content="Apache Allura">
<meta itemprop="description" content="Allura is an open source implementation of a software forge, a site that manages source code repositories, bug reports, discussions, and more for projects.">
<meta itemprop="image" content="theme/img/logo-asf-apache.png">
-
+
<link rel="stylesheet" type="text/css" href="theme/css/flex.min.css">
<link rel="stylesheet" type="text/css" href="theme/css/style.css">
</head>
-
-<body cz-shortcut-listen="true">
+
+<body cz-shortcut-listen="true" class="pg-index">
<section id="content_wrapper" class="mobile-desktop row">
<div id="header" class="row pad-vert-xxl">
<header id="login_header" class="row">
@@ -103,7 +103,7 @@
</div>
</div>
-<div id="resources" class="row bg-black pad-vert-xl">
+<div id="resources" class="row bg-black text-white pad-vert-xl">
<div class="row">
<h3 class="text-center">Resources</h3>
<div class="col-8 pad-vert-sm">
@@ -185,13 +185,13 @@
</div>
<div class="row">
- <footer id="footer" class="bg-black col-24">
- <p class="copy pad-top-sm text-center text-white">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
+ <footer id="footer" class="bg-black text-white col-24">
+ <p class="copy pad-top-sm text-center">Copyright © 2015 The Apache Software Foundation, Licensed under the Apache License, Version 2.0.</p>
<p class="copy pad-bot-sm text-center">Apache, Allura, Apache Allura, and the Apache feather logo are trademarks of The Apache Software Foundation.</p>
</footer>
</div>
</section>
-
+
<script type="application/javascript" src="theme/js/jquery-1.11.2.min.js"></script>
<script type="application/javascript" src="theme/js/frontend.js"></script>
<!-- Credits
http://git-wip-us.apache.org/repos/asf/allura-site/blob/05c49ad0/theme/css/style.css
----------------------------------------------------------------------
diff --git a/theme/css/style.css b/theme/css/style.css
index c284d6b..98b39d7 100644
--- a/theme/css/style.css
+++ b/theme/css/style.css
@@ -48,14 +48,10 @@ body, h1, h2, h3, h4, h5, h6, p, a {
h1, h2, h3, h4, h5, h6 {
clear: both;
font-weight: 600;
- line-height: 0.2em;
+ line-height: 1.4em;
margin: 0;
- text-transform: uppercase
-}
-
-h1, h2, h3, h4, h5, h6, p {
+ text-transform: uppercase;
color: #FCFCFC;
- line-height: 1.4em
}
h1, h2 {
@@ -101,7 +97,8 @@ h6 {
p {
font-size: 1em;
letter-spacing: 0.025em;
- margin: 0.5em 0px
+ margin: 0.5em 0px;
+ line-height: 1.4em;
}
ul {
@@ -145,11 +142,6 @@ blockquote {
padding-left: 20px;
}
-code, kbd, tt, var {
- font-family: 'Helvetica Neue', serif;
- font-size: 1.4em;
-}
-
.text-black {
color: #404040;
}
@@ -530,7 +522,9 @@ button:hover, button:focus, button:active {
background-image: url('../img/bg-header-forge.jpg');
background-repeat: no-repeat;
background-size: cover;
- height: 320px
+}
+#header .pad-vert-xxl {
+ height: 320px;
}
#about p {