Ver a proveniência

Fix for W3C

master
tr4ck3ur des JM2L há 9 anos
ascendente
cometimento
816257d1ef
4 ficheiros alterados com 19 adições e 19 eliminações
  1. +1
    -1
      jm2l/templates/Public/Programme.mako
  2. +2
    -2
      jm2l/templates/edit_event.mako
  3. +2
    -2
      jm2l/templates/edit_tiers.mako
  4. +14
    -14
      jm2l/templates/helpers.mako

+ 1
- 1
jm2l/templates/Public/Programme.mako Ver ficheiro

@@ -99,7 +99,7 @@ if Counter==0:
## <div id="collapseEvent${num}" class="accordion-body collapse">
## <div class="accordion-inner">

<table width="100%" class="table table-striped table-bordered table-hover">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th style="width:7em;text-align:center;">Date</th>


+ 2
- 2
jm2l/templates/edit_event.mako Ver ficheiro

@@ -80,9 +80,9 @@ DicForm = {

${helpers.DisplayForm(form, DicForm)}
<br>
<center>
<div class="center">
<button class="btn btn-large btn-primary" type="submit">Proposer</button>
</center>
</div>
</form>
</fieldset>


+ 2
- 2
jm2l/templates/edit_tiers.mako Ver ficheiro

@@ -201,7 +201,7 @@ DicForm = {
% endif
<br>
<center>
<div class="center">
<button type="submit" class="btn btn-large btn-primary" />
% if 'uid' in form._fields:
<i class="icon-ok icon-white"></i> Mettre &agrave; jour
@@ -209,7 +209,7 @@ DicForm = {
<i class="icon-ok icon-white"></i> Proposer
</button>
% endif
</center>
</div>
</form>
% if 'uid' in form._fields:


+ 14
- 14
jm2l/templates/helpers.mako Ver ficheiro

@@ -207,7 +207,7 @@ TabJs = {'select':[], 'desc':[]}
<li class="span2">
<div class="media">
<a class="pull-left" href="${filelink}">
<img class="media-object" src="${thumb}" />
<img class="media-object" src="${thumb}" alt="Fichier media" />
</a>
</div>
</li>
@@ -291,7 +291,7 @@ TabJs = {'select':[], 'desc':[]}
<td style="width: 80px;">
<span class="preview">
{% if (file.thumbnailUrl) { %}
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}"></a>
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" data-gallery><img src="{%=file.thumbnailUrl%}" alt="{%=file.name%}"></a>
{% } %}
</span>
</td>
@@ -345,7 +345,7 @@ TabJs = {'select':[], 'desc':[]}
% if len(ListEvent)==0:
<tr>
<td style="text-align:center;" colspan="2">
% if NotFoundTitle:
% if NotFoundTitle:
<i>${NotFoundTitle}</i>
% else:
<i>Désolé, Il n'y a rien dans l'historique.</i>
@@ -415,9 +415,9 @@ TabJs = {'select':[], 'desc':[]}
<div class="media">
<a class="pull-left" href="/entity/${Entity.entity_type}/${tiers.slug}">
% if tiers.ThumbLinks:
<img class="media-object" src="${tiers.ThumbLinks.pop()}" />
<img class="media-object" src="${tiers.ThumbLinks.pop()}" alt="${tiers.slug}" />
% else:
<img class="media-object" src="/img/no-image-thumb.jpg" />
<img class="media-object" src="/img/no-image-thumb.jpg" alt="no-image" />
% endif
</a>
<div class="media-body">
@@ -539,10 +539,8 @@ TabJs = {'select':[], 'desc':[]}
% endfor
% else:
<div class="active item" id="UserPic0">
<div style="margin:auto;width:170px;">
<center>
<div class="center" style="margin:auto;width:170px;">
<img src="/img/no-image.jpg" class="img-polaroid" alt="Photo ${SallePhy.name}" style="max-height:130px;" />
<center>
</div>
</div>
% endif
@@ -655,13 +653,14 @@ TabJs = {'select':[], 'desc':[]}
<th colspan="3">Sponsors ${Year}</th>
</tr>
</thead>
<tr>
<% num = -1 %>
% for entity in request.sponsors(Year):
% for thumb in entity.ThumbLinks:
<% num+=1 %>
% if (num%3==0):
</tr><tr>
% if (num==0):
<tr>
% elif (num%3==0):
</tr><tr>
% endif
<td>
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}">
@@ -679,13 +678,14 @@ TabJs = {'select':[], 'desc':[]}
<th colspan="3">Exposants ${Year}</th>
</tr>
</thead>
<tr>
<% num = -1 %>
% for entity in request.exposants(Year):
% for thumb in entity.ThumbLinks:
<% num+=1 %>
% if (num%3==0):
</tr><tr>
% if (num==0):
<tr>
% elif (num%3==0):
</tr><tr>
% endif
<td>
<a href="/entity/${entity.get_entity_type.entity_type}/${entity.slug}">


Carregando…
Cancelar
Guardar