Difference between revisions of "Form:Resources"
From Earth Science Information Partners (ESIP)
Line 2: | Line 2: | ||
{{{info|page name=<Resources[Portal]>/{{#time:Y-m-d|<Resources[Resources topic]>}}/Resources}}} | {{{info|page name=<Resources[Portal]>/{{#time:Y-m-d|<Resources[Resources topic]>}}/Resources}}} | ||
{{{for template|Resources}}} | {{{for template|Resources}}} | ||
+ | <div class="card bg-light shadow-sm"> | ||
+ | <div class="card-body"> | ||
{{form-row | {{form-row | ||
|label=Portal | |label=Portal | ||
Line 8: | Line 10: | ||
|input type=dropdown | |input type=dropdown | ||
|values from category=Portals | |values from category=Portals | ||
− | |class=form-control | + | |class=form-control mb-1 |
}}} | }}} | ||
}} | }} | ||
Line 18: | Line 20: | ||
|values from property=Resources topic | |values from property=Resources topic | ||
|remote autocompletion | |remote autocompletion | ||
− | |class=form-control | + | |class=form-control mb-1 |
|mandatory | |mandatory | ||
}}} | }}} | ||
Line 29: | Line 31: | ||
|input type=textarea | |input type=textarea | ||
|rows=10 | |rows=10 | ||
− | |class=form-control | + | |class=form-control mb-1 |
|editor=visualeditor | |editor=visualeditor | ||
}}} | }}} | ||
Line 42: | Line 44: | ||
|delimiter=; | |delimiter=; | ||
|max values=3 | |max values=3 | ||
− | |class=form-control | + | |class=form-control mb-1 |
}}} | }}} | ||
}} | }} | ||
Line 49: | Line 51: | ||
|holds template | |holds template | ||
}}} | }}} | ||
+ | </div> | ||
+ | </div> | ||
{{{end template}}} | {{{end template}}} | ||
Line 62: | Line 66: | ||
|default=Picture | |default=Picture | ||
|mandatory | |mandatory | ||
− | |show on select=Picture=>media-type-image;File=>media-type-image;URL=>media-type-url;Video=>media-type-url;Wiki=>media-type-wiki; | + | |show on select=Picture=>media-type-image;File=>media-type-image;Picture=>pic-label;File=>file-label;URL=>media-type-url;Video=>media-type-url;Wiki=>media-type-wiki; |
}}} | }}} | ||
}} | }} | ||
<div id="media-type-image"> | <div id="media-type-image"> | ||
{{form-row | {{form-row | ||
− | |label= | + | |label=<span id="pic-label">Picture</span><span id="file-label">File</span> |
|field={{{field | |field={{{field | ||
|File | |File |