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 justify-between">
<div class="flex"> <div class="flex">
<a <a
href="/#" href="/#"
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" 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"
><i class="ri-reply-line" /> На главную</a> >
<i class="ri-reply-line" />
На главную
</a>
<button <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'}`" :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="!selectedService" :disabled="!selectedSite"
@click="saveData" @click="saveData"
> >
<i class="ri-save-line cursor-pointer" /> <i class="ri-save-line cursor-pointer" />
Сохранить изменения Сохранить изменения
</button> </button>
</div> </div>
<div class="flex">
Версия 0.0.1
</div>
</div>
</template> </template>