<script setup>
import Navbar from "@/components/common/Navbar.vue";
import NavTab from "@/components/common/NavTab.vue";

const props = defineProps(["ctx"])
</script>

<template>
	<Navbar>
		<template #tabs>
			<NavTab :href="'/servers/server/settings/reverseProxy?serverId=' + ctx.serverId" value="index" name="源站列表"></NavTab>
			<NavTab :href="'/servers/server/settings/reverseProxy/scheduling?serverId=' + ctx.serverId" value="scheduling" name="调度算法"></NavTab>
			<NavTab :href="'/servers/server/settings/reverseProxy/setting?serverId=' + ctx.serverId" value="setting" name="更多设置"></NavTab>
		</template>
	</Navbar>
</template>

<style scoped lang="postcss" src="@/views/servers/style/server.pcss"></style>