forked from lucbeaulieu/KanbanView
-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40fc1b8
commit c01dcd4
Showing
6 changed files
with
13 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,9 @@ | |
AUTHOR_MAIL = "[email protected]" | ||
DESCRIPTON = "A simple read-only CLI, API and Web Service for Things 3" | ||
URL = "https://github.com/alexanderwillner/kanbanview" | ||
VERSION = "2.1.2" | ||
VERSION = "2.2.0" | ||
DATA_FILES = [('resources', ["resources/logo.png"]), | ||
('resources', ["resources/logo-dark.png"]), | ||
('resources', ["resources/kanban.js"]), | ||
('resources', ["resources/kanban.css"]), | ||
('resources', ["resources/kanban.html"]) | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
__copyright__ = "2020 Alexander Willner" | ||
__credits__ = ["Alexander Willner"] | ||
__license__ = "Apache License 2.0" | ||
__version__ = "2.1.2" | ||
__version__ = "2.2.0" | ||
__maintainer__ = "Alexander Willner" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
__copyright__ = "Copyright 2020 Alexander Willner" | ||
__credits__ = ["Alexander Willner"] | ||
__license__ = "Apache License 2.0" | ||
__version__ = "2.1.2" | ||
__version__ = "2.2.0" | ||
__maintainer__ = "Alexander Willner" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
@@ -31,7 +31,6 @@ class Things3API(): | |
things3 = None | ||
|
||
# @APP.route('/<url>') | ||
|
||
def on_get(self, url): | ||
"""Handles other GET requests""" | ||
filename = self.PATH + url | ||
|
@@ -53,7 +52,6 @@ def on_get(self, url): | |
return Response(response=data, content_type=content_type) | ||
|
||
# @APP.route('/api/<command>') | ||
|
||
def api(self, command): | ||
"""Return database as JSON strings.""" | ||
if command in self.things3.functions: | ||
|
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 |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
__copyright__ = "Copyright 2020 Alexander Willner" | ||
__credits__ = ["Luc Beaulieu", "Alexander Willner"] | ||
__license__ = "Apache License 2.0" | ||
__version__ = "2.1.2" | ||
__version__ = "2.2.0" | ||
__maintainer__ = "Alexander Willner" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
@@ -56,7 +56,7 @@ def main(self): | |
thread = Process(target=self.open_api) | ||
try: | ||
thread.start() | ||
webview.start() # blocking | ||
webview.start() # blocking | ||
thread.terminate() | ||
thread.join() | ||
except KeyboardInterrupt: | ||
|
@@ -65,5 +65,6 @@ def main(self): | |
thread.join() | ||
sys.exit(0) | ||
|
||
|
||
if __name__ == "__main__": | ||
Things3App().main() |
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
__copyright__ = "2020 Alexander Willner" | ||
__credits__ = ["Alexander Willner"] | ||
__license__ = "Apache License 2.0" | ||
__version__ = "2.1.2" | ||
__version__ = "2.2.0" | ||
__maintainer__ = "Alexander Willner" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
__copyright__ = "Copyright 2020 Alexander Willner" | ||
__credits__ = ["Luc Beaulieu", "Alexander Willner"] | ||
__license__ = "Apache License 2.0" | ||
__version__ = "2.1.2" | ||
__version__ = "2.2.0" | ||
__maintainer__ = "Alexander Willner" | ||
__email__ = "[email protected]" | ||
__status__ = "Development" | ||
|
@@ -74,8 +74,10 @@ def write_html_header(file): | |
<body> | ||
<header> | ||
<a href="https://kanbanview.app" title="visit product page"> | ||
<img class="logo bright" src="./resources/logo.png" alt="logo for bright theme"> | ||
<img class="logo dark" src="./resources/logo-dark.png" alt="logo for dark theme" style="display: none;"> | ||
<img class="logo bright" src="./resources/logo.png" | ||
alt="logo for bright theme"> | ||
<img class="logo dark" src="./resources/logo-dark.png" | ||
alt="logo for dark theme" style="display: none;"> | ||
</a> | ||
</header> | ||
<article class='some-page-wrapper'> | ||
|