Browse Source

Fix missed html

Avetisyan Karen 7 years ago
parent
commit
3f0338ec22
3 changed files with 135 additions and 17 deletions
  1. BIN
      modules/HTTP_Server/fs/ups_history.html
  2. 119 2
      modules/HTTP_Server/fsdata.c
  3. 16 15
      web_interface/Gruntfile.js

BIN
modules/HTTP_Server/fs/ups_history.html


+ 119 - 2
modules/HTTP_Server/fsdata.c

@@ -2798,6 +2798,115 @@ Content-Encoding: gzip
 0x37,0x0a,0x2f,0xcd,0x40,0xe7,0x0e,0xa7,0x3f,0x76,0xe4,0x37,0xa3,0xff,0x03,0x11,
 0x3e,0xa1,0xe5,0x43,0x3a,0x00,0x00,};
 
+static const unsigned int dummy_align__ups_history_html = 10;
+static const unsigned char data__ups_history_html[] = {
+/* /ups_history.html (18 chars) */
+0x2f,0x75,0x70,0x73,0x5f,0x68,0x69,0x73,0x74,0x6f,0x72,0x79,0x2e,0x68,0x74,0x6d,
+0x6c,0x00,0x00,0x00,
+
+/* HTTP header */
+/* "HTTP/1.1 200 OK
+" (17 bytes) */
+0x48,0x54,0x54,0x50,0x2f,0x31,0x2e,0x31,0x20,0x32,0x30,0x30,0x20,0x4f,0x4b,0x0d,
+0x0a,
+/* "Server: lwIP/1.3.1 (http://savannah.nongnu.org/projects/lwip)
+" (63 bytes) */
+0x53,0x65,0x72,0x76,0x65,0x72,0x3a,0x20,0x6c,0x77,0x49,0x50,0x2f,0x31,0x2e,0x33,
+0x2e,0x31,0x20,0x28,0x68,0x74,0x74,0x70,0x3a,0x2f,0x2f,0x73,0x61,0x76,0x61,0x6e,
+0x6e,0x61,0x68,0x2e,0x6e,0x6f,0x6e,0x67,0x6e,0x75,0x2e,0x6f,0x72,0x67,0x2f,0x70,
+0x72,0x6f,0x6a,0x65,0x63,0x74,0x73,0x2f,0x6c,0x77,0x69,0x70,0x29,0x0d,0x0a,
+/* "Content-Length: 1173
+" (18+ bytes) */
+0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x2d,0x4c,0x65,0x6e,0x67,0x74,0x68,0x3a,0x20,
+0x31,0x31,0x37,0x33,0x0d,0x0a,
+/* "Connection: Close
+" (19 bytes) */
+0x43,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x69,0x6f,0x6e,0x3a,0x20,0x43,0x6c,0x6f,0x73,
+0x65,0x0d,0x0a,
+/* "Content-type: text/html
+Content-Encoding: gzip
+
+" (51 bytes) */
+0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x2d,0x74,0x79,0x70,0x65,0x3a,0x20,0x74,0x65,
+0x78,0x74,0x2f,0x68,0x74,0x6d,0x6c,0x0d,0x0a,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,
+0x2d,0x45,0x6e,0x63,0x6f,0x64,0x69,0x6e,0x67,0x3a,0x20,0x67,0x7a,0x69,0x70,0x0d,
+0x0a,0x0d,0x0a,
+/* raw file data (1173 bytes) */
+0x1f,0x8b,0x08,0x00,0x00,0x00,0x00,0x00,0x04,0x0a,0x8d,0x56,0xdd,0x6e,0xdc,0x44,
+0x14,0x7e,0x15,0xd7,0x54,0xd1,0x5a,0x8a,0xbd,0x59,0xb8,0x41,0x64,0xed,0x0a,0x85,
+0x5e,0x54,0x42,0x10,0x29,0x14,0xc1,0x55,0x34,0xb6,0xcf,0xae,0xa7,0x99,0x1d,0xbb,
+0xe3,0xb1,0x37,0x5b,0x82,0x94,0xa4,0x14,0x2e,0x8a,0x54,0x9a,0x0b,0x54,0x21,0xa1,
+0xaa,0x3c,0x41,0x04,0xaa,0x28,0x3f,0x6d,0x5f,0x61,0xfc,0x46,0x9c,0x99,0xb1,0x17,
+0xa7,0xd9,0x44,0x7b,0xb1,0xeb,0xf9,0x39,0xff,0xe7,0x3b,0xe7,0xcc,0xf8,0xc6,0x27,
+0x9f,0xef,0x7c,0xf1,0xf5,0xee,0x6d,0x27,0x93,0x33,0x16,0x8d,0xf5,0xbf,0xc3,0x08,
+0x9f,0x86,0xae,0x8b,0x3b,0x20,0x69,0x34,0x9e,0x81,0x24,0x4e,0x92,0x11,0x51,0x82,
+0x0c,0xdd,0x4a,0x4e,0xfc,0x0f,0xf1,0xce,0x9c,0x66,0x52,0x16,0x3e,0xdc,0xaf,0x68,
+0x1d,0xba,0x5f,0xf9,0x77,0x3f,0xf6,0x77,0xf2,0x59,0x41,0x24,0x8d,0x19,0xb8,0x4e,
+0x92,0x73,0x09,0x1c,0x59,0xee,0xdc,0x0e,0x21,0x9d,0x42,0xc7,0xc4,0xc9,0x0c,0x42,
+0xb7,0xa6,0x30,0x2f,0x72,0x21,0x7b,0x74,0x73,0x9a,0xca,0x2c,0x4c,0xa1,0xa6,0x09,
+0xf8,0x66,0xb3,0x49,0x39,0x95,0x94,0x30,0xbf,0x4c,0x08,0x83,0x70,0xb4,0x39,0x23,
+0x87,0x74,0x56,0xcd,0x96,0xfb,0xaa,0x04,0x61,0x36,0x04,0x55,0x86,0x5b,0xa8,0x42,
+0x52,0xc9,0x20,0x52,0x3f,0x37,0x0f,0x9b,0x63,0xf5,0x5a,0x9d,0xab,0x7f,0x9c,0xe6,
+0x44,0xbd,0x69,0x4e,0x9a,0x53,0xfc,0x7f,0x82,0x47,0xaf,0x9a,0x27,0x8e,0x7a,0xa6,
+0x9e,0xaa,0xe7,0xe3,0xa1,0xa5,0x1e,0x33,0xca,0x0f,0x9c,0x4c,0xc0,0x24,0x74,0x67,
+0x84,0xf2,0x20,0x29,0x4b,0xd7,0x11,0xc0,0x42,0xb7,0x94,0x0b,0x06,0x65,0x06,0x20,
+0x51,0x76,0x99,0x08,0x5a,0x48,0x47,0x2e,0x0a,0x74,0x40,0xc2,0xa1,0x1c,0xde,0x23,
+0x35,0xb1,0xa7,0xae,0x53,0x8a,0x24,0x74,0x45,0xce,0x20,0xb8,0x57,0x22,0xf1,0xd0,
+0x9e,0xe3,0xc2,0x86,0x31,0xce,0xd3,0x45,0x34,0x4e,0x69,0xed,0x24,0x8c,0x94,0x65,
+0xe8,0x72,0x52,0xc7,0x44,0x38,0xf6,0xe3,0xa7,0x30,0x21,0x15,0x93,0xdd,0x76,0x42,
+0x0f,0x21,0xf5,0x65,0x5e,0xa0,0xa4,0x4b,0x3c,0xbe,0x96,0x08,0xc2,0x5e,0x45,0x63,
+0xd2,0x9a,0x4e,0x79,0x0a,0x87,0x81,0x4e,0x21,0x06,0xd5,0xea,0x60,0xf9,0x34,0xd7,
+0xb6,0x10,0xfc,0xa1,0x98,0xee,0xbf,0xe3,0x78,0xcf,0x75,0x68,0x8a,0x3e,0x03,0xaf,
+0x7c,0x8a,0xf9,0x6a,0x49,0x2b,0xd6,0xf1,0xa3,0x71,0x9d,0x45,0xb8,0xb4,0xd4,0x7a,
+0x11,0x61,0xc8,0x56,0x2a,0x8e,0xd4,0x73,0x75,0x8e,0x91,0x3f,0x57,0xff,0xaa,0x97,
+0xcd,0x69,0x73,0xdc,0x3c,0xb6,0xda,0x35,0x7d,0x9f,0x07,0xc1,0x24,0x29,0x9f,0x96,
+0xd6,0xde,0x48,0xfd,0x8a,0x6c,0x98,0x23,0x64,0x7d,0xa3,0xfe,0x52,0x7f,0xab,0x57,
+0xab,0xd9,0x28,0x9f,0xe4,0x1d,0xcb,0x33,0xf5,0xba,0xf9,0x0e,0x93,0x7a,0x8c,0xba,
+0xce,0x9b,0xef,0x75,0x62,0x57,0x33,0x55,0x45,0xb9,0x9f,0xd1,0x52,0xe6,0x62,0x71,
+0x31,0x3c,0x24,0x91,0xb4,0x46,0x60,0xf6,0xe1,0xf2,0xbf,0x88,0x61,0x85,0x15,0x61,
+0xc3,0xd6,0x4b,0x81,0x86,0x35,0x62,0x04,0xc3,0x6f,0x62,0x57,0x56,0x31,0x06,0x64,
+0x82,0x11,0x69,0xf3,0x9d,0x08,0x20,0x12,0xf6,0xaa,0xf8,0x33,0x52,0xd3,0x29,0x16,
+0x43,0xce,0x07,0xde,0x76,0x0f,0x0e,0x26,0x0f,0x3d,0x81,0x73,0x41,0x8a,0xa2,0x13,
+0xd7,0x16,0x0d,0x8a,0xcb,0x46,0x17,0xcc,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,0xfe,0xe8,
+0xfc,0xc5,0x6c,0x5f,0xfb,0x8a,0x1d,0xeb,0x05,0x76,0x83,0x47,0xba,0x74,0xcd,0xf0,
+0x3f,0x6d,0x7e,0xc4,0x8e,0xe4,0xec,0xec,0x7d,0xd9,0xb9,0xd6,0x15,0x0f,0x72,0x4c,
+0x28,0x63,0x08,0x9f,0x76,0x56,0x5e,0x74,0xb9,0x3b,0x34,0x73,0x7c,0x8d,0xa7,0x80,
+0x79,0x49,0x5c,0x7c,0x0a,0x5c,0xcb,0x15,0xf5,0xf2,0x38,0xf2,0x36,0x6f,0x0e,0xdc,
+0x3e,0x5e,0xbd,0x20,0xe7,0x07,0xb0,0xc0,0x7a,0xc1,0xb7,0xc3,0xa4,0xe2,0x38,0xb9,
+0x70,0xb0,0x80,0xf7,0x0d,0x1c,0x1d,0x0d,0x20,0x9c,0xe3,0xf0,0xcf,0xe7,0x01,0xd4,
+0x88,0x6f,0x6f,0xbb,0xd6,0xef,0x8a,0x10,0x02,0x64,0xd8,0xc9,0x53,0xa4,0x80,0x60,
+0x9e,0xd1,0x24,0xdb,0x16,0x20,0x2b,0xc1,0xdd,0xd1,0x07,0x6e,0x18,0xf2,0x5b,0x83,
+0x9e,0xc6,0x1e,0x72,0xde,0xd1,0x5b,0x13,0x56,0x81,0xe7,0x6d,0xde,0x18,0x79,0x1f,
+0xd5,0x39,0x4d,0x9d,0xad,0x6f,0xfb,0xe3,0xcc,0x3c,0x1c,0xff,0x03,0x25,0x74,0xce,
+0x91,0x48,0x0a,0x00,0x00,};
+
 
 
 const struct fsdata_file file__favicon_ico[] = { {
@@ -2880,6 +2989,14 @@ sizeof(data__settings_html) - 16,
 1,
 }};
 
