Ignore:
Timestamp:
08/15/12 12:07:23 (12 years ago)
Author:
marcieli
Message:

Ticket #3028 - Corrigidas telas de impressao na agenda, fontes, posicoes, icones.

Location:
trunk/prototype/modules/calendar/templates
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/prototype/modules/calendar/templates/calendar_day_print.ejs

    r6996 r7022  
    2222                                                var title_type = ""; 
    2323                                                if(data.days.events[0][jj].events[ii].type == '1'){ 
    24                                                         img_type = "../prototype/modules/calendar/img/event.png"; 
     24                                                        img_type = "../prototype/modules/calendar/img/mini-event.png"; 
    2525                                                        title_type = "Evento"; 
    2626                                                }if(data.days.events[0][jj].events[ii].type == '2'){ 
    27                                                         img_type = "../prototype/modules/calendar/img/task.png";  
     27                                                        img_type = "../prototype/modules/calendar/img/mini-task.png";  
    2828                                                        title_type = "Tarefa"; 
    2929                                                }if(data.days.events[0][jj].events[ii].type == '3'){ 
    30                                                         img_type = "../prototype/modules/calendar/img/activity_icon.jpg";  
     30                                                        img_type = "../prototype/modules/calendar/img/mini-activity.png";  
    3131                                                        title_type = "Atividade"; 
    3232                                                } 
     
    5252                                                title_type = "Tarefa"; 
    5353                                        }if(data.days.events[0][jj].events[ii].type == '3'){ 
    54                                                 img_type = "../prototype/modules/calendar/img/activity_icon.jpg";  
     54                                                img_type = "../prototype/modules/calendar/img/mini-activity.png";  
    5555                                                title_type = "Atividade"; 
    5656                                        } 
  • trunk/prototype/modules/calendar/templates/calendar_list_print.ejs

    r6996 r7022  
    3737        </head> 
    3838        <body class="<%= valid.class %>"> 
     39                <div class="title_print"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %> </div>                   
    3940                <%= data.html %> 
    4041        </body> 
  • trunk/prototype/modules/calendar/templates/calendar_month_print.ejs

    r6996 r7022  
    3535                                                                title_type = "Tarefa"; 
    3636                                                        }if(data.days.events[i][jj].events[ii].type == '3'){ 
    37                                                                 img_type = "../prototype/modules/calendar/img/activity_icon.jpg";  
     37                                                                img_type = "../prototype/modules/calendar/img/mini-activity.png";  
    3838                                                                title_type = "Atividade"; 
    3939                                                        } 
  • trunk/prototype/modules/calendar/templates/calendar_week_print.ejs

    r6996 r7022  
    88 
    99        <div class="week"> 
    10                 <div class="name-month"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %></div>     
     10                <div class="title_print"> <img src="../prototype/modules/calendar/img/navbar.png"> <%= data.InfoPage %></div>    
    1111                <% if(data.days){ 
    1212                delete data.days.events[7]; %> 
     
    3636                                                                if(data.days.events[i][eachInd].events){ 
    3737                                                                        for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 
     38                                                                                var img_type = ""; 
     39                                                                                var title_type = ""; 
     40                                                                                if(data.days.events[i][eachInd].events[ii].type == '1'){ 
     41                                                                                        img_type = "../prototype/modules/calendar/img/mini-event.png"; 
     42                                                                                        title_type = "Evento"; 
     43                                                                                }if(data.days.events[i][eachInd].events[ii].type == '2'){ 
     44                                                                                        img_type = "../prototype/modules/calendar/img/mini-task.png";  
     45                                                                                        title_type = "Tarefa"; 
     46                                                                                }if(data.days.events[i][eachInd].events[ii].type == '3'){ 
     47                                                                                        img_type = "../prototype/modules/calendar/img/mini-activity.png";  
     48                                                                                        title_type = "Atividade"; 
     49                                                                                } 
    3850                                                                                if(data.days.events[i][eachInd].events[ii].allDay == true){ 
    3951                                                                                aux = true; 
    4052                                                        %>       
    4153                                                                        <!-- Aqui dia todo --> 
    42                                                                         <div class="event-all-day"> &nbsp; <%= data.days.events[i][eachInd].events[ii].summary %></div> 
     54                                                                        <div class="event-all-day"><img title="<%= title_type %>" src="<%= img_type %>"><%= data.days.events[i][eachInd].events[ii].summary %></div> 
    4355                                                        <%               
    4456                                                                                } 
     
    5769                                                        <%       
    5870                                                                         
    59                                                                 if(data.days.events[i][eachInd].events){ 
    60                                                                         for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 
    61                                                                  
    62                                                                                 if(data.days.events[i][eachInd].events[ii].allDay == false){ 
    63                                                                         var startHour =  data.days.events[i][eachInd].events[ii].startHour; 
    64                                                                         var endHour =  data.days.events[i][eachInd].events[ii].endHour; 
     71                                                        if(data.days.events[i][eachInd].events){ 
     72                                                                for(var ii=0; ii<data.days.events[i][eachInd].events.length; ii++){ 
     73                                                                                                                 
     74                                                                        var img_type = ""; 
     75                                                                        var title_type = ""; 
     76                                                                        if(data.days.events[i][eachInd].events[ii].type == '1'){ 
     77                                                                                img_type = "../prototype/modules/calendar/img/mini-event.png"; 
     78                                                                                title_type = "Evento"; 
     79                                                                        }if(data.days.events[i][eachInd].events[ii].type == '2'){ 
     80                                                                                img_type = "../prototype/modules/calendar/img/mini-task.png";  
     81                                                                                title_type = "Tarefa"; 
     82                                                                        }if(data.days.events[i][eachInd].events[ii].type == '3'){ 
     83                                                                                img_type = "../prototype/modules/calendar/img/mini-activity.png";  
     84                                                                                title_type = "Atividade"; 
     85                                                                        } 
     86                                         
     87                                                                        if(data.days.events[i][eachInd].events[ii].allDay == false){ 
     88                                                                                var startHour =  data.days.events[i][eachInd].events[ii].startHour; 
     89                                                                                var endHour =  data.days.events[i][eachInd].events[ii].endHour; 
    6590                                                        %> 
    66                                                                         <!-- Aqui o restante --> 
     91                                                                                <!-- Aqui o restante --> 
    6792 
    68                                                                         <div class="event-on-day"><%= data.days.events[i][eachInd].events[ii].summary %> | <%= startHour %> - <%= endHour %> </div>                                              
     93                                                                                <div class="event-on-day"><img title="<%= title_type %>" src="<%= img_type %>"><%= startHour %> - <%= endHour %> | <%= data.days.events[i][eachInd].events[ii].summary %></div>                                          
    6994                                                        <%       
    70                                                                                 } 
    7195                                                                        } 
    7296                                                                } 
     97                                                        } 
    7398                                                        %> 
    7499                                                        </div> 
  • trunk/prototype/modules/calendar/templates/calendar_year_print.ejs

    r6996 r7022  
    88        <body> 
    99                <div class="year_print"> 
    10                         <div class="year_print_header"><h2><%= data.header %></h2></div> 
     10                        <div class="title_print"><img src="../prototype/modules/calendar/img/navbar.png"> <%= data.header %></div> 
    1111                        <div class="year_print_content"> 
    1212                                <%= data.html %> 
  • trunk/prototype/modules/calendar/templates/event_list.ejs

    r6996 r7022  
    5959                                                                title_type = "Tarefa"; 
    6060                                                        }if(_event.type == '3'){ 
    61                                                                 img_type = "../prototype/modules/calendar/img/activity_icon.jpg";  
     61                                                                img_type = "../prototype/modules/calendar/img/big-activity.png";  
    6262                                                                title_type = "Atividade"; 
    6363                                                        } 
Note: See TracChangeset for help on using the changeset viewer.