Added WebDAV syncing
This commit is contained in:
parent
b9e8278689
commit
d5518a164e
13 changed files with 284 additions and 70 deletions
41
settings.html
Normal file
41
settings.html
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Custom Web - Settings</title>
|
||||
<link rel="shortcut icon" type="image/png" href="img/icon48.png">
|
||||
<link rel="stylesheet" href="css/common.css"/>
|
||||
<link rel="stylesheet" href="css/index.css"/>
|
||||
<link rel="stylesheet" href="css/settings.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<img src="img/icon48.png"/>
|
||||
<span>Custom Web</span>
|
||||
</header>
|
||||
<main>
|
||||
<form id="optionsForm">
|
||||
<section id="storage-settings">
|
||||
<h2>Storage</h2>
|
||||
|
||||
<label for="webdav-address">WebDAV Address</label>
|
||||
<input id="webdav-address" type="text" placeholder="https://example.com:1234/CustomWeb/"></input>
|
||||
|
||||
<label for="webdav-username">WebDAV Username</label>
|
||||
<input id="webdav-username" type="text" placeholder="username"></input>
|
||||
|
||||
<label for="webdav-password">WebDAV Password</label>
|
||||
<input id="webdav-password" type="password" placeholder="********"></input>
|
||||
|
||||
<input id="webdav-push-all" type="button" value="Push all"></input>
|
||||
<input id="webdav-pull-all" type="button" value="Pull all"></input>
|
||||
</section>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
<script src="js/storage.js"></script>
|
||||
<script src="js/file.js"></script>
|
||||
<script src="js/webdav.js"></script>
|
||||
<script src="js/settings.js"></script>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue