1 | <fieldset id="calendar_event_repeat_form" class="event-repeat-container"> |
---|
2 | <legend class="hidden">Repetição do evento</legend> |
---|
3 | <input type="hidden" name="repeatId"/> |
---|
4 | |
---|
5 | <p class="input-group"> |
---|
6 | <label for="frequency">Repetição:</label> |
---|
7 | <select name="frequency" class="frequency" <%= ((data.event.acl.write || data.event.acl.organization) && data.event.isAttendee) ? '' : 'disabled'%>> |
---|
8 | <option value="none">Sem repetição</option> |
---|
9 | <option value="daily">Diária</option> |
---|
10 | <option value="weekly">Semanal</option> |
---|
11 | <option value="monthly">Mensal</option> |
---|
12 | <option value="yearly">Anual</option> |
---|
13 | </select> |
---|
14 | </p> |
---|
15 | |
---|
16 | <!-- Semana e Mês --> |
---|
17 | |
---|
18 | <!-- Mês --> |
---|
19 | <p class="input-group event-repeat-monthly hidden frequency-option"> |
---|
20 | <label>Mensalmente por </label> |
---|
21 | <input type="radio" name="repeatmonthyType" value="1"> |
---|
22 | <label for="repeatmonthyType">dia do mês</label> |
---|
23 | |
---|
24 | <input type="radio" name="repeatmonthyType" value="1"> |
---|
25 | <label for="repeatmonthyType">dia da semana</label> |
---|
26 | </p> |
---|
27 | |
---|
28 | <!-- Semana --> |
---|
29 | <p class="input-group event-repeat-weekly hidden frequency-option"> |
---|
30 | <label>Toda </label> |
---|
31 | <input type="checkbox" name="repeatweekly[]" value="SU"> |
---|
32 | <label for="repeatweekly[]">Domingo</label> |
---|
33 | |
---|
34 | <input type="checkbox" name="repeatweekly[]" value="MO"> |
---|
35 | <label for="repeatweekly[]">Segunda</label> |
---|
36 | |
---|
37 | <input type="checkbox" name="repeatweekly[]" value="TU"> |
---|
38 | <label for="repeatweekly[]">Terça</label> |
---|
39 | |
---|
40 | <input type="checkbox" name="repeatweekly[]" value="WE"> |
---|
41 | <label for="repeatweekly[]">Quarta</label> |
---|
42 | |
---|
43 | <input type="checkbox" name="repeatweekly[]" value="TH"> |
---|
44 | <label for="repeatweekly[]">Quinta</label> |
---|
45 | |
---|
46 | <input type="checkbox" name="repeatweekly[]" value="FR"> |
---|
47 | <label for="repeatweekly[]">Sexta</label> |
---|
48 | |
---|
49 | <input type="checkbox" name="repeatweekly[]" value="SA"> |
---|
50 | <label for="repeatweekly[]">Sabado</label> |
---|
51 | </p> |
---|
52 | |
---|
53 | <p class="input-group finish_event repeat-in hidden"> |
---|
54 | <!-- <span class="input-group"> |
---|
55 | <label for="start">A repetição inicia</label> |
---|
56 | <select name="startOptions" class="startOptions"> |
---|
57 | <option value="Today">Hoje</option> |
---|
58 | <option value="customDate">Na Data Selecionada</option> |
---|
59 | </select> |
---|
60 | <input class="date startDate" type="text" name="start" readonly> |
---|
61 | </span> --> |
---|
62 | </p> |
---|
63 | <p class="input-group finish_event repeat-in hidden"> |
---|
64 | <span class="input-group"> |
---|
65 | <label class="label_finish_event">A repetição</label> |
---|
66 | <!--<input type="radio" name="repeat_finish" value="date_fixed">--> |
---|
67 | <select name="endOptions" class="endRepeat"> |
---|
68 | <option value="never">Nunca termina</option> |
---|
69 | <option value="customDate">Termina na Data Selecionada</option> |
---|
70 | <option value="occurrences">Termina Após n Ocorrencias</option> |
---|
71 | </select> |
---|
72 | <input type="text" name="end" class="date customDateEnd hidden"> |
---|
73 | <input type="text" name="occurrences" class="tiny number occurrencesEnd hidden"> |
---|
74 | <label name="occurrences" class="hidden">Ocorrências</label> |
---|
75 | </span> |
---|
76 | </p> |
---|
77 | <p class="input-group finish_event repeat-in hidden"> |
---|
78 | <span class="input-group"> |
---|
79 | <label>Tendo intervalo de</label> |
---|
80 | <input type="text" name="" class="tiny number eventInterval" value="1"> |
---|
81 | <label class="interval"></label> |
---|
82 | </span> |
---|
83 | </p> |
---|
84 | <!--<button class="test-recurrence" onclick="recurrence();">Gera a repetição então, vamo ver!</button>--> |
---|
85 | <!-- <label for="calendar_event_repeat_summary">Resumo:</label> |
---|
86 | <span>Semanal: cada quinta-feira<span>--> |
---|
87 | |
---|
88 | </fieldset> |
---|
89 | |
---|