ソースを参照

Merge pull request #535 from rjsachse/master

Added file upload accept *.bin, *.json
Chris Mullins 6 年 前
コミット
7c1e6add98
共有2 個のファイルを変更した4 個の追加4 個の削除を含む
  1. 2 2
      dist/index.html.gz.h
  2. 2 2
      web/src/index.html

ファイルの差分が大きいため隠しています
+ 2 - 2
dist/index.html.gz.h


+ 2 - 2
web/src/index.html

@@ -416,7 +416,7 @@
               <label class="input-group-btn">
                 <span class="btn btn-primary">
                   Browse
-                  <input type="file" name="file" style="display: none;">
+                  <input type="file" name="file" accept=".bin" style="display: none;">
                 </span>
               </label>
 
@@ -507,7 +507,7 @@
                 <label class="input-group-btn">
                   <span class="btn btn-primary">
                     Browse
-                    <input type="file" name="file" style="display: none;">
+                    <input type="file" name="file" accept=".json" style="display: none;">
                   </span>
                 </label>