1
0
mirror of https://github.com/msberends/AMR.git synced 2025-07-08 12:31:58 +02:00

resistance predict update

This commit is contained in:
2019-02-11 10:27:10 +01:00
parent 96495d363a
commit 76ed26d27e
39 changed files with 1296 additions and 549 deletions

View File

@ -23,12 +23,12 @@
/* R for Data Science (r4ds) */
#r4ds a {
display: inline;
display: inline-flex;
align-items: center;
text-align: right;
}
#r4ds * {
text-align: center;
display: block;
margin: 0 auto;
#r4ds img {
margin-left: 10px;
}
/* class for footer */

View File

@ -34,15 +34,19 @@ $( document ).ready(function() {
window.location.replace(url_new);
}
$('#sidebar').prepend(
'<div id="r4ds">' +
' <a href="https://r4ds.had.co.nz/">' +
' <img src="../../AMR/cover_r4ds.png" width="25%">' +
' </a>' +
' <p>Learn R reading this great book!</p>' +
' <p>Or read it free online: <a href="https://r4ds.had.co.nz/" target="_blank">r4ds.co.nz</a>.</p>' +
' <hr>' +
'</div>');
// PR for 'R for Data Science' on How To pages
if ($(".template-article").length > 0) {
$('#sidebar').prepend(
'<div id="r4ds">' +
' <a href="https://r4ds.had.co.nz/">Learn R reading this great book: R for Data Science.' +
' <br>' +
' <br>' +
' Click to read it online - it was published for free.' +
' <img src="../../AMR/cover_r4ds.png" height="100px">' +
' </a> ' +
' <hr>' +
'</div>');
}
$('footer').html(
'<div>' +