forked from revolunet/PythonBooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
179 lines (155 loc) · 7.95 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>PythonBooks - Learn Python the easy way !</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<meta name="description" content="PythonBooks showcase the bests free ebooks about the Python programming language. The easiest way to learn Python for free! ">
<meta name="author" content="Revolunet">
<link href="http://fonts.googleapis.com/css?family=Ubuntu&subset=latin" rel="stylesheet" type="text/css">
<link href='http://fonts.googleapis.com/css?family=Gentium+Book+Basic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="./css/pythonbooks.css?2908" media="all">
<!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]-->
<link rel="shortcut icon" href="./img/ico/favicon.ico">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="./img/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="./img/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="./img/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="./assets/ico/apple-touch-icon-57-precomposed.png">
</head>
<body>
<a href="https://github.com/revolunet/PythonBooks" class="github"><img src="https://s3.amazonaws.com/github/ribbons/forkme_left_white_ffffff.png" alt="Fork me on GitHub"></a>
<!-- ==========================
NAVBAR
=========================== -->
<div class="navbar navbar-fixed-top pbhead">
<img src="./img/logo_pythonbooks.png" alt="python tutorials" width="300" height="50">
<h1>The best free Python resources</h1>
<a href="http://www.revolunet.com" target="_blank" title="revolunet" id="headerlink">by revolunet - rich web apps for desktop and mobile</a>
<ul id="social_buttons">
<li>
<a href="https://twitter.com/share" class="twitter-share-button" data-text="Here are the best Python ressources to learn #python for free ! #webdevelopment #python" data-via="revolunet"></a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</li>
</ul>
</div>
<!-- adding loader -->
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<div class="container">
<!-- ==========================
JOBS
=========================== -->
<!--
<div class="row">
<a class="recrutement span12" href="mailto:[email protected]?subject=work at revolunet" target="_blank"> {{ • We're hiring talented web developers in Paris, France • }}</a>
<div class="pythonbooks span12">
<p>See also :</p>
<a href="http://jsbooks.revolunet.com/" target="_blank">
<img src="./img/logo_jsbooks.png" alt="Javascript Books" title="Learn Javascript for free !" width="100" height="27">
</a>
</div>
</div>
-->
<div class="row">
<div class="jsbooks span12">
<p>See also :</p>
<a href="http://jsbooks.revolunet.com/" target="_blank">
<img src="./img/logo_jsbooks.png" alt="Javascript Books" title="Learn Javascript for free !" width="" height="14">
</a>
</div>
<div class="span12 row-fluid">
<p class="span1">Filter by :</p>
<ul id="filterBy">
<li><a href="#" data-level="any" class="active" title="filter books by All">All</a></li>
<li><a href="#" data-level="Beginner" title="filter books by Beginner">Beginner</a></li>
<li><a href="#" data-level="Intermediate" title="filter books by Intermediate">Intermediate</a></li>
<li><a href="#" data-level="Advanced" title="filter books by Advanced">Advanced</a></li>
</ul>
</div>
</div>
<!-- ///////// BOOKS -->
<div class="row" id="issueswrap"></div>
</div>
<!-- ==========================
FOOTER
=========================== -->
<div class="footer">
<hr>
<a href="http://www.revolunet.com" target="_blank" onclick="_gaq.push(['_trackEvent', 'pythonbooks', 'clic footer'])" >
<img src="img/revologo.png" width="150" height="29" alt="Revolunet">
</a>
<p>We provide high quality web applications for desktop and mobile.</p>
<a href="mailto:[email protected]" target="_blank" alt="revolunet" id="footerlink">Get in touch</a> <br>
<a href="https://twitter.com/revolunet" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">Follow @revolunet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="./js/mustache.js"></script>
<script type="text/javascript">
function randOrd(){
return (Math.round(Math.random())-0.5);
}
function filterBy() {
var // var's sort by
active = 'active',
btFilterBy = $('#filterBy').find('a'),
booksection = $('.booksection');
// interaction filter by level
btFilterBy.on('click', function(e) {
e.preventDefault();
var level = $(this).data('level');
if (level==='any') {
// restore all books
booksection.show();
} else {
booksection.not('.' + level).fadeOut('fast');
booksection.filter('.' + level).fadeIn('fast');
}
btFilterBy.removeClass(active);
$(this).addClass(active);
});
}
$(document).ready(function() {
$('body').addClass('loaded');
$.getJSON('./issues.json?' + Math.random(), function(data) {
var template = $('#booktpl').html();
data.books.sort(randOrd);
var html = Mustache.to_html(template, data);
$('#issueswrap').html(html);
filterBy();
});
$('#mod_infos').hide();
$('a.#infos').on('click', function(){
$('#mod_infos').slideToggle();
});
});
</script>
<script id="booktpl" type="text/template">
{{#books}}
<div class="span4 booksection {{ level }}">
<a target="_blank" href="{{url}}">
<div class="view"></div>
<div title="{{ title }}" id="cover" style="background:black url('{{cover}}') no-repeat center;-webkit-background-size:cover;-moz-background-size:cover;background-size:cover">
</div>
<h2 title="{{ title }}">{{title}}</h2>
</a>
<h3><a href="{{authorUrl}}" target="_blank">{{author}}</a></h3>
<p class="level">{{level}}</p>
<p class="description">{{info}}</p>
</div>
{{/books}}
</script>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-294393-1");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>