Compare commits
No commits in common. "2b053e7c1a73d747a16ad85eaa5151d6f4819246" and "a9dc5f6f654a42b2fa2d836adfd3b370856ecad9" have entirely different histories.
2b053e7c1a
...
a9dc5f6f65
|
|
@ -70,7 +70,6 @@ a {
|
||||||
}
|
}
|
||||||
.folder {
|
.folder {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 16pt;
|
|
||||||
}
|
}
|
||||||
.target {
|
.target {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
@ -89,21 +88,6 @@ a {
|
||||||
.hide {
|
.hide {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
#reload {
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
position: fixed;
|
|
||||||
z-index: 100;
|
|
||||||
color: var(--primary-color);
|
|
||||||
background-color: var(--body-bg);
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 16pt;
|
|
||||||
cursor: pointer;
|
|
||||||
padding: 0.5em;
|
|
||||||
margin: 0.25em;
|
|
||||||
border: 2px solid var(--box-border);
|
|
||||||
border-radius: 10px;
|
|
||||||
}
|
|
||||||
#parsebooks {
|
#parsebooks {
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
|
|
||||||
|
|
@ -37,8 +37,9 @@ $curpath = $_SESSION['bookdir'];
|
||||||
<input placeholder="Enter Address" name="edit_kindle" id="edit_kindle" size="40" required>
|
<input placeholder="Enter Address" name="edit_kindle" id="edit_kindle" size="40" required>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id='reload' class='hide'>R</div>
|
<div id='parsebooks' class='hide'>
|
||||||
<div id='parsebooks' class='hide'>Parse</div>
|
Parse
|
||||||
|
</div>
|
||||||
<script type='text/javascript' src='core/jquery-3.6.3.min.js'></script>
|
<script type='text/javascript' src='core/jquery-3.6.3.min.js'></script>
|
||||||
<script type='text/javascript' src='core/jquery-ui-1.14.1/jquery-ui.min.js'></script>
|
<script type='text/javascript' src='core/jquery-ui-1.14.1/jquery-ui.min.js'></script>
|
||||||
<script type='text/javascript' src='core/jquery.toast.min.js'></script>
|
<script type='text/javascript' src='core/jquery.toast.min.js'></script>
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ $(document).ready(function() {
|
||||||
getContents();
|
getContents();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
$("#reload").on("click", function() { location.reload(true); });
|
|
||||||
$("#parsebooks").on("click", parseBooks);
|
$("#parsebooks").on("click", parseBooks);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -76,14 +75,11 @@ function getContents() {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
admin = data.admin;
|
admin = data.admin;
|
||||||
if ( admin ) {
|
if ( admin ) $("#parsebooks").removeClass("hide");
|
||||||
$("#reload").removeClass("hide");
|
|
||||||
$("#parsebooks").removeClass("hide");
|
|
||||||
}
|
|
||||||
if ( data.kindlemail != kindlemail ) {
|
if ( data.kindlemail != kindlemail ) {
|
||||||
kindlemail = data.kindlemail;
|
kindlemail = data.kindlemail;
|
||||||
}
|
|
||||||
showKindleMail();
|
showKindleMail();
|
||||||
|
}
|
||||||
if ( data.bookdir != currentpath ) {
|
if ( data.bookdir != currentpath ) {
|
||||||
currentpath = data.bookdir;
|
currentpath = data.bookdir;
|
||||||
if ( data.bookdirname != "" ) {
|
if ( data.bookdirname != "" ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user