diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-12 14:33:15 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-08-12 14:33:15 +0200 |
commit | 2c98d04e4d4a344dc04a481b039a235678f7848e (patch) | |
tree | 292b858fa07613c3c455961f17adf33e64db92e8 /src/hydrilla/proxy/web_ui/templates | |
parent | 3d025bfb796d3028282bc806d557b8289a42062b (diff) | |
download | haketilo-hydrilla-2c98d04e4d4a344dc04a481b039a235678f7848e.tar.gz haketilo-hydrilla-2c98d04e4d4a344dc04a481b039a235678f7848e.zip |
make Haketilo proxy web UI in terms of a Flask app
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates')
4 files changed, 110 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/base.html.jinja b/src/hydrilla/proxy/web_ui/templates/base.html.jinja new file mode 100644 index 0000000..c6f0dcf --- /dev/null +++ b/src/hydrilla/proxy/web_ui/templates/base.html.jinja @@ -0,0 +1,32 @@ +{# +SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + + +Proxy web UI base page template. + +This file is part of Hydrilla&Haketilo. + +Copyright (C) 2022 Wojtek Kosior + +Dual licensed under +* GNU General Public License v3.0 or later and +* Creative Commons Attribution Share Alike 4.0 International. + +You can choose to use either of these licenses or both. + + +I, Wojtek Kosior, thereby promise not to sue for violation of this +file's licenses. Although I request that you do not make use this code +in a proprietary work, I am not going to enforce this in court. +#} +<!DOCTYPE html> +<html> + <head> + {% block head %} + <title>{% block title required %}{% endblock %} - Haketilo proxy</title> + {% endblock %} + </head> + <body> + <div id="main">{% block main required %}{% endblock %}</div> + </body> +</html> diff --git a/src/hydrilla/proxy/web_ui/templates/packages__load_from_disk.html.jinja b/src/hydrilla/proxy/web_ui/templates/packages__load_from_disk.html.jinja new file mode 100644 index 0000000..07ed3b3 --- /dev/null +++ b/src/hydrilla/proxy/web_ui/templates/packages__load_from_disk.html.jinja @@ -0,0 +1,26 @@ +{# +Spdx-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + + +Proxy web UI package loading page. + +This file is part of Hydrilla&Haketilo. + +Copyright (C) 2022 Wojtek Kosior + +Dual licensed under +* GNU General Public License v3.0 or later and +* Creative Commons Attribution Share Alike 4.0 International. + +You can choose to use either of these licenses or both. + + +I, Wojtek Kosior, thereby promise not to sue for violation of this +file's licenses. Although I request that you do not make use this code +in a proprietary work, I am not going to enforce this in court. +#} +{% extends "base.html.jinja" %} +{% block title %}Load package{% endblock %} +{% block main %} + Not implemented yet :( +{% endblock %} diff --git a/src/hydrilla/proxy/web_ui/templates/repos.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja new file mode 100644 index 0000000..59eb1bd --- /dev/null +++ b/src/hydrilla/proxy/web_ui/templates/repos.html.jinja @@ -0,0 +1,26 @@ +{# +SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + + +Proxy web UI repos list page. + +This file is part of Hydrilla&Haketilo. + +Copyright (C) 2022 Wojtek Kosior + +Dual licensed under +* GNU General Public License v3.0 or later and +* Creative Commons Attribution Share Alike 4.0 International. + +You can choose to use either of these licenses or both. + + +I, Wojtek Kosior, thereby promise not to sue for violation of this +file's licenses. Although I request that you do not make use this code +in a proprietary work, I am not going to enforce this in court. +#} +{% extends "base.html.jinja" %} +{% block title %}Repositories{% endblock %} +{% block main %} + Not implemented yet :( +{% endblock %} diff --git a/src/hydrilla/proxy/web_ui/templates/root.html.jinja b/src/hydrilla/proxy/web_ui/templates/root.html.jinja new file mode 100644 index 0000000..f1e3500 --- /dev/null +++ b/src/hydrilla/proxy/web_ui/templates/root.html.jinja @@ -0,0 +1,26 @@ +{# +SPDX-License-Identifier: GPL-3.0-or-later OR CC-BY-SA-4.0 + + +Proxy web UI root page. + +This file is part of Hydrilla&Haketilo. + +Copyright (C) 2022 Wojtek Kosior + +Dual licensed under +* GNU General Public License v3.0 or later and +* Creative Commons Attribution Share Alike 4.0 International. + +You can choose to use either of these licenses or both. + + +I, Wojtek Kosior, thereby promise not to sue for violation of this +file's licenses. Although I request that you do not make use this code +in a proprietary work, I am not going to enforce this in court. +#} +{% extends "base.html.jinja" %} +{% block title %}Home{% endblock %} +{% block main %} + <a href="/packages/load_from_disk">load packages from disk</a> +{% endblock %} |