From ff149f3e2fc20b9314abc1ac9481e2d42bbabdc7 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 26 Jan 2024 18:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=BB=A3=E7=A0=81=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=88=B0usr/share=E4=B8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test.sh | 2 +- usr/bin/dooke | 2 +- usr/{lib => share}/dooke/_docker.py | 0 usr/{lib => share}/dooke/_window.py | 0 usr/{lib => share}/dooke/dooke.py | 0 usr/{lib => share}/dooke/utils.py | 0 usr/{lib => share}/dooke/webapp/app.js | 0 usr/{lib => share}/dooke/webapp/components/records.js | 0 usr/{lib => share}/dooke/webapp/components/sidebar.js | 0 usr/{lib => share}/dooke/webapp/css/reset.css | 0 usr/{lib => share}/dooke/webapp/index.html | 0 usr/{lib => share}/dooke/webapp/lib/crypto.js | 0 usr/{lib => share}/dooke/webapp/lib/es.shim.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/base/button.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/base/icon.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/base/link.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/base/space.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/base/svg-path.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/form/checkbox.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/form/input.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/form/radio.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/form/switch.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/modal/drawer.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/modal/layer.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/modal/loading.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/modal/popconfirm.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/modal/tooltip.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/other/divider.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/other/scroll.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/views/badge.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/views/code/colorful.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/views/code/index.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/views/tag.js | 0 usr/{lib => share}/dooke/webapp/lib/ui/views/time.js | 0 usr/{lib => share}/dooke/webapp/lib/wkit.js | 0 usr/{lib => share}/dooke/webapp/lib/wkitd.js | 0 usr/{lib => share}/dooke/webapp/router.js | 0 usr/{lib => share}/dooke/webapp/store.js | 0 usr/{lib => share}/dooke/webapp/utils/index.js | 0 usr/{lib => share}/dooke/webapp/views/home.js | 0 usr/{lib => share}/dooke/webapp/views/images.js | 0 usr/{lib => share}/dooke/webapp/views/networks.js | 0 usr/{lib => share}/dooke/webapp/views/services.js | 0 usr/{lib => share}/dooke/webapp/views/volumes.js | 0 44 files changed, 2 insertions(+), 2 deletions(-) rename usr/{lib => share}/dooke/_docker.py (100%) rename usr/{lib => share}/dooke/_window.py (100%) rename usr/{lib => share}/dooke/dooke.py (100%) rename usr/{lib => share}/dooke/utils.py (100%) rename usr/{lib => share}/dooke/webapp/app.js (100%) rename usr/{lib => share}/dooke/webapp/components/records.js (100%) rename usr/{lib => share}/dooke/webapp/components/sidebar.js (100%) rename usr/{lib => share}/dooke/webapp/css/reset.css (100%) rename usr/{lib => share}/dooke/webapp/index.html (100%) rename usr/{lib => share}/dooke/webapp/lib/crypto.js (100%) rename usr/{lib => share}/dooke/webapp/lib/es.shim.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/base/button.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/base/icon.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/base/link.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/base/space.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/base/svg-path.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/form/checkbox.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/form/input.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/form/radio.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/form/switch.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/modal/drawer.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/modal/layer.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/modal/loading.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/modal/popconfirm.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/modal/tooltip.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/other/divider.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/other/scroll.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/views/badge.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/views/code/colorful.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/views/code/index.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/views/tag.js (100%) rename usr/{lib => share}/dooke/webapp/lib/ui/views/time.js (100%) rename usr/{lib => share}/dooke/webapp/lib/wkit.js (100%) rename usr/{lib => share}/dooke/webapp/lib/wkitd.js (100%) rename usr/{lib => share}/dooke/webapp/router.js (100%) rename usr/{lib => share}/dooke/webapp/store.js (100%) rename usr/{lib => share}/dooke/webapp/utils/index.js (100%) rename usr/{lib => share}/dooke/webapp/views/home.js (100%) rename usr/{lib => share}/dooke/webapp/views/images.js (100%) rename usr/{lib => share}/dooke/webapp/views/networks.js (100%) rename usr/{lib => share}/dooke/webapp/views/services.js (100%) rename usr/{lib => share}/dooke/webapp/views/volumes.js (100%) diff --git a/test.sh b/test.sh index fa90b77..738de47 100755 --- a/test.sh +++ b/test.sh @@ -3,5 +3,5 @@ export RUN_ENV='development' -./usr/lib/dooke/dooke.py +./usr/share/dooke/dooke.py diff --git a/usr/bin/dooke b/usr/bin/dooke index 57b355a..fbdbebd 100755 --- a/usr/bin/dooke +++ b/usr/bin/dooke @@ -1,3 +1,3 @@ #!/bin/bash -/usr/lib/dooke/dooke.py \ No newline at end of file +/usr/share/dooke/dooke.py \ No newline at end of file diff --git a/usr/lib/dooke/_docker.py b/usr/share/dooke/_docker.py similarity index 100% rename from usr/lib/dooke/_docker.py rename to usr/share/dooke/_docker.py diff --git a/usr/lib/dooke/_window.py b/usr/share/dooke/_window.py similarity index 100% rename from usr/lib/dooke/_window.py rename to usr/share/dooke/_window.py diff --git a/usr/lib/dooke/dooke.py b/usr/share/dooke/dooke.py similarity index 100% rename from usr/lib/dooke/dooke.py rename to usr/share/dooke/dooke.py diff --git a/usr/lib/dooke/utils.py b/usr/share/dooke/utils.py similarity index 100% rename from usr/lib/dooke/utils.py rename to usr/share/dooke/utils.py diff --git a/usr/lib/dooke/webapp/app.js b/usr/share/dooke/webapp/app.js similarity index 100% rename from usr/lib/dooke/webapp/app.js rename to usr/share/dooke/webapp/app.js diff --git a/usr/lib/dooke/webapp/components/records.js b/usr/share/dooke/webapp/components/records.js similarity index 100% rename from usr/lib/dooke/webapp/components/records.js rename to usr/share/dooke/webapp/components/records.js diff --git a/usr/lib/dooke/webapp/components/sidebar.js b/usr/share/dooke/webapp/components/sidebar.js similarity index 100% rename from usr/lib/dooke/webapp/components/sidebar.js rename to usr/share/dooke/webapp/components/sidebar.js diff --git a/usr/lib/dooke/webapp/css/reset.css b/usr/share/dooke/webapp/css/reset.css similarity index 100% rename from usr/lib/dooke/webapp/css/reset.css rename to usr/share/dooke/webapp/css/reset.css diff --git a/usr/lib/dooke/webapp/index.html b/usr/share/dooke/webapp/index.html similarity index 100% rename from usr/lib/dooke/webapp/index.html rename to usr/share/dooke/webapp/index.html diff --git a/usr/lib/dooke/webapp/lib/crypto.js b/usr/share/dooke/webapp/lib/crypto.js similarity index 100% rename from usr/lib/dooke/webapp/lib/crypto.js rename to usr/share/dooke/webapp/lib/crypto.js diff --git a/usr/lib/dooke/webapp/lib/es.shim.js b/usr/share/dooke/webapp/lib/es.shim.js similarity index 100% rename from usr/lib/dooke/webapp/lib/es.shim.js rename to usr/share/dooke/webapp/lib/es.shim.js diff --git a/usr/lib/dooke/webapp/lib/ui/base/button.js b/usr/share/dooke/webapp/lib/ui/base/button.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/base/button.js rename to usr/share/dooke/webapp/lib/ui/base/button.js diff --git a/usr/lib/dooke/webapp/lib/ui/base/icon.js b/usr/share/dooke/webapp/lib/ui/base/icon.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/base/icon.js rename to usr/share/dooke/webapp/lib/ui/base/icon.js diff --git a/usr/lib/dooke/webapp/lib/ui/base/link.js b/usr/share/dooke/webapp/lib/ui/base/link.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/base/link.js rename to usr/share/dooke/webapp/lib/ui/base/link.js diff --git a/usr/lib/dooke/webapp/lib/ui/base/space.js b/usr/share/dooke/webapp/lib/ui/base/space.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/base/space.js rename to usr/share/dooke/webapp/lib/ui/base/space.js diff --git a/usr/lib/dooke/webapp/lib/ui/base/svg-path.js b/usr/share/dooke/webapp/lib/ui/base/svg-path.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/base/svg-path.js rename to usr/share/dooke/webapp/lib/ui/base/svg-path.js diff --git a/usr/lib/dooke/webapp/lib/ui/form/checkbox.js b/usr/share/dooke/webapp/lib/ui/form/checkbox.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/form/checkbox.js rename to usr/share/dooke/webapp/lib/ui/form/checkbox.js diff --git a/usr/lib/dooke/webapp/lib/ui/form/input.js b/usr/share/dooke/webapp/lib/ui/form/input.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/form/input.js rename to usr/share/dooke/webapp/lib/ui/form/input.js diff --git a/usr/lib/dooke/webapp/lib/ui/form/radio.js b/usr/share/dooke/webapp/lib/ui/form/radio.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/form/radio.js rename to usr/share/dooke/webapp/lib/ui/form/radio.js diff --git a/usr/lib/dooke/webapp/lib/ui/form/switch.js b/usr/share/dooke/webapp/lib/ui/form/switch.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/form/switch.js rename to usr/share/dooke/webapp/lib/ui/form/switch.js diff --git a/usr/lib/dooke/webapp/lib/ui/modal/drawer.js b/usr/share/dooke/webapp/lib/ui/modal/drawer.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/modal/drawer.js rename to usr/share/dooke/webapp/lib/ui/modal/drawer.js diff --git a/usr/lib/dooke/webapp/lib/ui/modal/layer.js b/usr/share/dooke/webapp/lib/ui/modal/layer.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/modal/layer.js rename to usr/share/dooke/webapp/lib/ui/modal/layer.js diff --git a/usr/lib/dooke/webapp/lib/ui/modal/loading.js b/usr/share/dooke/webapp/lib/ui/modal/loading.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/modal/loading.js rename to usr/share/dooke/webapp/lib/ui/modal/loading.js diff --git a/usr/lib/dooke/webapp/lib/ui/modal/popconfirm.js b/usr/share/dooke/webapp/lib/ui/modal/popconfirm.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/modal/popconfirm.js rename to usr/share/dooke/webapp/lib/ui/modal/popconfirm.js diff --git a/usr/lib/dooke/webapp/lib/ui/modal/tooltip.js b/usr/share/dooke/webapp/lib/ui/modal/tooltip.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/modal/tooltip.js rename to usr/share/dooke/webapp/lib/ui/modal/tooltip.js diff --git a/usr/lib/dooke/webapp/lib/ui/other/divider.js b/usr/share/dooke/webapp/lib/ui/other/divider.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/other/divider.js rename to usr/share/dooke/webapp/lib/ui/other/divider.js diff --git a/usr/lib/dooke/webapp/lib/ui/other/scroll.js b/usr/share/dooke/webapp/lib/ui/other/scroll.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/other/scroll.js rename to usr/share/dooke/webapp/lib/ui/other/scroll.js diff --git a/usr/lib/dooke/webapp/lib/ui/views/badge.js b/usr/share/dooke/webapp/lib/ui/views/badge.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/views/badge.js rename to usr/share/dooke/webapp/lib/ui/views/badge.js diff --git a/usr/lib/dooke/webapp/lib/ui/views/code/colorful.js b/usr/share/dooke/webapp/lib/ui/views/code/colorful.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/views/code/colorful.js rename to usr/share/dooke/webapp/lib/ui/views/code/colorful.js diff --git a/usr/lib/dooke/webapp/lib/ui/views/code/index.js b/usr/share/dooke/webapp/lib/ui/views/code/index.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/views/code/index.js rename to usr/share/dooke/webapp/lib/ui/views/code/index.js diff --git a/usr/lib/dooke/webapp/lib/ui/views/tag.js b/usr/share/dooke/webapp/lib/ui/views/tag.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/views/tag.js rename to usr/share/dooke/webapp/lib/ui/views/tag.js diff --git a/usr/lib/dooke/webapp/lib/ui/views/time.js b/usr/share/dooke/webapp/lib/ui/views/time.js similarity index 100% rename from usr/lib/dooke/webapp/lib/ui/views/time.js rename to usr/share/dooke/webapp/lib/ui/views/time.js diff --git a/usr/lib/dooke/webapp/lib/wkit.js b/usr/share/dooke/webapp/lib/wkit.js similarity index 100% rename from usr/lib/dooke/webapp/lib/wkit.js rename to usr/share/dooke/webapp/lib/wkit.js diff --git a/usr/lib/dooke/webapp/lib/wkitd.js b/usr/share/dooke/webapp/lib/wkitd.js similarity index 100% rename from usr/lib/dooke/webapp/lib/wkitd.js rename to usr/share/dooke/webapp/lib/wkitd.js diff --git a/usr/lib/dooke/webapp/router.js b/usr/share/dooke/webapp/router.js similarity index 100% rename from usr/lib/dooke/webapp/router.js rename to usr/share/dooke/webapp/router.js diff --git a/usr/lib/dooke/webapp/store.js b/usr/share/dooke/webapp/store.js similarity index 100% rename from usr/lib/dooke/webapp/store.js rename to usr/share/dooke/webapp/store.js diff --git a/usr/lib/dooke/webapp/utils/index.js b/usr/share/dooke/webapp/utils/index.js similarity index 100% rename from usr/lib/dooke/webapp/utils/index.js rename to usr/share/dooke/webapp/utils/index.js diff --git a/usr/lib/dooke/webapp/views/home.js b/usr/share/dooke/webapp/views/home.js similarity index 100% rename from usr/lib/dooke/webapp/views/home.js rename to usr/share/dooke/webapp/views/home.js diff --git a/usr/lib/dooke/webapp/views/images.js b/usr/share/dooke/webapp/views/images.js similarity index 100% rename from usr/lib/dooke/webapp/views/images.js rename to usr/share/dooke/webapp/views/images.js diff --git a/usr/lib/dooke/webapp/views/networks.js b/usr/share/dooke/webapp/views/networks.js similarity index 100% rename from usr/lib/dooke/webapp/views/networks.js rename to usr/share/dooke/webapp/views/networks.js diff --git a/usr/lib/dooke/webapp/views/services.js b/usr/share/dooke/webapp/views/services.js similarity index 100% rename from usr/lib/dooke/webapp/views/services.js rename to usr/share/dooke/webapp/views/services.js diff --git a/usr/lib/dooke/webapp/views/volumes.js b/usr/share/dooke/webapp/views/volumes.js similarity index 100% rename from usr/lib/dooke/webapp/views/volumes.js rename to usr/share/dooke/webapp/views/volumes.js