Form:Event: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 101: Line 101:
|-  
|-  
! Slot type:
! Slot type:
|{{{field|Slot type|input type=combobox|values=Single day,Range of days,Exact date|default=Exact date|mandatory|show on select=Single day=>singleDay;Range of days=>rangeDays;Range of days=>openClose;Single day=>openClose;Exact date=>exactDate;Exact date=>openClose;|existing values only}}}
|{{{field|Slot type|input type=dropdown|values=Single day,Range of days,Exact date|default=Exact date|mandatory|show on select=Single day=>singleDay;Range of days=>rangeDays;Range of days=>openClose;Single day=>openClose;Exact date=>exactDate;Exact date=>openClose;|existing values only}}}
|- id="singleDay"
|- id="singleDay"
! Day of the week:
! Day of the week:
| {{{field|Single day|input type=combobox|property=Day of week|mandatory|existing values only}}}
| {{{field|Single day|input type=dropdown|property=Day of week|mandatory|existing values only}}}
|- id="rangeDays"
|- id="rangeDays"
! Days of the week:
! Days of the week:
| {{{field|Range day from|input type=combobox|property=Day of week|mandatory|existing values only}}} — {{{field|Range day to|input type=combobox|property=Day of week|mandatory|existing values only}}}
| {{{field|Range day from|input type=dropdown|property=Day of week|mandatory|existing values only}}} — {{{field|Range day to|input type=dropdown|property=Day of week|mandatory|existing values only}}}
|- id="exactDate"
|- id="exactDate"
! Date:
! Date:
Line 113: Line 113:
|-  
|-  
! Record type:
! Record type:
| <span id="openClose">{{{field|Record type|input type=combobox|values=Opening,Closing,Day off,Regular|mandatory|default=Regular|existing values only|show on select=Regular=>hours;Opening=>hours;Closing=>hours;Day off=>empty;}}}</span><span id="hours">{{{field|Schedule type|input type=combobox|values=Without a break,With a break|show on select=Without a break=>schedule;With a break=>schedule;With a break=>break;|default=Without a break|existing values only}}}</span>
| <span id="openClose">{{{field|Record type|input type=dropdown|values=Opening,Closing,Day off,Regular|mandatory|default=Regular|existing values only|show on select=Regular=>hours;Opening=>hours;Closing=>hours;Day off=>empty;}}}</span><span id="hours">{{{field|Schedule type|input type=dropdown|values=Without a break,With a break|show on select=Without a break=>schedule;With a break=>schedule;With a break=>break;|default=Without a break|existing values only}}}</span>
|- id="schedule"
|- id="schedule"
!  
!  
Line 123: Line 123:
   <div class="d-table-cell">from</div>
   <div class="d-table-cell">from</div>
   <div class="d-table-cell"><!--
   <div class="d-table-cell"><!--
-->{{{field|Hour open from|input type=combobox|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=09|existing values only}}}<!--
-->{{{field|Hour open from|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=09|existing values only}}}<!--
-->{{{field|Minutes open from|input type=combobox|values=00,15,30,45|default=00|existing values only}}}
-->{{{field|Minutes open from|input type=dropdown|values=00,15,30,45|default=00|existing values only}}}
   </div>
   </div>
   </div>
   </div>
Line 130: Line 130:
   <div class="d-table-cell">to</div>
   <div class="d-table-cell">to</div>
   <div class="d-table-cell"><!--
   <div class="d-table-cell"><!--
-->{{{field|Hour open to|input type=combobox|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=18|existing values only}}}<!--
-->{{{field|Hour open to|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=18|existing values only}}}<!--
-->{{{field|Minutes open to|input type=combobox|values=00,15,30,45|default=00|existing values only}}}
-->{{{field|Minutes open to|input type=dropdown|values=00,15,30,45|default=00|existing values only}}}
   </div>
   </div>
   </div>
   </div>
Line 144: Line 144:
   <div class="d-table-cell">from</div>
   <div class="d-table-cell">from</div>
   <div class="d-table-cell"><!--
   <div class="d-table-cell"><!--
-->{{{field|Hour break from|input type=combobox|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=13|existing values only}}}<!--
-->{{{field|Hour break from|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=13|existing values only}}}<!--
-->{{{field|Minutes break from|input type=combobox|values=00,15,30,45|default=00|existing values only}}}
-->{{{field|Minutes break from|input type=dropdown|values=00,15,30,45|default=00|existing values only}}}
   </div>
   </div>
   </div>
   </div>
Line 151: Line 151:
   <div class="d-table-cell">to</div>
   <div class="d-table-cell">to</div>
   <div class="d-table-cell"><!--
   <div class="d-table-cell"><!--
-->{{{field|Hour break to|input type=combobox|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=14|existing values only}}}<!--
-->{{{field|Hour break to|input type=dropdown|values=00,01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21,22,23|default=14|existing values only}}}<!--
-->{{{field|Minutes break to|input type=combobox|values=00,15,30,45|default=00|existing values only}}}
-->{{{field|Minutes break to|input type=dropdown|values=00,15,30,45|default=00|existing values only}}}
   </div>
   </div>
   </div>
   </div>

Revision as of 20:32, May 18, 2024

This is the "Event" form. To create a page with this form, enter the page name below; if a page with that name already exists, you will be sent to a form to edit that page.