|
|
|
@ -42,7 +42,7 @@ |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" |
|
|
|
d="M21.752 15.002A9.72 9.72 0 0 1 18 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 0 0 3 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 0 0 9.002-5.998Z" /> |
|
|
|
</svg> |
|
|
|
<svg v-else xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" |
|
|
|
<svg v-else xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" |
|
|
|
class="w-5 h-5 fill-gray-600 dark:fill-neutral-400"> |
|
|
|
<path |
|
|
|
d="M12,2.2c-5.4,0-9.8,4.4-9.8,9.8s4.4,9.8,9.8,9.8s9.8-4.4,9.8-9.8S17.4,2.2,12,2.2z M3.8,12c0-4.5,3.7-8.2,8.2-8.2v16.5C7.5,20.2,3.8,16.5,3.8,12z" /> |
|
|
|
@ -112,9 +112,9 @@ |
|
|
|
<span class="max-md:hidden text-sm">{{$t("backup")}}</span> |
|
|
|
</a> |
|
|
|
<!-- New client --> |
|
|
|
<button @click="clientCreate = true; clientCreateName = '';" |
|
|
|
class="hover:bg-red-800 hover:border-red-800 hover:text-white text-gray-700 dark:text-neutral-200 max-md:border-l-0 border-2 border-gray-100 dark:border-neutral-600 py-2 px-4 rounded-r-full md:rounded inline-flex items-center transition"> |
|
|
|
<svg class="w-4 md:mr-2" inline xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" |
|
|
|
<button @click="clientCreate = true; clientCreateName = ''; clientCreateAllowedIps = '';" |
|
|
|
class="hover:bg-red-800 hover:border-red-800 hover:text-white text-gray-700 border-2 border-gray-100 py-2 px-4 rounded inline-flex items-center transition"> |
|
|
|
<svg class="w-4 mr-2" inline xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" |
|
|
|
stroke="currentColor"> |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" |
|
|
|
d="M12 6v6m0 0v6m0-6h6m-6 0H6" /> |
|
|
|
@ -224,7 +224,7 @@ |
|
|
|
</svg> |
|
|
|
{{client.transferTxCurrent | bytes}}/s |
|
|
|
</span> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Inline Transfer RX --> |
|
|
|
<span v-if="!uiTrafficStats && client.transferRx" class="whitespace-nowrap" :title="$t('totalUpload') + bytes(client.transferRx)"> |
|
|
|
· |
|
|
|
@ -452,6 +452,12 @@ |
|
|
|
type="text" v-model.trim="clientCreateName" :placeholder="$t('name')" /> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
<div class="mt-2"> |
|
|
|
<p class="text-sm text-gray-500"> |
|
|
|
<input class="rounded p-2 border-2 border-gray-100 focus:border-gray-200 outline-none w-full" |
|
|
|
type="text" v-model.trim="clientCreateAllowedIps" placeholder="Allowed IPs (optional)" /> |
|
|
|
</p> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -614,4 +620,4 @@ |
|
|
|
<script src="./js/app.js"></script> |
|
|
|
</body> |
|
|
|
|
|
|
|
</html> |
|
|
|
</html> |
|
|
|
|