Commit 92b9a514 authored by Vincent Calame's avatar Vincent Calame

Passage à la r2208 (v1.1rc1)

parent 286045da
......@@ -34,7 +34,7 @@ templates:{
'category':' <p> <label class="scrutari-Label" {{if phraseMap.description}}title="{{>phraseMap.description}}"{{/if}}> <input type="checkbox" name="category" value="{{:name}}"> {{>title}} ({{:~scrutari_format(stats.fiche)}}) </label> </p>',
'corpus':' <p> <label class="scrutari-Label"><input type="checkbox" name="corpus" value="{{:codecorpus}}"> {{>title}} ({{:~scrutari_format(stats.fiche)}}) </label> </p>',
'emptyfichedisplay':'<em>{{>~scrutari_loc("_ result_none")}}</em>',
'fiche':' <div class="scrutari-fiche-Block" data-scrutari-block="fiche_{{:codefiche}}"> {{if thumbnail}} <div class="scrutari-fiche-Thumbnail"><img alt="" src="{{:thumbnail}}"/></div> {{else icon}} <div class="scrutari-fiche-Icon"><img alt="" src="{{:icon}}"/></div> {{/if}} <div class="scrutari-fiche-Body {{if thumbnail}}scrutari-fiche-ThumbnailBody{{/if}}"> <p class="scrutari-fiche-Titre"> <a href="{{:href}}" class="scrutari-fiche-Link" data-scrutari-link="fiche_{{:codefiche}}" {{if target}} target="{{:target}}"{{/if}}> {{if mtitre}} {{:~scrutari_mark(mtitre)}} {{else}} {{:href}} {{/if}} </a> </p> {{if msoustitre}} <p class="scrutari-fiche-Soustitre"> {{:~scrutari_mark(msoustitre)}} </p> {{/if}} {{if year}} <p class="scrutari-fiche-Year"> {{:year}} </p> {{/if}} {{if primaryAttributeArray}} {{for primaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if mcomplementArray}} {{for mcomplementArray}} <p class="scrutari-fiche-Complement"> <span class="scrutari-label-Complement"> {{>title}} {{>~scrutari_loc("_ colon")}} </span> {{:~scrutari_mark(mvalue)}} </p> {{/for}} {{/if}} {{if secondaryAttributeArray}} {{for secondaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if motcleArray}} <p class="scrutari-fiche-Motcle"> <span class="scrutari-label-Motcle"> {{if motcleArray.length == 1}} {{>~scrutari_loc("_ fiche_motscles_one")}} {{else}} {{>~scrutari_loc("_ fiche_motscles_many")}} {{/if}} </span> {{for motcleArray ~len=motcleArray.length}} {{if mlabelArray}}{{for mlabelArray}}{{if #index > 0}}/{{/if}}{{:~scrutari_mark(mvalue)}}{{/for}}{{/if}}{{if #index != (~len -1)}}, {{/if}} {{/for}} </p> {{/if}} </div> </div> ',
'fiche':' <div class="scrutari-fiche-Block" data-scrutari-block="fiche_{{:codefiche}}"> {{if _thumbnail}} <div class="scrutari-fiche-Thumbnail"> <img class="scrutari-fiche-ThumbnailImg" alt="" src="{{:_thumbnail}}"/> {{if _icon}} <img class="scrutari-fiche-ThumbnailIcon" alt="" src="{{:_icon}}"/> {{/if}} </div> {{else _icon}} <div class="scrutari-fiche-Icon"><img alt="" src="{{:_icon}}"/></div> {{/if}} <div class="scrutari-fiche-Body {{if _thumbnail}}scrutari-fiche-ThumbnailBody{{/if}}"> <p class="scrutari-fiche-Titre"> <a href="{{:href}}" class="scrutari-fiche-Link" data-scrutari-link="fiche_{{:codefiche}}" {{if _target}} target="{{:_target}}"{{/if}}> {{if mtitre}} {{:~scrutari_mark(mtitre)}} {{else}} {{:href}} {{/if}} </a> </p> {{if msoustitre}} <p class="scrutari-fiche-Soustitre"> {{:~scrutari_mark(msoustitre)}} </p> {{/if}} {{if year}} <p class="scrutari-fiche-Year"> {{:year}} </p> {{/if}} {{if _primaryAttributeArray}} {{for _primaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if mcomplementArray}} {{for mcomplementArray}} <p class="scrutari-fiche-Complement"> <span class="scrutari-label-Complement"> {{>title}} {{>~scrutari_loc("_ colon")}} </span> {{:~scrutari_mark(mvalue)}} </p> {{/for}} {{/if}} {{if _secondaryAttributeArray}} {{for _secondaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if _motcleArray}} <p class="scrutari-fiche-Motcle"> <span class="scrutari-label-Motcle"> {{if _motcleArray.length == 1}} {{>~scrutari_loc("_ fiche_motscles_one")}} {{else}} {{>~scrutari_loc("_ fiche_motscles_many")}} {{/if}} </span> {{for _motcleArray ~len=_motcleArray.length}} {{if mlabelArray}}{{for mlabelArray}}{{if #index > 0}}/{{/if}}{{:~scrutari_mark(mvalue)}}{{/for}}{{/if}}{{if #index != (~len -1)}}, {{/if}} {{/for}} </p> {{/if}} </div> </div> ',
'fiche_attributes':'<p class="scrutari-fiche-Attribute"> <span class="scrutari-label-Attribute">{{>title}}{{>~scrutari_loc("_ colon")}}</span> {{if type!=="block"}} {{for valueArray ~len=valueArray.length}} {{:~scrutari_mark(#data)}}{{if #index != (~len -1)}}, {{/if}} {{/for}} {{/if}} </p> {{if type==="block"}} <p class="scrutari-fiche-AttrBlocks">…<br/> {{for valueArray ~len=valueArray.length}} {{if #index > 0}}<br/>…<br/>{{/if}} {{:~scrutari_mark(#data)}} {{/for}} <br/>…</p> {{/if}}',
'ficheloading':'<span class="scrutari-icon-Loader"></span> {{>~scrutari_loc(\'_ loading_pagination\')}}',
'lang':' <p> <label class="scrutari-Label"><input type="checkbox" name="lang" value="{{:lang}}"> {{>title}} [{{:lang}}] ({{:~scrutari_format(fiche)}}) </label> </p>',
......
......@@ -34,7 +34,7 @@ templates:{
'category':' <p> <label class="scrutari-Label" {{if phraseMap.description}}title="{{>phraseMap.description}}"{{/if}}> <input type="checkbox" name="category" value="{{:name}}"> {{>title}} ({{:~scrutari_format(stats.fiche)}}) </label> </p>',
'corpus':' <p> <label class="scrutari-Label"><input type="checkbox" name="corpus" value="{{:codecorpus}}"> {{>title}} ({{:~scrutari_format(stats.fiche)}}) </label> </p>',
'emptyfichedisplay':'<em>{{>~scrutari_loc("_ result_none")}}</em>',
'fiche':' <div class="scrutari-fiche-Block" data-scrutari-block="fiche_{{:codefiche}}"> {{if thumbnail}} <div class="scrutari-fiche-Thumbnail"><img alt="" src="{{:thumbnail}}"/></div> {{else icon}} <div class="scrutari-fiche-Icon"><img alt="" src="{{:icon}}"/></div> {{/if}} <div class="scrutari-fiche-Body {{if thumbnail}}scrutari-fiche-ThumbnailBody{{/if}}"> <p class="scrutari-fiche-Titre"> <a href="{{:href}}" class="scrutari-fiche-Link" data-scrutari-link="fiche_{{:codefiche}}" {{if target}} target="{{:target}}"{{/if}}> {{if mtitre}} {{:~scrutari_mark(mtitre)}} {{else}} {{:href}} {{/if}} </a> </p> {{if msoustitre}} <p class="scrutari-fiche-Soustitre"> {{:~scrutari_mark(msoustitre)}} </p> {{/if}} {{if year}} <p class="scrutari-fiche-Year"> {{:year}} </p> {{/if}} {{if primaryAttributeArray}} {{for primaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if mcomplementArray}} {{for mcomplementArray}} <p class="scrutari-fiche-Complement"> <span class="scrutari-label-Complement"> {{>title}} {{>~scrutari_loc("_ colon")}} </span> {{:~scrutari_mark(mvalue)}} </p> {{/for}} {{/if}} {{if secondaryAttributeArray}} {{for secondaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if motcleArray}} <p class="scrutari-fiche-Motcle"> <span class="scrutari-label-Motcle"> {{if motcleArray.length == 1}} {{>~scrutari_loc("_ fiche_motscles_one")}} {{else}} {{>~scrutari_loc("_ fiche_motscles_many")}} {{/if}} </span> {{for motcleArray ~len=motcleArray.length}} {{if mlabelArray}}{{for mlabelArray}}{{if #index > 0}}/{{/if}}{{:~scrutari_mark(mvalue)}}{{/for}}{{/if}}{{if #index != (~len -1)}}, {{/if}} {{/for}} </p> {{/if}} </div> </div> ',
'fiche':' <div class="scrutari-fiche-Block" data-scrutari-block="fiche_{{:codefiche}}"> {{if _thumbnail}} <div class="scrutari-fiche-Thumbnail"> <img class="scrutari-fiche-ThumbnailImg" alt="" src="{{:_thumbnail}}"/> {{if _icon}} <img class="scrutari-fiche-ThumbnailIcon" alt="" src="{{:_icon}}"/> {{/if}} </div> {{else _icon}} <div class="scrutari-fiche-Icon"><img alt="" src="{{:_icon}}"/></div> {{/if}} <div class="scrutari-fiche-Body {{if _thumbnail}}scrutari-fiche-ThumbnailBody{{/if}}"> <p class="scrutari-fiche-Titre"> <a href="{{:href}}" class="scrutari-fiche-Link" data-scrutari-link="fiche_{{:codefiche}}" {{if _target}} target="{{:_target}}"{{/if}}> {{if mtitre}} {{:~scrutari_mark(mtitre)}} {{else}} {{:href}} {{/if}} </a> </p> {{if msoustitre}} <p class="scrutari-fiche-Soustitre"> {{:~scrutari_mark(msoustitre)}} </p> {{/if}} {{if year}} <p class="scrutari-fiche-Year"> {{:year}} </p> {{/if}} {{if _primaryAttributeArray}} {{for _primaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if mcomplementArray}} {{for mcomplementArray}} <p class="scrutari-fiche-Complement"> <span class="scrutari-label-Complement"> {{>title}} {{>~scrutari_loc("_ colon")}} </span> {{:~scrutari_mark(mvalue)}} </p> {{/for}} {{/if}} {{if _secondaryAttributeArray}} {{for _secondaryAttributeArray tmpl="scrutari-fiche_attributes" /}} {{/if}} {{if _motcleArray}} <p class="scrutari-fiche-Motcle"> <span class="scrutari-label-Motcle"> {{if _motcleArray.length == 1}} {{>~scrutari_loc("_ fiche_motscles_one")}} {{else}} {{>~scrutari_loc("_ fiche_motscles_many")}} {{/if}} </span> {{for _motcleArray ~len=_motcleArray.length}} {{if mlabelArray}}{{for mlabelArray}}{{if #index > 0}}/{{/if}}{{:~scrutari_mark(mvalue)}}{{/for}}{{/if}}{{if #index != (~len -1)}}, {{/if}} {{/for}} </p> {{/if}} </div> </div> ',
'fiche_attributes':'<p class="scrutari-fiche-Attribute"> <span class="scrutari-label-Attribute">{{>title}}{{>~scrutari_loc("_ colon")}}</span> {{if type!=="block"}} {{for valueArray ~len=valueArray.length}} {{:~scrutari_mark(#data)}}{{if #index != (~len -1)}}, {{/if}} {{/for}} {{/if}} </p> {{if type==="block"}} <p class="scrutari-fiche-AttrBlocks">…<br/> {{for valueArray ~len=valueArray.length}} {{if #index > 0}}<br/>…<br/>{{/if}} {{:~scrutari_mark(#data)}} {{/for}} <br/>…</p> {{/if}}',
'ficheloading':'<span class="scrutari-icon-Loader"></span> {{>~scrutari_loc(\'_ loading_pagination\')}}',
'lang':' <p> <label class="scrutari-Label"><input type="checkbox" name="lang" value="{{:lang}}"> {{>title}} [{{:lang}}] ({{:~scrutari_format(fiche)}}) </label> </p>',
......
......@@ -68,9 +68,6 @@ margin-bottom: 2px;
.scrutari-fiche-Block {
margin-bottom: 15px;
padding-left: 3px;
border-left-style: solid;
border-left-width: 1px;
border-left-color: #a0a0a0;
}
.scrutari-fiche-Body {
......@@ -114,12 +111,27 @@ margin-left: 10px;
.scrutari-fiche-Thumbnail {
float: left;
margin-top: 0;
position: relative;
}
.scrutari-fiche-Thumbnail img {
.scrutari-fiche-ThumbnailImg {
max-width: 100px;
}
.scrutari-fiche-ThumbnailIcon {
display: block;
position: absolute;
top: 0;
left: 0;
border-right-color: #fff;
border-right-style: solid;
border-right-width: 3px;
border-bottom-color: #fff;
border-bottom-style: solid;
border-bottom-width: 2px;
z-index: 100;
}
.scrutari-fiche-Titre {
font-size: 1.1em;
margin-bottom: 4px;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment