[5341] | 1 | <form method="POST" action="calendarSignature:configure"> |
---|
| 2 | <input type="hidden" name="signature" value="<%=data.signature.id%>" /> |
---|
| 3 | |
---|
| 4 | <fieldset class="configurations-basic"> |
---|
| 5 | <legend class="">Básico</legend> |
---|
| 6 | |
---|
| 7 | <p class="input-group"> |
---|
| 8 | <label for="name">Nome da agenda:</label> |
---|
| 9 | <input name="name" value="<%=data.calendar.name%>" type="text" class=""/> |
---|
| 10 | </p> |
---|
| 11 | |
---|
| 12 | <p class="input-group"> |
---|
| 13 | <label for="description">Descrição:</label> |
---|
| 14 | <input name="description" value="<%=data.calendar.description%>" type="text" class=""/> |
---|
| 15 | </p> |
---|
| 16 | |
---|
| 17 | <p class="input-group"> |
---|
| 18 | <label for="duration">Duração padrão de evento:</label> |
---|
| 19 | <input name="duration" value="<%=data.calendar.defaultDuration%>" type="text" class="number"/> |
---|
| 20 | </p> |
---|
| 21 | |
---|
| 22 | <p class="input-group"> |
---|
| 23 | <label for="timezone">Fuso horário da agenda:</label> |
---|
| 24 | <select name="timezone"> </select> |
---|
| 25 | </p> |
---|
| 26 | |
---|
| 27 | <p class="input-group"> |
---|
| 28 | <label for="location">URL:</label> |
---|
| 29 | <input name="location" value="<%=data.calendar.location%>" type="text" class=""/> |
---|
| 30 | </p> |
---|
| 31 | |
---|
| 32 | </fieldset> |
---|
| 33 | |
---|
| 34 | <fieldset class="configurations-colors"> |
---|
| 35 | <legend class="">Cores dos eventos desta agenda</legend> |
---|
| 36 | |
---|
| 37 | <div class="calendar-colorpicker"></div> |
---|
| 38 | </fieldset> |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | <fieldset class="configurations-alarms"> |
---|
| 42 | <legend class="">Lembretes</legend> |
---|
| 43 | |
---|
| 44 | <p class="input-group"> |
---|
| 45 | <label for="acceptInvitation">Lembretes</label> |
---|
| 46 | |
---|
| 47 | <label>Por padrão, lembrar-me por:</label> |
---|
| 48 | <ul class="preferences-alarms-list"> |
---|
| 49 | |
---|
| 50 | <%if(data.signature.numberDefaultAlarm <= 0){ %> |
---|
| 51 | |
---|
| 52 | <!-- <li class="input-group"> |
---|
| 53 | <select name="alarmType[]"> |
---|
| 54 | <option value="alert">Alerta</option> |
---|
| 55 | <option value="mail" selected="selected">E-mail</option> |
---|
| 56 | <option value="sms">SMS</option> |
---|
| 57 | </select> |
---|
| 58 | <input type="text" name="alarmTime[]" class="number input-small" value=""/> |
---|
| 59 | <select name="alarmUnit[]"> |
---|
| 60 | <option value="d" selected="selected">Dias</option> |
---|
| 61 | <option value="H">Horas</option> |
---|
| 62 | <option value="m">Minutos</option> |
---|
| 63 | </select> |
---|
| 64 | <input type="hidden" name="alarmId[]" value="" /> |
---|
| 65 | <label>antes de cada evento.</label> |
---|
| 66 | <a class="button remove small">Excluir</a> |
---|
| 67 | </li>--> |
---|
| 68 | <%}else{ |
---|
| 69 | for(var i = 0; i < data.signature.numberDefaultAlarm; i++){%> |
---|
| 70 | <li class="input-group"> |
---|
| 71 | <select name="alarmType[]"> |
---|
| 72 | <option value="alert" <%= data.signature.defaultAlarms[i].type=='alert' ? 'selected="selected"':'' %>>Alerta</option> |
---|
| 73 | <option value="mail" <%= data.signature.defaultAlarms[i].type=='mail' ? 'selected="selected"':'' %>>E-mail</option> |
---|
| 74 | <!-- <option value="sms" <%= data.signature.defaultAlarms[i].type=='sms' ? 'selected="selected"':'' %>>SMS</option>--> |
---|
| 75 | </select> |
---|
| 76 | <input type="text" name="alarmTime[]" class="number input-small" value="<%= data.signature.defaultAlarms[i].time %>"/> |
---|
| 77 | <select name="alarmUnit[]"> |
---|
| 78 | <option value="d" <%= data.signature.defaultAlarms[i].unit=='d' ? 'selected="selected"':'' %>>Dias</option> |
---|
| 79 | <option value="H" <%= data.signature.defaultAlarms[i].unit=='H' ? 'selected="selected"':'' %>>Horas</option> |
---|
| 80 | <option value="m" <%= data.signature.defaultAlarms[i].unit=='m' ? 'selected="selected"':'' %>>Minutos</option> |
---|
| 81 | </select> |
---|
| 82 | <input type="hidden" name="alarmId[]" value="<%=data.signature.defaultAlarms[i].id%>" /> |
---|
| 83 | <label>antes de cada evento.</label> |
---|
| 84 | <a class="button remove small">Excluir</a> |
---|
| 85 | </li> |
---|
| 86 | <%}%> |
---|
| 87 | <%}%> |
---|
| 88 | </ul> |
---|
| 89 | </p> |
---|
| 90 | |
---|
| 91 | <a class="button add button-add-alarms">Adicionar lembrete</a> |
---|
| 92 | </fieldset> |
---|
| 93 | <!-- |
---|
| 94 | <fieldset> |
---|
| 95 | <legend class="">Configurações de celular</legend> |
---|
| 96 | |
---|
| 97 | <label class="fields-left">Status:</label> |
---|
| 98 | <label class="fields-right">Número de telefone validado com sucesso.</label> |
---|
| 99 | |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | <p class="input-group"> |
---|
| 103 | <label>País:</label> |
---|
| 104 | <select class="medium"> |
---|
| 105 | <option value="br">Brasil</option> |
---|
| 106 | </select> |
---|
| 107 | </p> |
---|
| 108 | |
---|
| 109 | <p class="input-group"> |
---|
| 110 | <label>Telefone:</label> |
---|
| 111 | <input type="text" name="celphone" class="phone input-medium" value=""/> |
---|
| 112 | </p> |
---|
| 113 | |
---|
| 114 | <p class="input-group"> |
---|
| 115 | <label>Operadora:</label> |
---|
| 116 | <select class="medium" name="operator"> |
---|
| 117 | <option value="br">Tim</option> |
---|
| 118 | <option value="br">Vivo</option> |
---|
| 119 | <option value="br">Claro</option> |
---|
| 120 | <option value="br">Oi</option> |
---|
| 121 | </select> |
---|
| 122 | </p> |
---|
| 123 | |
---|
| 124 | <p class="input-group"> |
---|
| 125 | <label>Código de confirmação:</label> |
---|
| 126 | <input type="text" name="celCodeConfirmation" class="number input-medium" value=""/> |
---|
| 127 | </p> |
---|
| 128 | </fieldset> |
---|
| 129 | --> |
---|
| 130 | |
---|
| 131 | <fieldset class="configurations-notifications hidden"> |
---|
| 132 | <legend class="">Notificações</legend> |
---|
| 133 | <p class="input-group"> |
---|
| 134 | <label for="addMessage">Mensagem para notificação de eventos adicionados:</label> |
---|
| 135 | <textarea rows="5" cols="40" name="msgAdd"><%=data.signature.msgAdd%></textarea> |
---|
| 136 | </p> |
---|
| 137 | |
---|
| 138 | <p class="input-group"> |
---|
| 139 | <label for="cancelMessage">Mensagem para notificação de eventos cancelados:</label> |
---|
| 140 | <textarea rows="5" cols="40" name="msgCancel"><%=data.signature.msgCancel%></textarea> |
---|
| 141 | </p> |
---|
| 142 | |
---|
| 143 | <p class="input-group"> |
---|
| 144 | <label for="updateMessage">Mensagem para notificação de eventos modificados:</label> |
---|
| 145 | <textarea rows="5" cols="40" name="msgUpdate"><%=data.signature.msgUpdate%></textarea> |
---|
| 146 | </p> |
---|
| 147 | |
---|
| 148 | <p class="input-group"> |
---|
| 149 | <label for="answerMessage">Mensagem para notificação de suas respostas:</label> |
---|
| 150 | <textarea rows="5" cols="40" name="msgReply"><%=data.signature.msgReply%></textarea> |
---|
| 151 | </p> |
---|
| 152 | |
---|
| 153 | <p class="input-group"> |
---|
| 154 | <label for="alarmMessage">Mensagem para notificação de seus alarmes:</label> |
---|
| 155 | <textarea rows="5" cols="40" name="msgAlarm"><%=data.signature.msgAlarm%></textarea> |
---|
| 156 | </p> |
---|
| 157 | </fieldset> |
---|
| 158 | |
---|
| 159 | </form> |
---|