Browse Source

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

n1474335 8 năm trước cách đây
mục cha
commit
19b0a972d8
5 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      Gruntfile.js
  2. 0 0
      build/prod/cyberchef.htm
  3. 0 0
      build/prod/index.html
  4. 0 0
      build/prod/scripts.js
  5. 2 2
      src/static/stats.txt

+ 1 - 1
Gruntfile.js

@@ -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);
                     }

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
build/prod/cyberchef.htm


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
build/prod/index.html


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
build/prod/scripts.js


+ 2 - 2
src/static/stats.txt

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

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác