Difference between revisions of "Form:Radioschedule"

From SHA2017 Wiki
Jump to: navigation, search
(only shows? :))
 
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{#forminput:form=ShowManager}}
 
{{#forminput:form=ShowManager}}
 
</noinclude><includeonly>
 
</noinclude><includeonly>
 +
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 +
{{{for template|ShowLocation}}}
 +
{| class="formtable"
 +
|-
 +
| colspan="2" | {{{field|ManagedShows|holds template}}}
 +
|}<div style="position:fixed; top:10042px; right:11337px;">{{{field|haxordate|input type=datepicker}}} this field is added because of a bug in mediawiki, where datetime fields ONLY show the date picker when a date picker is loaded on the page. This apperantly how they test their software. So we have to hack around it.
 +
</div>
 +
{{{end template}}}
 +
 +
 
{{{for template|Show|multiple}}}
 
{{{for template|Show|multiple}}}
 
{| class="formtable"
 
{| class="formtable"
 
! When:
 
! When:
| {{{field|Has start time|input type=datetimepicker|default=2017/08/04|values=2017/08/04,2017/08/05,2017/08/06,2017/08/07,2017/08/08|highlight dates=2017/08/04,2017/08/05,2017/08/06,2017/08/07,2017/08/08|first date=2017/08/04|last date=2017/08/08|mandatory}}}
+
| {{{field|Has start time|input type=datetimepicker|default=2017/08/04|values=2017/08/03,2017/08/04,2017/08/05,2017/08/06,2017/08/07,2017/08/08|highlight dates=2017/08/03,2017/08/04,2017/08/05,2017/08/06,2017/08/07,2017/08/08|first date=2017/08/03|last date=2017/08/08|mandatory}}}
 
|-
 
|-
 
! Duration
 
! Duration
| {{{field|Has duration}}}
+
| {{{field|Has duration|mandatory}}}
 
|-
 
|-
 
! Show Name:   
 
! Show Name:   
Line 17: Line 27:
 
! Description:
 
! Description:
 
| {{{field|Description|mandatory|input type=textarea}}}
 
| {{{field|Description|mandatory|input type=textarea}}}
 +
|-
 +
! Location: 
 +
| {{{field|Location|mandatory|input type=dropdown|values=Main Studio,Secondary Studio}}}
 
|-
 
|-
 
! Host(s):  
 
! Host(s):  
| {{{field|Host|values from namespace=User|input type=tokens}}}
+
| {{{field|Host|input type=textarea}}}
 
|-
 
|-
 
! Producer(s):  
 
! Producer(s):  
| {{{field|Producer|values from namespace=User|input type=tokens}}}
+
| {{{field|Producer|input type=textarea}}}
 
|-
 
|-
 
! Technician(s):  
 
! Technician(s):  
| {{{field|Technician|values from namespace=User|input type=tokens}}}
+
| {{{field|Technician|input type=textarea}}}
 
|}
 
|}
 
{{{end template}}}
 
{{{end template}}}

Latest revision as of 19:17, 26 July 2017

This thing was made for the radio studio, it might be abused for other things as well :)