forked from blavejr/OrganiseDesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved Tkinter UI to Webapp using flask. Fixes blavejr#72
Modernised UI with bootstrap. Fixes blavejr#101
- Loading branch information
1 parent
753940a
commit 04f7890
Showing
2 changed files
with
129 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link | ||
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" | ||
rel="stylesheet" | ||
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" | ||
crossorigin="anonymous" | ||
/> | ||
<style> | ||
body { | ||
padding: 2%; | ||
} | ||
.btn { | ||
margin: 0.5%; | ||
} | ||
</style> | ||
<title>Clean Desktop</title> | ||
</head> | ||
<body> | ||
<h1>Clean Desktop</h1> | ||
{% if extensions %} {% for ext in extensions %} | ||
<input checked type="checkbox" name="{{ ext }}" /> {{ ext }} <br /> | ||
{% endfor %} {% else %} | ||
<p>No extensions available.</p> | ||
{% endif %} | ||
<br /> | ||
<br /> | ||
<form action="/clean" method="post"> | ||
<button class="btn btn-primary" type="submit">Clean</button> | ||
</form> | ||
<form action="/quit" method="post"> | ||
<button class="btn btn-primary" type="submit">Quit</button> | ||
</form> | ||
<form action="/schedule" method="post"> | ||
<button class="btn btn-primary" type="submit">Schedule</button> | ||
</form> | ||
<form action="/undo" method="post"> | ||
<button class="btn btn-primary" type="submit">undo</button> | ||
</form> | ||
<form action="/schedule-end" method="post"> | ||
<button class="btn btn-primary" type="submit">Schedule End</button> | ||
</form> | ||
</body> | ||
</html> |