From 18819a1623948c5f907c556e339b0f5b1d335524 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 12 Jul 2013 10:44:05 +0000 Subject: Add stylesheet and mageia navigation bar git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8609 5b7c3c08-40e5-403b-9995-ace06908e4af --- tmpl/body_top.html | 5 +++++ tmpl/donations.html | 16 ++++++++++++++++ tmpl/donations_all.html | 6 ++++++ tmpl/donations_by_month.html | 6 ++++++ tmpl/donations_by_pa.html | 6 ++++++ tmpl/donations_by_year.html | 6 ++++++ tmpl/donations_who.html | 6 ++++++ tmpl/head.html | 3 +++ tmpl/index.html | 33 +++++++++++++++++++++++++++++---- tmpl/transactions_by_ac.html | 6 ++++++ tmpl/transactions_by_ca.html | 6 ++++++ tmpl/transactions_by_month.html | 6 ++++++ tmpl/transactions_by_pa.html | 6 ++++++ tmpl/transactions_by_year.html | 6 ++++++ 14 files changed, 113 insertions(+), 4 deletions(-) create mode 100644 tmpl/body_top.html create mode 100644 tmpl/head.html (limited to 'tmpl') diff --git a/tmpl/body_top.html b/tmpl/body_top.html new file mode 100644 index 0000000..b730e7b --- /dev/null +++ b/tmpl/body_top.html @@ -0,0 +1,5 @@ +
+ + diff --git a/tmpl/donations.html b/tmpl/donations.html index d0766e1..ab53424 100644 --- a/tmpl/donations.html +++ b/tmpl/donations.html @@ -2,13 +2,21 @@ [% config.sitename %] Donations + [%- INCLUDE head.html -%] [% INCLUDE head_chart.html %] + [%- INCLUDE body_top.html -%] +

treasurer » donations

+ +
+
[%- USE date(format='%Y/%m/%d') -%]

Mageia.Org donations

[% donations.total_30 %] Euros have been donated to Mageia.org in the last 30 days. +
+
[%- l = 10 -%]

Last [% l %] donations RSS feed

    @@ -19,7 +27,9 @@
  • [% don.who %] donated [% don.amount %] Euros on [% date.format(don.date) %]
  • [%- END -%]
+
+

Donations per year

