Debian Codegraph @

manual/templates/about.html

raw
1 <script type="text/javascript">
2 function toggle_languages_menu() {
3 var m = document.getElementById('languages-menu');
4 if (m.style.display === "block") m.style.display = "none";
5 else m.style.display = "block";
6 }
7 </script>
8
9 <div style="text-align: center">
10 <a href="{{ homepage_url }}" title="calibre homepage" id="calibre-homepage-logo"><img src="{{ pathto('_static/logo.png', 1) }}" /></a>
11 <br/>
12 <form id="donate_form" action="https://www.paypal.com/cgi-bin/webscr" method="post" title="{{ support_tooltip }}">
13 <style>
14 #donate_form input[type=submit] {
15 border-radius: 6px;
16 box-shadow: rgb(255, 246, 175) 0px 1px 0px 0px;
17 background: linear-gradient(rgb(255, 236, 100) 5%, rgb(255, 171, 35) 100%) rgb(255, 236, 100);
18 border: 1px solid rgb(255, 170, 34);
19 display: inline-block;
20 cursor: pointer;
21 color: rgb(51, 51, 51);
22 font-family: Arial;
23 font-size: 15px;
24 font-weight: bold;
25 padding: 6px 24px;
26 text-decoration: none;
27 text-shadow: rgb(255, 238, 102) 0px 1px 0px;
28 }
29 #donate_form input[type=submit]:hover {
30 background: linear-gradient(rgb(255, 171, 35) 5%, rgb(255, 236, 100) 100%) rgb(255, 171, 35);
31 }
32 #donate_form input[type=submit]:focus {
33 outline: 0;
34 }
35 </style>
36 <input type="hidden" name="cmd" value="_s-xclick" />
37 <input type="hidden" name="hosted_button_id" value="AF4H3B8QVDG6N" />
38 <input type="submit" name="submit" alt="{{ support_tooltip }}" value="{{ support_text }}" />
39 <img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1" />
40 </form>
41 </div>
42 {%- if not embedded %}
43 <div style="margin-top: 1.5ex"><a href="#" onclick="toggle_languages_menu(); return false;"><img src="{{ pathto('_static/languages.svg', 1) }}" style="width: 1.2em"/> {{ change_language_text }}</a></div>
44 <ul id="languages-menu" style="display:none">
45 {%- for lang in other_languages %}
46 <li><a href="{{ localized_path(lang[0], pagename) }}">{{ lang[1] }}</a></li>
47 {%- endfor %}
48 </ul>
49 {%- endif %}