initial commit

This commit is contained in:
FinnStutzenstein committed 2020-04-13 08:31:44 +02:00
commit 9d018e00be
82 files changed
+2407

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
<html>
<head>
<script
src="https://code.jquery.com/jquery-3.4.1.min.js"
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
crossorigin="anonymous"></script>
</head>
<body>
<h1>Hi</h1>
<script>
function test() {
$.post("http://localhost:8000/user/1/toggle-enabled", null, function () {
console.log("success", arguments);
});
}
</script>
<button onclick="test()">Change</button>
<form action="http://localhost:8000/user/1/toggle-enabled" method="post">
<button type="submit">Submit</button>
</form>
</body>
</html>