소스 검색

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>