Subversion Repository Public Repository

ramani

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head/>
    <h:body>
        <ui:composition template="../template.xhtml">
            <ui:define name="caminho">
                <h:outputText/>
            </ui:define>

            <ui:define name="conteudoCentro">
                <f:event type="preRenderComponent"
                         listener="#{projetoBean.encerrarSessao()}"/>
                <p:layout id="layout">
                    <h:form id="form">
                        <p:growl id="growl"
                                 showDetail="true"
                                 life="3000"/>                        
                        <p:layoutUnit position="center" >
                            <center >
                                <h:outputLabel value="#{msg['listarProjetos.MeusProjetos']}"
                                               style="font-size: 25px; font-weight: bold;  "/>
                            </center>
                            <hr/>
                            <p:panel id="panel"
                                     style="border-color: transparent">
                                <p:dataTable id="data"
                                             var="proj"
                                             value="#{projetoBean.projetos}"
                                             emptyMessage=""                                             
                                             >
                                    <p:column headerText="#{msg['listarProjetos.TituloProjeto']}" width="70%"
                                              style=" background-size: 0%; border-style: solid; background-color: #f7f7f7"
                                              >
                                        <h:outputText value="#{proj.titulo}" style="background-color: white; padding: 100%"/>
                                    </p:column>

                                    <p:column headerText="Ações" style=" background-size: 0%; border-style: solid; background-color: #f7f7f7">                                       
                                        <p:commandButton title="#{msg['listarProjetos.DetalhesProjeto']}"
                                                         action="detalhesDoProjeto.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-newwin"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>
                                        <p:commandButton title="#{msg['listarProjetos.ConferenciasProjeto']}"
                                                         action="conferenciasDoProjeto.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-folder-collapsed"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>

                                        <p:commandButton title="#{msg['listarProjetos.EstatisticasProjeto']}"
                                                         action="estatisticasDoProjeto.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-calculator"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>

                                        <p:commandButton title="#{msg['listarProjetos.SelecoesProjeto']}"
                                                         action="selecoesDoProjeto.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-circle-check"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>

                                        <p:commandButton title="#{msg['listarProjetos.ColaboradoresProjeto']}"
                                                         action="colaboradoresDoProjeto.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-person"
                                                         rendered="#{proj.coordenador eq colaboradorBean.colaboradorLogado}"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>

                                        <p:commandButton title="#{msg['listarProjetos.ValidarSelecoesProjeto']}"
                                                         action="/cadastros/criarEstatistica.xhtml"
                                                         ajax="false"
                                                         icon="ui-icon-shuffle"
                                                         rendered="#{proj.coordenador eq colaboradorBean.colaboradorLogado}"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{estatisticaBean.projeto}"/>
                                        </p:commandButton>                                        
                                        <p:commandButton title="#{msg['listarProjetos.ExcluirProjeto']}"
                                                         onclick="confirmation.show();"
                                                         icon="ui-icon-trash"
                                                         rendered="#{proj.coordenador eq colaboradorBean.colaboradorLogado}"
                                                         style="background-color: #f7f7f7; background-size: 0%; border-style: none; border-style: solid ">
                                            <f:setPropertyActionListener value="#{proj}"
                                                                         target="#{projetoBean.projeto}"/>
                                        </p:commandButton>
                                    </p:column>
                                </p:dataTable>
                            </p:panel>
                        </p:layoutUnit>
                    </h:form>

                    <p:dialog header="#{msg['listarProjetos.ConfirmacaoExclusao']}"
                              widgetVar="confirmation"
                              appendToBody="true"
                              modal="true"
                              draggable="false"
                              closable="false"
                              resizable="false"
                              closeOnEscape="true">
                        <h:outputText value="#{msg['listarProjetos.VoceTemCertezaExclusao']}"/>
                        <hr/>
                        <h:form dir="RTL">
                            <p:commandButton value="#{msg['listarProjetos.Nao']}"
                                             title="#{msg['listarProjetos.ManterProjeto']}"
                                             onclick="confirmation.hide();"
                                             style="width: 100px"
                                             icon="ui-icon-closethick"
                                             iconPos="right"/>
                            <p:commandButton value="#{msg['listarProjetos.Sim']}"
                                             title="#{msg['listarProjetos.ExcluirProjeto']}"
                                             action="#{projetoBean.excluirProjeto()}"
                                             ajax="false"
                                             style="width: 100px"
                                             icon="ui-icon-check"
                                             iconPos="right"/>
                        </h:form>
                    </p:dialog>
                </p:layout>
            </ui:define>
        </ui:composition>
    </h:body>
</html>

Commits for ramani/Ramani/web/projeto/listarProjetos.xhtml

Diff revisions: vs.
Revision Author Commited Message
545 Diff Diff heartle picture heartle Wed 22 Oct, 2014 04:05:35 +0000
516 Diff Diff masahiro.arthur picture masahiro.arthur Fri 11 Jul, 2014 15:38:28 +0000

Mensagens foram atualizadas mas ainda não estão completas (Falta a pasta restrito e visualizacao. As outras estão pendentes só as mensagens em inglês). Pequenos problemas de layout detectados e serão tratados

501 Diff Diff masahiro.arthur picture masahiro.arthur Wed 18 Jun, 2014 15:13:35 +0000

Versão preliminar da visualização de autores

437 Diff Diff masahiro.arthur picture masahiro.arthur Wed 28 May, 2014 16:28:23 +0000
426 Diff Diff heartle picture heartle Sun 20 Apr, 2014 03:57:18 +0000
425 Diff Diff heartle picture heartle Sat 19 Apr, 2014 15:41:03 +0000
422 Diff Diff heartle picture heartle Wed 16 Apr, 2014 05:27:24 +0000
421 Diff Diff heartle picture heartle Tue 15 Apr, 2014 15:50:08 +0000
418 Diff Diff heartle picture heartle Tue 15 Apr, 2014 03:55:50 +0000
416 heartle picture heartle Mon 14 Apr, 2014 04:54:25 +0000