fix(routes): duplicates classes in services page
This commit is contained in:
		@@ -222,7 +222,7 @@
 | 
				
			|||||||
		{/if}
 | 
							{/if}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		<div class="grid gap-4 grid-cols-2 grid-rows-1 lg:px-10">
 | 
							<div class="grid gap-4 grid-cols-2 grid-rows-1 lg:px-10">
 | 
				
			||||||
			<label class="text-base font-bold text-stone-100" for="name" class="text-base font-bold text-stone-100">{$t('forms.name')}</label>
 | 
								<label class="text-base font-bold text-stone-100" for="name" >{$t('forms.name')}</label>
 | 
				
			||||||
			<div>
 | 
								<div>
 | 
				
			||||||
				<input
 | 
									<input
 | 
				
			||||||
					readonly={!$appSession.isAdmin}
 | 
										readonly={!$appSession.isAdmin}
 | 
				
			||||||
@@ -232,7 +232,7 @@
 | 
				
			|||||||
					required
 | 
										required
 | 
				
			||||||
				/>
 | 
									/>
 | 
				
			||||||
			</div>
 | 
								</div>
 | 
				
			||||||
			<label class="text-base font-bold text-stone-100" for="version" class="text-base font-bold text-stone-100">Version / Tag</label>
 | 
								<label class="text-base font-bold text-stone-100" for="version">Version / Tag</label>
 | 
				
			||||||
			<a
 | 
								<a
 | 
				
			||||||
				href={$appSession.isAdmin && !$status.service.isRunning && !$status.service.initialLoading
 | 
									href={$appSession.isAdmin && !$status.service.isRunning && !$status.service.initialLoading
 | 
				
			||||||
					? `/services/${id}/configuration/version?from=/services/${id}`
 | 
										? `/services/${id}/configuration/version?from=/services/${id}`
 | 
				
			||||||
@@ -247,7 +247,7 @@
 | 
				
			|||||||
					class:cursor-pointer={!$status.service.isRunning}
 | 
										class:cursor-pointer={!$status.service.isRunning}
 | 
				
			||||||
				/></a
 | 
									/></a
 | 
				
			||||||
			>
 | 
								>
 | 
				
			||||||
			<label class="text-base font-bold text-stone-100" for="destination" class="text-base font-bold text-stone-100"
 | 
								<label class="text-base font-bold text-stone-100" for="destination"
 | 
				
			||||||
				>{$t('application.destination')}</label
 | 
									>{$t('application.destination')}</label
 | 
				
			||||||
			>
 | 
								>
 | 
				
			||||||
			<div>
 | 
								<div>
 | 
				
			||||||
@@ -264,7 +264,7 @@
 | 
				
			|||||||
			</div>
 | 
								</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			{#if service.type === 'minio'}
 | 
								{#if service.type === 'minio'}
 | 
				
			||||||
				<label class="text-base font-bold text-stone-100" for="fqdn" class="pt-2 text-base font-bold text-stone-100">Console URL</label>
 | 
									<label class="text-base font-bold text-stone-100" for="fqdn">Console URL</label>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
				<CopyPasswordField
 | 
									<CopyPasswordField
 | 
				
			||||||
					placeholder="eg: https://console.min.io"
 | 
										placeholder="eg: https://console.min.io"
 | 
				
			||||||
@@ -276,7 +276,7 @@
 | 
				
			|||||||
					bind:value={service.fqdn}
 | 
										bind:value={service.fqdn}
 | 
				
			||||||
					required
 | 
										required
 | 
				
			||||||
				/>
 | 
									/>
 | 
				
			||||||
				<label class="text-base font-bold text-stone-100" for="apiFqdn" class="pt-2 text-base font-bold text-stone-100"
 | 
									<label class="text-base font-bold text-stone-100" for="apiFqdn" 
 | 
				
			||||||
					>API URL <Explainer explanation={$t('application.https_explainer')} /></label
 | 
										>API URL <Explainer explanation={$t('application.https_explainer')} /></label
 | 
				
			||||||
				>
 | 
									>
 | 
				
			||||||
				<CopyPasswordField
 | 
									<CopyPasswordField
 | 
				
			||||||
@@ -290,7 +290,7 @@
 | 
				
			|||||||
					required
 | 
										required
 | 
				
			||||||
				/>
 | 
									/>
 | 
				
			||||||
			{:else}
 | 
								{:else}
 | 
				
			||||||
				<label class="text-base font-bold text-stone-100" for="fqdn" class="pt-2 text-base font-bold text-stone-100"
 | 
									<label class="text-base font-bold text-stone-100" for="fqdn" 
 | 
				
			||||||
					>{$t('application.url_fqdn')}
 | 
										>{$t('application.url_fqdn')}
 | 
				
			||||||
					<Explainer explanation={$t('application.https_explainer')} />
 | 
										<Explainer explanation={$t('application.https_explainer')} />
 | 
				
			||||||
				</label>
 | 
									</label>
 | 
				
			||||||
@@ -351,7 +351,7 @@
 | 
				
			|||||||
				description={$t('services.generate_www_non_www_ssl')}
 | 
									description={$t('services.generate_www_non_www_ssl')}
 | 
				
			||||||
				on:click={() => !$status.service.isRunning && changeSettings('dualCerts')}
 | 
									on:click={() => !$status.service.isRunning && changeSettings('dualCerts')}
 | 
				
			||||||
			/>
 | 
								/>
 | 
				
			||||||
			<label class="text-base font-bold text-stone-100" for="exposePort" class="text-base font-bold text-stone-100"
 | 
								<label class="text-base font-bold text-stone-100" for="exposePort"
 | 
				
			||||||
				>Exposed Port <Explainer
 | 
									>Exposed Port <Explainer
 | 
				
			||||||
					explanation={'You can expose your application to a port on the host system.<br><br>Useful if you would like to use your own reverse proxy or tunnel and also in development mode. Otherwise leave empty.'}
 | 
										explanation={'You can expose your application to a port on the host system.<br><br>Useful if you would like to use your own reverse proxy or tunnel and also in development mode. Otherwise leave empty.'}
 | 
				
			||||||
				/></label
 | 
									/></label
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user