mirror of
https://github.com/LukeHagar/OpenAPI.gg.git
synced 2025-12-06 12:37:48 +00:00
Update LicenseAtom.svelte
This commit is contained in:
@@ -5,10 +5,10 @@
|
|||||||
const popularLicenses = ['MIT', 'Apache-2.0', 'GPL-3.0', 'Unlicense'];
|
const popularLicenses = ['MIT', 'Apache-2.0', 'GPL-3.0', 'Unlicense'];
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="border-token rounded-container-token space-y-4 p-4">
|
<div class="border-token rounded-container-token space-y-1 p-4">
|
||||||
<div class="flex flex-row justify-between">
|
<div class="flex flex-row justify-between">
|
||||||
<h4 class="h4">License</h4>
|
<h4 class="h4">License</h4>
|
||||||
<label class="text-sm flex flex-col space-y-2">
|
<label class="text-sm space-x-2">
|
||||||
<span>Pick a license</span>
|
<span>Pick a license</span>
|
||||||
<select
|
<select
|
||||||
class="select w-56 text-sm"
|
class="select w-56 text-sm"
|
||||||
@@ -32,30 +32,30 @@
|
|||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<label class="text-xl space-y-2">
|
<label class="text-sm space-y-1">
|
||||||
<span>Name (required)</span>
|
<span>Name (required)</span>
|
||||||
<input
|
<input
|
||||||
class="input"
|
class="input text-sm"
|
||||||
name="licenseName"
|
name="licenseName"
|
||||||
placeholder="Apache 2.0"
|
placeholder="Apache 2.0"
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={$openApiStore.info.license.name}
|
bind:value={$openApiStore.info.license.name}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label class="text-xl space-y-2">
|
<label class="text-sm space-y-1">
|
||||||
<span>Identifer (optional)</span>
|
<span>Identifer (optional)</span>
|
||||||
<input
|
<input
|
||||||
class="input"
|
class="input text-sm"
|
||||||
name="licenseIdentifier"
|
name="licenseIdentifier"
|
||||||
placeholder="Apache-2.0"
|
placeholder="Apache-2.0"
|
||||||
type="text"
|
type="text"
|
||||||
bind:value={$openApiStore.info.license.identifier}
|
bind:value={$openApiStore.info.license.identifier}
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<label class="text-xl space-y-2">
|
<label class="text-sm space-y-1">
|
||||||
<span>URL (optional)</span>
|
<span>URL (optional)</span>
|
||||||
<input
|
<input
|
||||||
class="input"
|
class="input text-sm"
|
||||||
name="licenseUrl"
|
name="licenseUrl"
|
||||||
placeholder="https://www.apache.org/licenses/LICENSE-2.0.html"
|
placeholder="https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
type="url"
|
type="url"
|
||||||
|
|||||||
Reference in New Issue
Block a user