forked from tr4ck3ur/jm2l
Fix for W3C
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 à jour
|
||||
@@ -209,7 +209,7 @@ DicForm = {
|
||||
<i class="icon-ok icon-white"></i> Proposer
|
||||
</button>
|
||||
% endif
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
% if 'uid' in form._fields:
|
||||
|
||||
+13
-13
@@ -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>
|
||||
@@ -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}">
|
||||
|
||||
Reference in New Issue
Block a user