gnucash-htdocs master: Test an image frame and note.

Cristian Marchi cmarchi at code.gnucash.org
Sat Dec 28 08:24:05 EST 2013


Updated	 via  https://github.com/Gnucash/gnucash-htdocs/commit/39b8d359 (commit)
	from  https://github.com/Gnucash/gnucash-htdocs/commit/f1b2de1b (commit)



commit 39b8d359a1768a74b69f4927f5ad533f4f13a7af
Author: Cristian Marchi <cri79 at libero.it>
Date:   Sat Dec 28 14:23:56 2013 +0100

    Test an image frame and note.

diff --git a/2.6-release-tour.phtml b/2.6-release-tour.phtml
index 84c1a92..1a69ac2 100644
--- a/2.6-release-tour.phtml
+++ b/2.6-release-tour.phtml
@@ -1,6 +1,6 @@
 <?php
 include("lang.php");
-$title = T_("Features");
+$title = T_("GnuCash 2.6 release tour");
 include("emulate_globals_on.php");
 include("$top_dir/externals/header.phtml");
 include("$top_dir/externals/menu.phtml");
@@ -17,10 +17,21 @@ include("$top_dir/externals/menu.phtml");
 
 
 <h2 class="featuretitle"><?php echo T_("Double Entry");?></h2>
-<p align="center"><img src="<?=$top_dir?>/images/features/basics_AccountRelationships.png" alt="[Basic account relationship]" /></p>
+
+
+<table class="figure">
+  <tbody>
+   <tr>
+     <td><p align="center"><img src="<?=$top_dir?>/images/features/basics_AccountRelationships.png" alt="[Basic account relationship]" /></p>
+     </td>
+   <tr>
+     <th>The double Entry system.
+     </th>
+   </tr>
 <p class="justify">
 <?php echo T_("Every transaction must debit one account and credit others by an equal amount. This ensures the books balance: the difference between income and expenses exactly equals the sum of assets and liabilities.");?>
 </p>
+  </tbody>
 
 <h2 class="featuretitle"><?php echo T_("Checkbook-Style Register");?></h2>
 <p align="center"><img src="<?=$top_dir?>/images/features/feature_register.png" alt="[Register]" /></p>
diff --git a/externals/gnucash.css b/externals/gnucash.css
index 798092e..db6e70c 100644
--- a/externals/gnucash.css
+++ b/externals/gnucash.css
@@ -704,3 +704,23 @@ h2.download-title {
    border-radius: 16px;
    box-shadow: 0 0 4px silver;
 }
+
+#figure {
+    background-color: #EEEEEE;
+    border: 1px solid #CCCCCC;
+    margin: auto;
+    padding: 3px;
+    width: 80%;
+}
+
+#table.figure th {
+   font-weight: bold;
+   text-align: center;
+}
+
+#table.figure td {
+    background-color: #FFFFFF;
+    border: 1px solid #CCCCCC;
+    padding: 2px;
+    text-align: center;
+}



Summary of changes:
 2.6-release-tour.phtml |   15 +++++++++++++--
 externals/gnucash.css  |   20 ++++++++++++++++++++
 2 files changed, 33 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list