create clearhook

This commit is contained in:
SergeyVS 2024-03-11 12:09:10 +03:00
parent b01e156755
commit 545008954d
2 changed files with 25 additions and 13 deletions

View File

@ -16,6 +16,10 @@ rmrestart:
docker stop proxy-ui-vue docker stop proxy-ui-vue
docker run -d --name proxy-ui-vue --rm -p 5000:80 proxy-ui-vue docker run -d --name proxy-ui-vue --rm -p 5000:80 proxy-ui-vue
clearhook:
@echo "clear hooks"
@rm -f $(HOOK_PATH)
@echo "hooks cleared"
prehook: prehook:
@echo "Setting up pre-push hook..." @echo "Setting up pre-push hook..."

View File

@ -16,18 +16,26 @@ export default {
</script> </script>
<template> <template>
<div class="flex"> <div class="flex justify-between">
<a <div class="flex">
href="/#" <a
class="text-white block w-fit bg-slate-700 hover:bg-blue-600 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm text-center px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800" href="/#"
><i class="ri-reply-line" /> На главную</a> class="text-white block w-fit bg-slate-700 hover:bg-blue-600 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm text-center px-5 py-2.5 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"
<button >
:class="`w-fit text-white font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mx-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 ${!selectedService ? 'bg-blue-200' : 'bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300'}`" <i class="ri-reply-line" />
:disabled="!selectedService" На главную
@click="saveData" </a>
> <button
<i class="ri-save-line cursor-pointer" /> :class="`w-fit text-white font-medium rounded-full text-sm px-5 py-2.5 text-center me-2 mx-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 ${!selectedSite ? 'bg-blue-200' : 'bg-blue-700 hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300'}`"
Сохранить изменения :disabled="!selectedSite"
</button> @click="saveData"
>
<i class="ri-save-line cursor-pointer" />
Сохранить изменения
</button>
</div>
<div class="flex">
Версия 0.0.1
</div>
</div> </div>
</template> </template>