[5341] | 1 | <fieldset id="calendar_event_repeat_form" class="event-repeat-container"> |
---|
| 2 | <legend class="hidden">Repetição do evento</legend> |
---|
[5715] | 3 | <input type="hidden" name="repeatId"/> |
---|
[5341] | 4 | |
---|
| 5 | <p class="input-group"> |
---|
| 6 | <label for="frequency">Repetição:</label> |
---|
[6066] | 7 | <select name="frequency" class="frequency" <%= ((data.event.acl.write || data.event.acl.organization) && data.event.isAttendee) ? '' : 'disabled'%>> |
---|
[5715] | 8 | <option value="none">Sem repetição</option> |
---|
| 9 | <option value="daily">Diária</option> |
---|
[5341] | 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 | |
---|
[5715] | 18 | <!-- Mês --> |
---|
| 19 | <p class="input-group event-repeat-monthly hidden frequency-option"> |
---|
| 20 | <label>Mensalmente por </label> |
---|
[6346] | 21 | <input type="radio" name="repeatmonthyType" value="1"> |
---|
[5715] | 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> |
---|
[5341] | 27 | |
---|
| 28 | <!-- Semana --> |
---|
[5715] | 29 | <p class="input-group event-repeat-weekly hidden frequency-option"> |
---|
| 30 | <label>Toda </label> |
---|
[5341] | 31 | <input type="checkbox" name="repeatweekly[]" value="SU"> |
---|
[5715] | 32 | <label for="repeatweekly[]">Domingo</label> |
---|
[5341] | 33 | |
---|
| 34 | <input type="checkbox" name="repeatweekly[]" value="MO"> |
---|
[5715] | 35 | <label for="repeatweekly[]">Segunda</label> |
---|
[5341] | 36 | |
---|
| 37 | <input type="checkbox" name="repeatweekly[]" value="TU"> |
---|
[5715] | 38 | <label for="repeatweekly[]">Terça</label> |
---|
[5341] | 39 | |
---|
| 40 | <input type="checkbox" name="repeatweekly[]" value="WE"> |
---|
[5715] | 41 | <label for="repeatweekly[]">Quarta</label> |
---|
[5341] | 42 | |
---|
| 43 | <input type="checkbox" name="repeatweekly[]" value="TH"> |
---|
[5715] | 44 | <label for="repeatweekly[]">Quinta</label> |
---|
[5341] | 45 | |
---|
| 46 | <input type="checkbox" name="repeatweekly[]" value="FR"> |
---|
[5715] | 47 | <label for="repeatweekly[]">Sexta</label> |
---|
[5341] | 48 | |
---|
| 49 | <input type="checkbox" name="repeatweekly[]" value="SA"> |
---|
[5715] | 50 | <label for="repeatweekly[]">Sabado</label> |
---|
[5341] | 51 | </p> |
---|
| 52 | |
---|
[5715] | 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"> |
---|
[5341] | 64 | <span class="input-group"> |
---|
[5715] | 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> |
---|
[6346] | 72 | <input type="text" name="end" class="date customDateEnd hidden"> |
---|
[5715] | 73 | <input type="text" name="occurrences" class="tiny number occurrencesEnd hidden"> |
---|
| 74 | <label name="occurrences" class="hidden">Ocorrências</label> |
---|
[5341] | 75 | </span> |
---|
[5715] | 76 | </p> |
---|
| 77 | <p class="input-group finish_event repeat-in hidden"> |
---|
| 78 | <span class="input-group"> |
---|
| 79 | <label>Tendo intervalo de</label> |
---|
[6346] | 80 | <input type="text" name="" class="tiny number eventInterval" value="1"> |
---|
[5715] | 81 | <label class="interval"></label> |
---|
[5341] | 82 | </span> |
---|
[5715] | 83 | </p> |
---|
| 84 | <!--<button class="test-recurrence" onclick="recurrence();">Gera a repetição então, vamo ver!</button>--> |
---|
[5341] | 85 | <!-- <label for="calendar_event_repeat_summary">Resumo:</label> |
---|
| 86 | <span>Semanal: cada quinta-feira<span>--> |
---|
| 87 | |
---|
| 88 | </fieldset> |
---|
| 89 | |
---|