mirror of
https://github.com/rakion99/shelter-editor.git
synced 2026-09-22 18:12:15 +00:00
small edit
editor and decrypt/encrypt can load more large files moved a bit css
This commit is contained in:
1 parent
ddda052e31
commit
9bf89dc7bf
5 files changed
+7
-5
No files matched your search
@@ -21,6 +21,7 @@ Copyright (C) 2017
|
||||
<script src="js/jquery-2.1.4.min.js"></script>
|
||||
</head>
|
||||
<body onload="fossdLoad();">
|
||||
<h1>Large Files can take more time to Decrypt/Encrypt!</h1>
|
||||
<p>Decrypt Save (.sav file)
|
||||
<input type="file" id="sav_file2" name="sav_file2">
|
||||
</p>
|
||||
|
||||
+1
-1
@@ -199,7 +199,7 @@ a.tab:focus {
|
||||
line-height: 25px;
|
||||
top: 40%;
|
||||
left: 50%;
|
||||
margin-top: -50px;
|
||||
margin-top: -100px;
|
||||
margin-left: -175px;
|
||||
}
|
||||
|
||||
|
||||
@@ -441,6 +441,7 @@ Copyright (C) 2017
|
||||
</div>
|
||||
<br>
|
||||
<div class="instructions">
|
||||
<p>Large Files can take more time to load!</p>
|
||||
Drag a save file here (e.g. Vault1.sav) <br />
|
||||
or select one here <input type="file" id="sav_file" name="sav_file" />
|
||||
<br /><br/><br />
|
||||
|
||||
+2
-2
@@ -1212,8 +1212,8 @@ function handleFileSelect(evt) {
|
||||
evt.preventDefault();
|
||||
var f = evt.target.files[0];
|
||||
var fileName = f.name;
|
||||
if (f.size > 1e7) {
|
||||
throw "File exceeds maximum size of 10MB"
|
||||
if (f.size > 3e7) {
|
||||
throw "File exceeds maximum size of 30MB"
|
||||
}
|
||||
if (f) {
|
||||
var reader = new FileReader;
|
||||
|
||||
+2
-2
@@ -73,8 +73,8 @@ function handleFileSelect(evt) {
|
||||
evt.preventDefault();
|
||||
var f = evt.target.files[0];
|
||||
var fileName = f.name;
|
||||
if (f.size > 1e7) {
|
||||
throw "File exceeds maximum size of 10MB"
|
||||
if (f.size > 3e7) {
|
||||
throw "File exceeds maximum size of 30MB"
|
||||
}
|
||||
if (f) {
|
||||
var reader = new FileReader;
|
||||
|
||||
Reference in new issue
Block a user