Revision 6984,
1.9 KB
checked in by thiago, 11 years ago
(diff) |
Ticket #2966 - Icones do expresssoCalender e expressoMail
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <link rel="stylesheet" type="text/css" href="../prototype/modules/calendar/css/print.css"> |
---|
5 | <title>Visualização Mensal</title> |
---|
6 | |
---|
7 | <body> |
---|
8 | <div class="month"> |
---|
9 | <div class="title_print"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %> </div> |
---|
10 | <% if(data.days){%> |
---|
11 | <div class="content_month_print"> |
---|
12 | <% |
---|
13 | |
---|
14 | for(var i=0; i < data.days.events.length; i++){ |
---|
15 | for(var jj in data.days.events[i]){ |
---|
16 | %> |
---|
17 | <span class="month_day_print"><%= jj %></span> |
---|
18 | <ul class="calendar_list_print"> |
---|
19 | <% for(var ii=0; ii<data.days.events[i][jj].events.length; ii++){ |
---|
20 | |
---|
21 | var hora, currentEvent = data.days.events[i][jj].events[ii]; |
---|
22 | |
---|
23 | hora = (!currentEvent.isOneDay) ? (currentEvent.startDate +" - "+ currentEvent.startHour +" | "+ currentEvent.endDate +" - "+ currentEvent.endHour) : |
---|
24 | (currentEvent.allDay ? "Dia todo" : currentEvent.startHour + " - " + currentEvent.endHour); |
---|
25 | |
---|
26 | %> |
---|
27 | <% |
---|
28 | var img_type = ""; |
---|
29 | var title_type = ""; |
---|
30 | if(data.days.events[i][jj].events[ii].type == '1'){ |
---|
31 | img_type = "../prototype/modules/calendar/img/mini-event.png"; |
---|
32 | title_type = "Evento"; |
---|
33 | }if(data.days.events[i][jj].events[ii].type == '2'){ |
---|
34 | img_type = "../prototype/modules/calendar/img/mini-task.png"; |
---|
35 | title_type = "Tarefa"; |
---|
36 | }if(data.days.events[i][jj].events[ii].type == '3'){ |
---|
37 | img_type = "../prototype/modules/calendar/img/activity_icon.jpg"; |
---|
38 | title_type = "Atividade"; |
---|
39 | } |
---|
40 | %> |
---|
41 | <li class="calendar_item_print"><img title="<%= title_type %>" src="<%= img_type %>"><span><%= hora %> | <%= data.days.events[i][jj].events[ii].summary %></span></li> |
---|
42 | <% } %> |
---|
43 | </ul> |
---|
44 | <br> |
---|
45 | <% |
---|
46 | } |
---|
47 | } |
---|
48 | %> |
---|
49 | </div><!--days--> |
---|
50 | <%}%> |
---|
51 | </div><!--mounth--> |
---|
52 | </body> |
---|
53 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.