Works now (without edit)
This commit is contained in:
15
index.html
15
index.html
@@ -18,6 +18,7 @@
|
||||
inputs.forEach(i => i.addEventListener('input', inputListener));
|
||||
});
|
||||
document.documentElement.dataset.theme = localStorage.getItem('theme') || 'light';
|
||||
let id;
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
@@ -50,7 +51,6 @@
|
||||
<li><a class="active" href="#">Home</a></li>
|
||||
<li><a href="install/">Install</a></li>
|
||||
<li><a href="websocket/">WebSocket</a></li>
|
||||
<li class="float-right"><a href="javascript:getCardToEdit()">Edit Card</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
@@ -117,19 +117,8 @@
|
||||
|
||||
<footer>Made by the best intern!</footer>
|
||||
|
||||
<div class="hidden fade" id="fade"></div>
|
||||
<div class="upload hidden" id="uploadDiv">
|
||||
<a class="x h3" href="javascript:exitUpload()">
|
||||
<div>x</div>
|
||||
</a>
|
||||
<div class="dotted" id="dottedDiv">
|
||||
<label for="existingFile" id="uploadLabel">Click or drag here to edit existing card</label>
|
||||
<img src="" alt="card" class="hidden" id="previewImg">
|
||||
</div>
|
||||
<button class="btn btn-primary disabled" id="editCardBtn">Edit Signature Card</button>
|
||||
</div>
|
||||
<input style="display: none" id="existingFile" type="file" accept="image/png" name="existingFile">
|
||||
<script src="script.js"></script>
|
||||
<script src="darkmode.js"></script>
|
||||
<script src="websocket.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user