mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
---
|
|
permalink: /fancy-index/after.html
|
|
---
|
|
{% raw %}
|
|
</div>
|
|
{% endraw %}
|
|
</div>
|
|
</div><!--/container -->
|
|
</div><!--/mirrors -->
|
|
|
|
<!--
|
|
ref fa-cube icon from before.html
|
|
{% fa_svg fas.fa-cube %}
|
|
-->
|
|
{% include footer.html %}
|
|
|
|
</body>
|
|
{% raw %}
|
|
{% endraw %}
|
|
<script src="/static/js/index.js?{{ site.data['hash'] }}"></script>
|
|
{% raw %}
|
|
<script>
|
|
document.getElementById("list").setAttribute("class", "table");
|
|
$(function(){
|
|
$("#list tbody tr td:nth-child(3)").each(function(k,date){
|
|
var d = new Date($(date).text());
|
|
if(!isNaN(d.getTime())){
|
|
var date_str = ('000' + d.getFullYear()).substr(-4) + "-"
|
|
+ ('0' + (d.getMonth() + 1)).substr(-2) + "-"
|
|
+ ('0' + d.getDate()).substr(-2)
|
|
+ (" " + ('0' + d.getHours()).substr(-2) + ":"
|
|
+ ('0' + d.getMinutes()).substr(-2));
|
|
$(date).text(date_str);
|
|
}
|
|
})
|
|
});
|
|
</script>
|
|
<style>
|
|
#list tbody td, #path{
|
|
font-family: 'Fira Code Retina', 'Fira Code', 'Fira Mono', 'JetBrains Mono', 'Source Code Pro', 'Consolas', 'Menlo', 'Monaco', monospace;
|
|
}
|
|
</style>
|
|
{% endraw %}
|
|
</html>
|
|
<!--
|
|
vim: ts=2 sts=2 sw=2 noexpandtab
|
|
-->
|