james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [50/50] [abbrv] james-project git commit: JAMES-1994 Unify header display + rework post layout
Date Wed, 03 May 2017 10:41:36 GMT
JAMES-1994 Unify header display + rework post layout


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/6a14019e
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/6a14019e
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/6a14019e

Branch: refs/heads/master
Commit: 6a14019e84379fd14f8c4e174e7c1707c11147b9
Parents: 11895fa
Author: benwa <btellier@linagora.com>
Authored: Thu Apr 13 15:50:03 2017 +0700
Committer: benwa <btellier@linagora.com>
Committed: Wed May 3 15:02:43 2017 +0700

----------------------------------------------------------------------
 src/homepage/_layouts/post.html | 13 +++++++++----
 src/homepage/index.html         |  2 +-
 src/homepage/posts.html         | 13 ++++++++-----
 3 files changed, 18 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/6a14019e/src/homepage/_layouts/post.html
----------------------------------------------------------------------
diff --git a/src/homepage/_layouts/post.html b/src/homepage/_layouts/post.html
index 6e21780..f163319 100644
--- a/src/homepage/_layouts/post.html
+++ b/src/homepage/_layouts/post.html
@@ -30,11 +30,9 @@ layout: default
   </div>
 
   <header id="header" class="alt">
-    <div class="logo"><img src="/images/james.svg" alt="james logo"/></div>
+    <div class="logo"><a href="/index.html" alt="Apache James"><img src="/images/james.svg"
alt="james logo"/></a></div>
     <h1 class="hidden">James Enterprise Mail Server</h1>
     <h2>Emails at the heart of your business logic</h2>
-    <h2><span class="icon fa-file-text-o"></span> {{ page.title }}</h2>
-    <p>{{ page.date | date: '%B %d, %Y' }}</p>
   </header>
 
   <!-- Main -->
@@ -43,8 +41,15 @@ layout: default
       <!-- Content -->
         <section id="content" class="main">
 
-          {{ content }}
+          <h1><span class="icon fa-file-text-o"></span> {{ page.title }}</h1>
+          <h2><span class="icon fa-clock-o"></span><b> {{ page.date
| date: '%B %d, %Y' }}</b></h2>
 
+          <br/>
+
+          <div>
+            {{ content }}
+
+          </div>
           <footer class="major special">
             <hr>
             <center>

http://git-wip-us.apache.org/repos/asf/james-project/blob/6a14019e/src/homepage/index.html
----------------------------------------------------------------------
diff --git a/src/homepage/index.html b/src/homepage/index.html
index 5a5a3a9..d47cd4d 100644
--- a/src/homepage/index.html
+++ b/src/homepage/index.html
@@ -30,7 +30,7 @@ layout: default
 
   <!-- Header -->
     <header id="header" class="alt">
-      <div class="logo"><img src="images/james.svg" alt="james logo"/></div>
+      <div class="logo"><a href="/index.html" alt="Apache James"><img src="/images/james.svg"
alt="james logo"/></a></div>
       <h1 class="hidden">James Enterprise Mail Server</h1>
       <h2>Emails at the heart of your business logic</h2>
     </header>

http://git-wip-us.apache.org/repos/asf/james-project/blob/6a14019e/src/homepage/posts.html
----------------------------------------------------------------------
diff --git a/src/homepage/posts.html b/src/homepage/posts.html
index 9e3ea2d..3189c33 100644
--- a/src/homepage/posts.html
+++ b/src/homepage/posts.html
@@ -21,15 +21,18 @@ layout: default
 -->
 <div id="wrapper" class="post-page">
 
-  <!-- Header -->
-    <header id="header" class="alt">
-      <h1><span class="icon fa-newspaper-o"></span> Apache James Posts</h1>
-    </header>
+  <header id="header" class="alt">
+    <div class="logo"><a href="/index.html" alt="Apache James"><img src="/images/james.svg"
alt="james logo"/></a></div>
+    <h1 class="hidden">James Enterprise Mail Server</h1>
+    <h2>Emails at the heart of your business logic</h2>
+  </header>
 
   <!-- Main -->
     <div id="main">
       <section id="posts" class="main">
-        <ul class="no-padding">
+        <h1><span class="icon fa-newspaper-o"></span> Apache James Posts</h1>
+        <br/>
+        <ul>
             {% for post in site.posts %}
               <li class="post-template">
                 <span class="icon fa-lg fa-file-text-o"></span>


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message