Inlined version now correctly displays compile time in place of the download link. Fixes #14.

This commit is contained in:
n1474335 2016-12-03 00:40:51 +00:00
parent 43fa4370a3
commit 19b0a972d8
5 changed files with 8 additions and 8 deletions

View File

@ -263,7 +263,7 @@ module.exports = function(grunt) {
process: function(content, srcpath) {
// TODO: Do all this in Jade
content = content.replace(
'<a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;" download>Download CyberChef<img src="images/cloud_computing_download-plain-24x24.png" /></a>',
'<a href="cyberchef.htm" style="float: left; margin-left: 10px; margin-right: 80px;" download>Download CyberChef<img src="images/download-24x24.png" /></a>',
'<span style="float: left; margin-left: 10px;">Compile time: ' + grunt.template.today("dd/mm/yyyy HH:MM:ss") + ' UTC</span>');
return grunt.template.process(content, template_options);
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
202 source files
104191 lines
203 source files
104209 lines
4.0M size
136 JavaScript source files