Move images + Create page Donate, fix Home (add button Home) + Add footer (donate)
Moved images from doc/images to www/images since they are backend specific, and need not be sitted beside the actual documentation (the 'NOTE' icon might not be taken from the same place when rendered to a PDF later). That way, we'll be able to use those icons elsewhere on the website, without fetching them from the repository. They aren't going to be updated, also, and thus don't need versioning very much.
@ -10,4 +10,13 @@
|
||||
<div id="page_wrapper">
|
||||
<div id="header">
|
||||
<a href="."><img src="images/logoSFLphone<?= ($module == 'home' ? '512x149' : '312x91') ?>.png" /></a>
|
||||
|
||||
|
||||
<?php if ($module != 'home') { ?>
|
||||
<div id="homebutton">
|
||||
<a href="index.php"><img src="images/home.png" alt="Home" /></a>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
</div>
|
BIN
www/images/home.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 329 B After Width: | Height: | Size: 329 B |
Before Width: | Height: | Size: 361 B After Width: | Height: | Size: 361 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 565 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 617 B |
Before Width: | Height: | Size: 623 B After Width: | Height: | Size: 623 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 640 B After Width: | Height: | Size: 640 B |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 345 B |
Before Width: | Height: | Size: 348 B After Width: | Height: | Size: 348 B |
Before Width: | Height: | Size: 355 B After Width: | Height: | Size: 355 B |
Before Width: | Height: | Size: 344 B After Width: | Height: | Size: 344 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 357 B |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 318 B After Width: | Height: | Size: 318 B |
Before Width: | Height: | Size: 259 B After Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
@ -267,6 +267,7 @@ div.exampleblock-content {
|
||||
/** SFLphone specific */
|
||||
#header {
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
#header img {
|
||||
border: 0px;
|
||||
@ -279,3 +280,36 @@ div.exampleblock-content {
|
||||
border-left: 1px #aaaaaa solid;
|
||||
border-right: 1px #aaaaaa solid;
|
||||
}
|
||||
|
||||
#downtown {
|
||||
margin-top: 40px;
|
||||
border-top: 1px solid #bbbbbb;
|
||||
font-size: smaller;
|
||||
padding: 1em 0pt 0pt 0pt;
|
||||
clear: both;
|
||||
color: #777777;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.donate {
|
||||
margin: auto
|
||||
}
|
||||
|
||||
#homebutton {
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 10px;
|
||||
}
|
||||
#homebutton img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.image {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.image .image-title {
|
||||
color: #4D4F3A;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
134
www/templates/page_donate.php
Normal file
@ -0,0 +1,134 @@
|
||||
<p>
|
||||
SFLphone is an <em>Open Source</em> project. This means
|
||||
you can help the project by contributing <strong>time</strong>,
|
||||
<strong>documentation</strong>, <strong>graphics</strong>, <strong>source code</strong> or <strong>translation</strong> services.
|
||||
</p>
|
||||
<p>
|
||||
If you want to encourage us otherwise, your <strong>donations</strong> can help us:
|
||||
</p>
|
||||
<ul>
|
||||
<li>Fund developer resources </li>
|
||||
|
||||
<li>Purchase hardware for development</li>
|
||||
<li>Encourage the actual developers</li>
|
||||
<li>Cope with fees endured in the development</li>
|
||||
</ul>
|
||||
<p>
|
||||
You can donate money securely with <a href="http://www.paypal.com/">PayPal</a>
|
||||
or a credit card right here:
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<table class="donate">
|
||||
|
||||
<tr>
|
||||
<td align=center>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone 10USD donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon010" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
|
||||
<input type="hidden" name="amount" value="10.00" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td align=center>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone 20USD donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon020" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
<input type="hidden" name="amount" value="20.00" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td align=center>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone 50USD donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon050" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
<input type="hidden" name="amount" value="50.00" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td align=center>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone 100USD donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon100" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
<input type="hidden" name="amount" value="100.00" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td align=center>
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone 250USD donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon250" />
|
||||
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
<input type="hidden" name="amount" value="250.00" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
</form>
|
||||
</td>
|
||||
|
||||
<td align=center>
|
||||
|
||||
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
||||
<input type="hidden" name="cmd" value="_xclick" />
|
||||
<input type="hidden" name="business" value="cyrille.beraud@savoirfairelinux.com" />
|
||||
<input type="hidden" name="item_name" value="SFLphone donation" />
|
||||
<input type="hidden" name="item_number" value="sfldon" />
|
||||
<input type="hidden" name="no_note" value="1" />
|
||||
<input type="hidden" name="no_shipping" value="1" />
|
||||
<input type="hidden" name="currency_code" value="USD" />
|
||||
<input type="hidden" name="tax" value="0" />
|
||||
|
||||
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align=center>$10</td>
|
||||
<td align=center>$20</td>
|
||||
<td align=center>$50</td>
|
||||
|
||||
<td align=center>$100</td>
|
||||
<td align=center>$250</td>
|
||||
<td align=center>custom</td>
|
||||
</tr>
|
||||
</table>
|
@ -30,3 +30,9 @@ The project is ongoing well, but your help and contribution is needed to make th
|
||||
<a href="index.php?mod=discuss">Discuss</a> - Subscribe to a mailing list or contact us <br/>
|
||||
<a href="index.php?mod=devel">Develop</a> - Submit patches, work on the code, contribute
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
<div id="downtown">
|
||||
Any help is appreciated, <a href="index.php?mod=donate">donate</a>.
|
||||
</div>
|