generated from cgs-earth/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delegate CSV link information to docs.geoconnex.us * Use consistent theme in form * Use consistent theme for form * Switch metadata and CSV step - Make form behavior consistent across steps * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Update spacing around <a> elements * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Format links to satisfy precommit * Update styling on metadata form * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Add bottom spacing to override button * Update src/components/CSVReference.vue Co-authored-by: Colton Loftus <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Colton Loftus <[email protected]>
- Loading branch information
1 parent
70b38ec
commit 4c53292
Showing
4 changed files
with
101 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,75 +14,91 @@ import { fetchAllNamespaces } from '@/lib/helpers' | |
class="w-66 mx-auto" | ||
required | ||
:items="existingNamespaces" | ||
variant="outlined" | ||
v-model="namespace" | ||
></v-combobox> | ||
<v-checkbox | ||
/> | ||
|
||
<v-switch | ||
class="d-flex justify-center mb-4" | ||
color="accent" | ||
label="I already have a readme file uploaded to my namespace and do not wish to update my contribution info" | ||
v-model="readmeAlreadyUploaded" | ||
> | ||
</v-checkbox> | ||
/> | ||
|
||
<div v-if="!readmeAlreadyUploaded"> | ||
<v-text-field | ||
v-model="homepage" | ||
label="Homepage for where redirects will point to" | ||
type="url" | ||
required | ||
variant="outlined" | ||
hint="Example: https://waterdata.usgs.gov" | ||
persistent-hint | ||
class="pb-4" | ||
></v-text-field> | ||
|
||
<v-textarea | ||
v-model="description" | ||
label="Description of data" | ||
required | ||
variant="outlined" | ||
hint="Example: All monitoring locations used by the USGS Waterdata system" | ||
persistent-hint | ||
class="pb-4" | ||
></v-textarea> | ||
|
||
<v-text-field | ||
v-model="example_pid" | ||
label="Example PID" | ||
required | ||
variant="outlined" | ||
hint="Example: https://geoconnex.us/usgs/monitoring-location/08383500" | ||
persistent-hint | ||
class="pb-4" | ||
></v-text-field> | ||
|
||
<v-text-field | ||
v-model="example_redirect_target" | ||
label="Example redirect target url" | ||
type="url" | ||
variant="outlined" | ||
hint="Example: https://waterdata.usgs.gov/monitoring-location/08383500" | ||
persistent-hint | ||
class="pb-4" | ||
></v-text-field> | ||
|
||
<v-text-field | ||
v-model="contact_name" | ||
label="Contact name" | ||
hint="Example: John Smith" | ||
required | ||
variant="outlined" | ||
class="pb-4" | ||
></v-text-field> | ||
|
||
<v-text-field | ||
v-model="contact_email" | ||
label="Contact email" | ||
append-inner-icon="mdi-email" | ||
required | ||
variant="outlined" | ||
type="email" | ||
hint="Example: [email protected]" | ||
></v-text-field> | ||
<v-row> | ||
<v-col cols="10" offset="1"> | ||
<v-text-field | ||
v-model="homepage" | ||
label="Homepage for where redirects will point to" | ||
type="url" | ||
required | ||
variant="outlined" | ||
hint="Example: https://waterdata.usgs.gov" | ||
persistent-hint | ||
class="pb-4" | ||
/> | ||
</v-col> | ||
|
||
<v-col cols="5" offset="1"> | ||
<v-text-field | ||
v-model="example_pid" | ||
label="Example PID" | ||
required | ||
variant="outlined" | ||
hint="Example: https://geoconnex.us/usgs/monitoring-location/08383500" | ||
persistent-hint | ||
class="pb-4" | ||
/> | ||
</v-col> | ||
|
||
<v-col cols="5"> | ||
<v-text-field | ||
v-model="example_redirect_target" | ||
label="Example redirect target url" | ||
type="url" | ||
variant="outlined" | ||
hint="Example: https://waterdata.usgs.gov/monitoring-location/08383500" | ||
persistent-hint | ||
class="pb-4" | ||
/> | ||
</v-col> | ||
|
||
<v-col cols="10" offset="1"> | ||
<v-textarea | ||
v-model="description" | ||
label="Description of data" | ||
required | ||
variant="outlined" | ||
hint="Example: All monitoring locations used by the USGS Waterdata system" | ||
persistent-hint | ||
class="pb-4" | ||
/> | ||
</v-col> | ||
|
||
<v-col cols="5" offset="1"> | ||
<v-text-field | ||
v-model="contact_name" | ||
label="Contact name" | ||
hint="Example: John Smith" | ||
required | ||
variant="outlined" | ||
class="pb-4" | ||
/> | ||
</v-col> | ||
|
||
<v-col cols="5"> | ||
<v-text-field | ||
v-model="contact_email" | ||
label="Contact email" | ||
append-inner-icon="mdi-email" | ||
required | ||
variant="outlined" | ||
type="email" | ||
hint="Example: [email protected]" | ||
/> | ||
</v-col> | ||
</v-row> | ||
</div> | ||
|
||
<v-alert type="error" class="w-50 mx-auto" v-if="!valid" icon="mdi-alert"> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters