Added button to upgrade mangaDownloader via website
This commit is contained in:
@@ -10,8 +10,9 @@
|
|||||||
<div class="header">Super Awesome Mange Downloading and Maybe Someday Viewing Thing</div>
|
<div class="header">Super Awesome Mange Downloading and Maybe Someday Viewing Thing</div>
|
||||||
<div class="nav" align="left">
|
<div class="nav" align="left">
|
||||||
<ul>
|
<ul>
|
||||||
<li><button class=button onclick="activeReturn()">Active</button>
|
<li><button class=button onclick="activeReturn()">Active</button></li>
|
||||||
<li><button class=button onclick="downloadReturn()">Download</button>
|
<li><button class=button onclick="downloadReturn()">Download</button></li>
|
||||||
|
<li><button class=button onclick="upgrade()">Update</button></li>
|
||||||
<!-- <li><a href="http://google.com"><button class=button>google<>/button></a></li>
|
<!-- <li><a href="http://google.com"><button class=button>google<>/button></a></li>
|
||||||
<li><button class=button onclick="clickTest()">asdfl</button></li>-->
|
<li><button class=button onclick="clickTest()">asdfl</button></li>-->
|
||||||
</ul>
|
</ul>
|
||||||
@@ -28,6 +29,11 @@
|
|||||||
<script>
|
<script>
|
||||||
var manga = '';
|
var manga = '';
|
||||||
|
|
||||||
|
function upgrade() {
|
||||||
|
fetch('/upgrade', {
|
||||||
|
method: 'PUT'
|
||||||
|
})
|
||||||
|
}
|
||||||
function activeReturn() {
|
function activeReturn() {
|
||||||
document.getElementById('main').innerHTML= '';
|
document.getElementById('main').innerHTML= '';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user