-#define FS_ROOT file__settings_html
-#define FS_NUMFILES 10
+const struct fsdata_file file__ups_history_html[] = { {
+file__settings_html,
+data__ups_history_html,
+data__ups_history_html + 20,
+sizeof(data__ups_history_html) - 20,
+1,
+}};
+
+#define FS_ROOT file__ups_history_html
+#define FS_NUMFILES 11
 

+ 16 - 15
web_interface/Gruntfile.js

@@ -4,18 +4,18 @@ module.exports = function (grunt) {
     pkg: grunt.file.readJSON('package.json'),
     cssmin: {
       wui: {
-         expand: true,
-         cwd: 'src/wui',
-         src: ['*.css', '!*.min.css'],
-         dest: 'src/wui',
-         ext: '.min.css'
+        expand: true,
+        cwd: 'src/wui',
+        src: ['*.css', '!*.min.css'],
+        dest: 'src/wui',
+        ext: '.min.css'
       },
       upload: {
-         expand: true,
-         cwd: 'src/upload',
-         src: ['*.css', '!*.min.css'],
-         dest: 'src/upload',
-         ext: '.min.css'
+        expand: true,
+        cwd: 'src/upload',
+        src: ['*.css', '!*.min.css'],
+        dest: 'src/upload',
+        ext: '.min.css'
       }
     },
     uglify: {
@@ -61,11 +61,12 @@ module.exports = function (grunt) {
           minifyJS : true
         },
         files: {
-          'src/wui/login.min.html':     'src/wui/login.html',
-          'src/wui/index.min.html':     'src/wui/index.html',
-          'src/wui/settings.min.html':  'src/wui/settings.html',
-          'src/wui/info.min.html':      'src/wui/info.html',
-          'src/wui/history.min.html':   'src/wui/history.html'
+          'src/wui/login.min.html':       'src/wui/login.html',
+          'src/wui/index.min.html':       'src/wui/index.html',
+          'src/wui/settings.min.html':    'src/wui/settings.html',
+          'src/wui/info.min.html':        'src/wui/info.html',
+          'src/wui/history.min.html':     'src/wui/history.html',
+          'src/wui/ups_history.min.html': 'src/wui/ups_history.html'
         }
       },
       upload: {