@@ -50,14 +60,20 @@
  • [% year %]: [% donations.by_year.$year.total %] Euros
  • [%- END %] +
    +

    Donations list

    The list of donations received is available on this page.

    +
    +

    Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %]

    +
    +
    diff --git a/tmpl/donations_all.html b/tmpl/donations_all.html index f08fc9e..fbd9c2c 100644 --- a/tmpl/donations_all.html +++ b/tmpl/donations_all.html @@ -2,8 +2,13 @@ [% config.sitename %]: Donations list + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » donations » all

    + +

    Mageia.Org donations list

    +
    diff --git a/tmpl/donations_by_month.html b/tmpl/donations_by_month.html index afba727..4e93fff 100644 --- a/tmpl/donations_by_month.html +++ b/tmpl/donations_by_month.html @@ -2,8 +2,13 @@ [% config.sitename %]: Donations for [% month %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » donations » month [% month %]

    + +

    Mageia.Org donations for month [% month %]

    Summary

    +
    diff --git a/tmpl/donations_by_pa.html b/tmpl/donations_by_pa.html index 2c6f2ad..faddf48 100644 --- a/tmpl/donations_by_pa.html +++ b/tmpl/donations_by_pa.html @@ -2,8 +2,13 @@ [% config.sitename %]: Donations received from [% who %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » donations » who » [% who %]

    + +

    Mageia.Org donations received from [% who %]

    Summary

    +
    diff --git a/tmpl/donations_by_year.html b/tmpl/donations_by_year.html index be41454..7d26e7c 100644 --- a/tmpl/donations_by_year.html +++ b/tmpl/donations_by_year.html @@ -2,9 +2,14 @@ [% config.sitename %]: Donations for [% year %] + [%- INCLUDE head.html -%] [% INCLUDE head_chart.html %] + [%- INCLUDE body_top.html -%] +

    treasurer » donations » year [% year %]

    + +

    Mageia.Org donations for year [% year %]

    Summary

    +
    diff --git a/tmpl/donations_who.html b/tmpl/donations_who.html index aa5208e..3d1f6e0 100644 --- a/tmpl/donations_who.html +++ b/tmpl/donations_who.html @@ -2,8 +2,13 @@ List of people who donated money to Mageia.Org + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » donations » who

    + +

    List of people who donated money to Mageia.Org

    +
    diff --git a/tmpl/head.html b/tmpl/head.html new file mode 100644 index 0000000..dab892b --- /dev/null +++ b/tmpl/head.html @@ -0,0 +1,3 @@ + + + diff --git a/tmpl/index.html b/tmpl/index.html index d5c482a..e6f4f4b 100644 --- a/tmpl/index.html +++ b/tmpl/index.html @@ -3,14 +3,15 @@ [% config.sitename %] treasurer infos + [%- INCLUDE head.html -%] [% INCLUDE head_chart.html %] -

    treasurer.mageia.og

    - - This website provides some informations about Mageia.Org bank accounts - status. + [%- INCLUDE body_top.html -%] +

    treasurer.mageia.og

    +
    +

    Donations

    RSS feed @@ -26,7 +27,9 @@ See more about donations. +
    +

    Accounts status

    +
    +

    Expenses and revenues by category

    [%- @@ -119,7 +124,9 @@
  • [% transactions.by_ca.$ca.c_name %]: [% transactions.by_ca.$ca.revenues %] Euros
  • [%- END -%] +
    +

    Accounts history

    @@ -160,15 +167,21 @@
  • [%- year -%] - Expenses: [% transactions.by_year.$year.expenses %] Revenues: [% transactions.by_year.$year.revenues %]
  • [%- END -%] +
    +

    Who donated money

    You can find a list of people who donated to Mageia.Org. +
    + +

    JSON data

    Some data is available in json format : @@ -179,7 +192,9 @@
  • donations_who.json: list of people who donated money to Mageia.Org.
  • +
    +

    Grisbi

    Mageia.Org accounts are managed using grisbi. @@ -192,11 +207,15 @@ can subscribe to the treasurer-commits mailing list.

    +
    +

    Questions

    For any question related to Mageia.Org accounts or donations you can send an email to treasurer@mageia.org. +
    +

    Source code

    Source code for the tools used to generate this website is available on Mageia svn repository : @@ -207,6 +226,12 @@ svn://svn.mageia.org/svn/soft/mga-treasurer/trunk/ mga-treasurer

    +
    + +
    Last update: [% date.format(last_update, format => '%Y/%m/%d %H:%M:%S') %] +
    + +
    diff --git a/tmpl/transactions_by_ac.html b/tmpl/transactions_by_ac.html index 63cd62c..caf0cbb 100644 --- a/tmpl/transactions_by_ac.html +++ b/tmpl/transactions_by_ac.html @@ -2,8 +2,13 @@ [% config.sitename %]: Transactions for [% account %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » [% account %]

    + +

    Mageia.Org transactions for [% account %]

    Summary

    diff --git a/tmpl/transactions_by_ca.html b/tmpl/transactions_by_ca.html index 12ae583..4e28cda 100644 --- a/tmpl/transactions_by_ca.html +++ b/tmpl/transactions_by_ca.html @@ -2,8 +2,13 @@ [% config.sitename %]: Transactions for [% c_name %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » category : [% c_name %]

    + +

    Mageia.Org transactions for category [% c_name %]

    Summary

    diff --git a/tmpl/transactions_by_month.html b/tmpl/transactions_by_month.html index 2b8c7f7..926b9de 100644 --- a/tmpl/transactions_by_month.html +++ b/tmpl/transactions_by_month.html @@ -2,8 +2,13 @@ [% config.sitename %]: Transactions for [% month %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » month : [% month %]

    + +

    Mageia.Org accounts transactions for month [% month %]

    Summary

    diff --git a/tmpl/transactions_by_pa.html b/tmpl/transactions_by_pa.html index 7880ac1..9611515 100644 --- a/tmpl/transactions_by_pa.html +++ b/tmpl/transactions_by_pa.html @@ -2,8 +2,13 @@ [% config.sitename %]: Transactions for [% who %] + [%- INCLUDE head.html -%] + [%- INCLUDE body_top.html -%] +

    treasurer » who : [% who %]

    + +

    Mageia.Org transactions for [% who %]

    Summary

    diff --git a/tmpl/transactions_by_year.html b/tmpl/transactions_by_year.html index abe7e58..d82127b 100644 --- a/tmpl/transactions_by_year.html +++ b/tmpl/transactions_by_year.html @@ -2,9 +2,14 @@ [% config.sitename %]: Transactions for [% year %] + [%- INCLUDE head.html -%] [% INCLUDE head_chart.html %] + [%- INCLUDE body_top.html -%] +

    treasurer » year : [% year %]

    + +

    Mageia.Org accounts transactions for year [% year %]

    Summary

    -- cgit v1.2.1