Change API
parent
e00b9aa702
commit
d4536f8d84
2
dark.css
2
dark.css
|
@ -5,7 +5,7 @@
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
background: #333;
|
background: #333;
|
||||||
border: 1px solid #444;
|
border: 1px solid #444;
|
||||||
padding: 5px 7px 7px 5px;
|
padding: 5px 10px 7px 10px;
|
||||||
color: #acacac;
|
color: #acacac;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
24
index.html
24
index.html
|
@ -50,62 +50,62 @@
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.challenge_me("rubenwardy", "Lichess");</script>
|
<script>lichess.profile("rubenwardy", "Lichess");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.challenge_me("rubenwardy", "Lichess");</script>
|
<script>lichess.profile("rubenwardy", "Lichess");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.challenge_me("rubenwardy");</script>
|
<script>lichess.profile("rubenwardy");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.challenge_me("rubenwardy");</script>
|
<script>lichess.profile("rubenwardy");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.all_scores("rubenwardy");</script>
|
<script>lichess.profile_scores("rubenwardy");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.all_scores("rubenwardy");</script>
|
<script>lichess.profile_scores("rubenwardy");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.all_scores("rubenwardy", "");</script>
|
<script>lichess.profile_scores("rubenwardy", "");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.all_scores("rubenwardy", "");</script>
|
<script>lichess.profile_scores("rubenwardy", "");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.long_details("rubenwardy");</script>
|
<script>lichess.profile_big("rubenwardy");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.long_details("rubenwardy");</script>
|
<script>lichess.profile_big("rubenwardy");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td>
|
||||||
<script>lichess.long_details("rubenwardy", "My Lichess");</script>
|
<script>lichess.profile_big("rubenwardy", "My Lichess");</script>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<blockcode>
|
<blockcode>
|
||||||
<script>lichess.long_details("rubenwardy", "My Lichess");</script>
|
<script>lichess.profile_big("rubenwardy", "My Lichess");</script>
|
||||||
</blockcode>
|
</blockcode>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
|
@ -10,7 +10,7 @@ lichess.__make_online = function(id) {
|
||||||
$(id + " > img").attr("src", "http://rubenwardy.github.io/lichess_widgets/lichess_online.png");
|
$(id + " > img").attr("src", "http://rubenwardy.github.io/lichess_widgets/lichess_online.png");
|
||||||
}
|
}
|
||||||
|
|
||||||
lichess.challenge_me = function(author, text) {
|
lichess.profile = function(author, text) {
|
||||||
serial++;
|
serial++;
|
||||||
var id = serial;
|
var id = serial;
|
||||||
if (text == null)
|
if (text == null)
|
||||||
|
@ -29,7 +29,7 @@ lichess.challenge_me = function(author, text) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
lichess.all_scores = function(author, text) {
|
lichess.profile_scores = function(author, text) {
|
||||||
serial++;
|
serial++;
|
||||||
var id = serial;
|
var id = serial;
|
||||||
if (text == undefined)
|
if (text == undefined)
|
||||||
|
@ -52,7 +52,7 @@ lichess.all_scores = function(author, text) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
lichess.long_details = function(author, text) {
|
lichess.profile_big = function(author, text) {
|
||||||
serial++;
|
serial++;
|
||||||
var id = serial;
|
var id = serial;
|
||||||
if (text == undefined)
|
if (text == undefined)
|
||||||
|
|
Loading…
Reference in New Issue