Conjunto de mudanças 6476 no repositório publico
- Timestamp:
- 10/06/2012 20:42:49 (9 anos atrás)
- Localização:
- PortalInterlegis/produtos/il.portalinterlegis/src/il/portalinterlegis/browser
- Arquivos:
-
- 1 removido
- 3 editados
Legenda:
- Não Modificado
- Adicionado
- Removido
-
PortalInterlegis/produtos/il.portalinterlegis/src/il/portalinterlegis/browser/boxes.py
r6475 r6476 11 11 from zope.schema.interfaces import IField 12 12 13 from interfaces import ISimpleBox, template_dict 13 from interfaces import ISimpleBox, template_dict, box_schemas 14 14 15 15 … … 122 122 123 123 # initialize all the box managers 124 for s in [ISimpleBox,]: 124 125 for s in box_schemas(): 125 126 BoxManager(s).build_n_forms(10) 126 127 -
PortalInterlegis/produtos/il.portalinterlegis/src/il/portalinterlegis/browser/homes.py
r6475 r6476 5 5 from interfaces import \ 6 6 IComunidadeLegislativa, IInformacao, ICapacitacao, ITecnologia, IComunicacao, \ 7 ISimpleBox 7 ISimpleBox, ICarousel, ICalendar, ITabsPilares, IAcompanheOInterlegis, IHighlight 8 8 9 FULL = 16 9 10 10 11 class Home(GridView): … … 14 15 15 16 grid = [ 16 ((4, ISimpleBox, 9), (4, ISimpleBox, 1), (4, ISimpleBox, 2), (4, ISimpleBox, 3)) 17 [(10, ICarousel, 1), (6, ICalendar, 1)], 18 [(FULL, ITabsPilares, 1)], 19 [(FULL, IAcompanheOInterlegis, 1)], 20 [(4, IHighlight, 1), (4, ISimpleBox, 1), (4, ISimpleBox, 2), (4, ISimpleBox, 3)] 17 21 ] 18 22 -
PortalInterlegis/produtos/il.portalinterlegis/src/il/portalinterlegis/browser/interfaces.py
r6475 r6476 49 49 subtitle = schema.TextLine(title=u"Subtítulo", required=True) 50 50 text = schema.TextLine(title=u"Texto", required=True) 51 52 @template(''' 53 <div id= "container"> 54 55 <div class="carousel example-5"> 56 <ul> 57 <li> 58 <a href=""> 59 <img src="/portal/++theme++il.portalinterlegis/temp/images/1.jpg" alt="ex1" width="340" height="215" /> 60 <div class="carousel-text"> 61 <h3><b>Envie</b> Notícias</h3> 62 <p> 63 Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean sed est eu mauris lacinia molestie. Integer eu ultricies nisl. 64 </p> 65 </div> 66 </a> 67 </li> 68 <li> 69 <a href=""> 70 <img src="/portal/++theme++il.portalinterlegis/temp/images/caneca.jpg" alt="ex2" width="340" height="215" /> 71 <div class="carousel-text"> 72 <h3><b>Mais</b> Novidades</h3> 73 <p> 74 Maecenas vehicula magna eget eros dictum fringilla. In hac habitasse platea dictumst. Aenean vestibulum ligula neque. Ut id varius ante. 75 </p> 76 </div> 77 </a> 78 </li> 79 <li> 80 <a href=""> 81 <img src="/portal/++theme++il.portalinterlegis/temp/images/interlegis.jpg" alt="ex3" width="340" height="215" /> 82 <div class="carousel-text"> 83 <h3><b>Ainda</b> muito <b>mais...</b></h3> 84 <p> 85 Aenean pellentesque consectetur neque. Integer ultrices tincidunt odio ut adipiscing. Aliquam erat volutpat. Morbi auctor faucibus odio id cursus. 86 </p> 87 </div> 88 </a> 89 </li> 90 </ul> 91 </div> 92 93 </div> 94 ''') 95 class ICarousel(Interface): 96 pass 97 98 @template(''' 99 <h2 class="box-header">Andamento do Interlegis</h2> 100 TODO: AGENDA... <br/><br/><br/> 101 ''') 102 class ICalendar(Interface): 103 pass 104 105 @template(''' 106 <h2 class="box-header">Acompanhe o Interlegis</h2> 107 TODO: Acompanhe o Interlegis... <br/><br/><br/> 108 ''') 109 class IAcompanheOInterlegis(Interface): 110 pass 111 112 @template(''' 113 TODO: tabs dos pilares <br/><br/><br/> 114 ''') 115 class ITabsPilares(Interface): 116 pass 117 118 @template(''' 119 <h2 class="box-header">Destaque</h2> 120 TODO: <br/><br/><br/> 121 ''') 122 class IHighlight(Interface): 123 pass 124 125 def box_schemas(): 126 return template_dict.keys()
Note: Veja
TracChangeset
para ajuda no uso do visualizador de conjunto de mudanças.