Difference between revisions of "Form:Event"

From Earth Science Information Partners (ESIP)
 
(9 intermediate revisions by the same user not shown)
Line 11: Line 11:
 
|values from property=Event title
 
|values from property=Event title
 
|remote autocompletion
 
|remote autocompletion
|class=form-control
+
|class=form-control mb-1
 
|mandatory
 
|mandatory
 
}}}
 
}}}
}}
+
}}<!--
{{form-row
+
 
  |label=Portal
+
-->{{{field
  |field={{{field
 
 
|Portal
 
|Portal
 
|input type=dropdown
 
|input type=dropdown
 
|values from category=Portals
 
|values from category=Portals
|class=form-control
+
|class=form-control mb-1
 +
|hidden
 
}}}
 
}}}
}}
 
 
{{form-row
 
{{form-row
 
   |label=Participants
 
   |label=Participants
Line 38: Line 37:
 
   |label=Duration
 
   |label=Duration
 
   |label-style=align-self:start !important
 
   |label-style=align-self:start !important
   |field=from {{{field
+
   |field=<div class="mb-1">from {{{field
 
|Start date
 
|Start date
 
|input type=datepicker
 
|input type=datepicker
 
|default={{#time:Y/m/d|now}}  
 
|default={{#time:Y/m/d|now}}  
 +
|mandatory
 
}}} {{{field
 
}}} {{{field
 
|Start hour
 
|Start hour
Line 52: Line 52:
 
|values=00,05,10,15,20,25,30,35,40,45,50,55
 
|values=00,05,10,15,20,25,30,35,40,45,50,55
 
|default=00
 
|default=00
}}} m
+
}}} m</div>
 
+
<div class="mb-1">until {{{field
until {{{field
 
 
|End date
 
|End date
 
|input type=datepicker
 
|input type=datepicker
Line 68: Line 67:
 
|values=00,05,10,15,20,25,30,35,40,45,50,55
 
|values=00,05,10,15,20,25,30,35,40,45,50,55
 
|default=00
 
|default=00
}}} m
+
}}} m</div>
 
}}
 
}}
 
{{form-row
 
{{form-row
Line 76: Line 75:
 
|Event location
 
|Event location
 
|feeds to map=Events[Event coordinates]
 
|feeds to map=Events[Event coordinates]
 +
|class=form-control mb-2
 
}}}
 
}}}
  
Line 103: Line 103:
 
|delimiter=;
 
|delimiter=;
 
|max values=3
 
|max values=3
|class=form-control
+
|class=form-control mt-1
 
}}}
 
}}}
 
}}
 
}}
Line 168: Line 168:
 
{{{end template}}}
 
{{{end template}}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
{{#formlink: form=Event
+
Events are to be created form the [[:Category:Portals|portal]] pages.
  |link text=<span class="mw-ui-button mw-ui-progressive">Add an Event</span>
 
}}
 
 
</noinclude>
 
</noinclude>

Latest revision as of 03:25, July 29, 2020

Events are to be created form the portal pages.