mirror of https://github.com/shadowfacts/type.git
add certificate for complesion
This commit is contained in:
parent
f8e8a9e3e7
commit
dc90c045f2
|
@ -13,9 +13,12 @@
|
|||
<div id="content">
|
||||
<p id="congrats"></p>
|
||||
<p>Return to <a id="repo">repo</a> or <a href="./">start</a>.</p>
|
||||
<p>download <a id="certificate">certificate</a> of completion</p>
|
||||
</div>
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
|
||||
<script src='build/pdfmake.min.js'></script>
|
||||
<script src='build/vfs_fonts.js'></script>
|
||||
<script src="./js/complete.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -12,3 +12,7 @@ $("#repo").attr("href", `./repo.html#${repo}`);
|
|||
$("#back").click(() => {
|
||||
window.location.href = `./type.html#${hash}`;
|
||||
});
|
||||
|
||||
$("#certificate").click(() => {
|
||||
var docDefinition = { content: 'Certificate for complesion\nCongratulation! you completed!!\n https://github.com/${repoName}/${file} \n Powerd by https://github.com/daisukeokaoss/type' };
|
||||
});
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue