Rev 1475 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1475 | Rev 1477 | ||
---|---|---|---|
Line 103... | Line 103... | ||
103 | if(tipologiaRequisitada.getAlunosRequisitados().size() > 0) |
103 | if(tipologiaRequisitada.getAlunosRequisitados().size() > 0) |
104 | { |
104 | { |
105 | 105 | ||
106 | %> |
106 | %> |
107 | <div class="list-group-item clearfix" > |
107 | <div class="list-group-item clearfix" > |
108 | <div class="col-sm-8"> |
108 | <div class="col-sm-7"> |
109 | <label class="bg-primary" style="padding: 2px"><%=tipologiaRequisitada.getUnidadeAfeta().getCodigoUnidade()%></label> |
109 | <label class="bg-primary" style="padding: 2px"><%=tipologiaRequisitada.getUnidadeAfeta().getCodigoUnidade()%></label> |
110 | <label class="bg-info " style="padding: 2px"><%=tipologiaRequisitada.getUnidadeAfeta().getNome()%></label> |
110 | <label class="bg-info " style="padding: 2px"><%=tipologiaRequisitada.getUnidadeAfeta().getNome()%></label> |
111 | <label class="bg-primary " style="padding: 2px"><%=tipologiaRequisitada.getCdTurma()%></label> |
111 | <label class="bg-primary " style="padding: 2px"><%=tipologiaRequisitada.getCdTurma()%></label> |
112 | <label class="badge badge-info"><%=tipologiaRequisitada.getDsTipologia()%></label> |
112 | <label class="badge badge-info"><%=tipologiaRequisitada.getDsTipologia()%></label> |
113 | </div> |
113 | </div> |
114 | <div class="col-sm-2"> |
114 | <div class="col-sm-3"> |
115 | <% |
115 | <% |
116 | int respostas = respondidos == null ? 0 : (int) ((Long) respondidos).longValue(); |
116 | int respostas = respondidos == null ? 0 : (int) ((Long) respondidos).longValue(); |
117 | int total = tipologiaRequisitada.getAlunosRequisitados().size(); |
117 | int total = tipologiaRequisitada.getAlunosRequisitados().size(); |
118 | %> |
118 | %> |
119 | 119 | ||
Line 128... | Line 128... | ||
128 | percentageColor = "info"; |
128 | percentageColor = "info"; |
129 | else |
129 | else |
130 | percentageColor = "success"; |
130 | percentageColor = "success"; |
131 | %> |
131 | %> |
132 | <label class="label label-pill label-<%=percentageColor%>" style="font-size: 1em"><%=respondidos == null ? 0 : ((Long)respondidos)%></label> |
132 | <label class="label label-pill label-<%=percentageColor%>" style="font-size: 1em"><%=respondidos == null ? 0 : ((Long)respondidos)%></label> |
133 | / |
133 | <span class="icon icon-user"> </span> / |
134 | <label class="label label-pill label-info" style="font-size: 1em"><%=tipologiaRequisitada.getAlunosRequisitados().size()%></label> |
134 | <label class="label label-pill label-primary" style="font-size: 1em"><%=tipologiaRequisitada.getAlunosRequisitados().size()%></label> <span class="icon icon-users"> </span> |
135 | <% |
135 | <% |
136 | if(UserSession.getUser().isSuperuser() && request.getParameter("super")!=null) |
136 | if(UserSession.getUser().isSuperuser() && request.getParameter("super")!=null) |
137 | { |
137 | { |
138 | %> |
138 | %> |
139 | <a href="#" class="btn btn-default" data-href="<%=request.getContextPath()%>/user/questionarios/pedagogicoEstudante/unidadeAlunosNaoRespondidos.jsp?id=<%=tipologiaRequisitada.getId()%>" data-title="Alunos sem resposta (<%=tipologiaRequisitada.getUnidadeAfeta().getNome()%>) <%=cursoAfeto.getNome()%> da <%=cursoAfeto.getNomeInstituicao()%> )" data-toggle="modal" data-target="#modalAjaxRequest"> |
139 | <a href="#" class="btn btn-default" data-href="<%=request.getContextPath()%>/user/questionarios/pedagogicoEstudante/unidadeAlunosNaoRespondidos.jsp?id=<%=tipologiaRequisitada.getId()%>" data-title="Alunos sem resposta (<%=tipologiaRequisitada.getUnidadeAfeta().getNome()%>) <%=cursoAfeto.getNome()%> da <%=cursoAfeto.getNomeInstituicao()%> )" data-toggle="modal" data-target="#modalAjaxRequest"> |
Line 146... | Line 146... | ||
146 | <div class="col-sm-2"> |
146 | <div class="col-sm-2"> |
147 | <div class="progress" > |
147 | <div class="progress" > |
148 | <div class="progress-bar progress-bar-<%=percentageColor%>" role="progressbar" aria-valuenow="<%=percentage%>" |
148 | <div class="progress-bar progress-bar-<%=percentageColor%>" role="progressbar" aria-valuenow="<%=percentage%>" |
149 | aria-valuemin="0" aria-valuemax="100" style="width:<%=percentage%>%"> |
149 | aria-valuemin="0" aria-valuemax="100" style="width:<%=percentage%>%"> |
150 | <%=percentage%>% |
150 | <%=percentage%>% |
- | 151 | <span class="icon icon-users"> </span> |
|
151 | </div> |
152 | </div> |
152 | </div> |
153 | </div> |
153 | </div> |
154 | </div> |
154 | </div> |
155 | </div> |
155 | <% |
156 | <% |