Version de ScrutariJs 1.4alpha6
This commit is contained in:
parent
233236f4bf
commit
ca2dc78a3b
@ -44,7 +44,7 @@ templates:{
|
||||
'history':'<div data-scrutari-block="{{:name}}" class="scrutari-history-Block scrutari-history-Active"> <div class="scrutari-history-Search"> <button data-scrutari-button="loadHistory" data-scrutari-target="{{:name}}" class="scrutari-history-Load" {{if fichestat == 0}}disabled="disabled"{{/if}}> {{>sequence}} ({{:fichestat}}) </button> <button data-scrutari-button="removeHistory" data-scrutari-target="{{:name}}" class="scrutari-history-Remove" title="{{>~scrutari_loc(\'_ button_remove\')}}"><span aria-hidden="true">×</span></button> </div> <div class="scrutari-history-Subsearch" data-scrutari-component="subsearch"></div> </div>',
|
||||
'lang':' <p> <label class="scrutari-Label"><input type="checkbox" name="lang" value="{{:lang}}" data-scrutari-title="{{:lang}}"> <span data-scrutari-component="stat-text">{{> title}} [{{:lang}}] <small>(<span data-scrutari-stat-type="lang" data-scrutari-stat-key="{{:lang}}" data-scrutari-stat-default="{{:fiche}}"></span>{{:~scrutari_format(fiche)}})</small></span> </label> </p>',
|
||||
'loading':'<span class="scrutari-icon-Loader"></span> {{>~scrutari_loc(\'_ loading_pagination\')}}',
|
||||
'pagination_empty':'<p><em>{{>~scrutari_loc("_ result_none")}}</em></p> {{if withFilter}} <p><em>{{>~scrutari_loc("_ result_fitlerwarning")}}</em></p> {{else scrutariResult.searchMeta.reportArray.length > 0}} <p>Analyse des termes de la recherche{{>~scrutari_loc("_ colon")}}</p> <dl> {{for scrutariResult.searchMeta.reportArray}} <dt>{{> text}}</dt> <dl> {{if canonicalArray.length > 0}} <p>Correspondances trouvées (entre parenthèses, le nombre d\'occurrences par langue): </p> <ul> {{for canonicalArray}} <li> {{> canonical}} ({{for langreportArray}}{{if #index > 0}}, {{/if}}{{:lang}}={{:ficheCount}}{{/for}}) </li> {{/for}} </ul> {{/if}} {{if neighbourArray.length > 0}} <p>Pas de correspondances trouvées. Termes se rapprochant (entre parenthèses, le code des langues concernées) : </p> <ul> {{for neighbourArray}} <li> {{> neighbour}} <small>({{for langArray}}{{if #index > 0}}, {{/if}}{{:#data}}{{/for}})</small> </li> {{/for}} </ul> {{/if}} {{if canonicalArray.length == 0 && neighbourArray.length == 0}} <p>Aucune correspondance ou terme voisin trouvé</p> {{/if}} </dl> {{/for}} </dl> {{/if}}',
|
||||
'pagination_empty':'<p><em>{{>~scrutari_loc("_ result_none")}}</em></p> {{if withFilter}} <p><em>{{>~scrutari_loc("_ result_fitlerwarning")}}</em></p> {{/if}} {{if scrutariResult.notfoundArray.length > 0}} <p>{{>~scrutari_loc("_ result_notfound")}}{{>~scrutari_loc("_ colon")}}</p> <ul> {{for scrutariResult.notfoundArray}} <li> {{> text}} {{if neighbourArray.length > 0}} <small>(<em>{{>~scrutari_loc("_ result_neighbourlist")}}{{>~scrutari_loc("_ colon")}}</em> {{for neighbourArray ~len=neighbourArray.length}}{{> neighbour}}{{if #index != (~len -1)}}, {{/if}}{{/for}})</small> {{else}} <small>(<em>{{>~scrutari_loc("_ result_noneighbour")}}</em>)</small> {{/if}} </li> {{/for}} </ul> {{/if}}',
|
||||
'pagination_groups':'<div class="scrutari-group-List" role="tablist"> {{for array}} <button role="tab" class="scrutari-group-Tab" {{if active}}disabled{{/if}} data-scrutari-button="ficheGroupTab" {{if description}}title="{{>description}}"{{/if}} data-scrutari-target="{{:name}}"> {{>title}} ({{:fichestat}}) </button> {{/for}} </div> {{for array}} <div class="scrutari-group-Content {{if !active}}scrutari-Hidden{{/if}}" data-scrutari-block="ficheGroup-{{:name}}" data-scrutari-name="{{:name}}"> <div data-scrutari-block="topTabs-{{:name}}"></div> <div data-scrutari-block="ficheList-{{:name}}"></div> <div data-scrutari-block="bottomTabs-{{:name}}"></div> </div> {{/for}}',
|
||||
'pagination_unique':'<div data-scrutari-block="topTabs"></div> <div data-scrutari-block="ficheList"></div> <div data-scrutari-block="bottomTabs"></div>',
|
||||
'tabs':'<div class="scrutari-pagination-TabList"> {{for tabArray}} {{if state===\'active\'}} <button class="scrutari-pagination-Tab" disabled>{{>title}}</button> {{else state===\'etc\'}} <span class="scrutari-pagination-Etc">{{>title}}</span> {{else}} <button class="scrutari-pagination-Tab" role="tab" data-scrutari-button="paginationTab" data-scrutari-type="{{:~root.type}}" data-scrutari-position="{{:~root.position}}" data-scrutari-number="{{:number}}" {{if ~root.ficheGroupName}} data-scrutari-fiche-group-name="{{:~root.ficheGroupName}}"{{/if}}>{{>title}}</button> {{/if}} {{/for}} </div>'
|
||||
|
@ -15,41 +15,11 @@
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.scrutari-Mark {
|
||||
background-color: #e9e9e9;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-fiche
|
||||
******************************************************/
|
||||
|
||||
.scrutari-fiche-Attribute {
|
||||
margin-left: 15px;
|
||||
font-size: 1.0em;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-AttributeBlock {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-AttributeTitle {
|
||||
margin-left: 15px;
|
||||
font-size: 1.0em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.scrutari-fiche-AttributeValue {
|
||||
margin-left: 30px;
|
||||
font-size: 1.0em;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.scrutari-fiche-AttributeValues {
|
||||
|
||||
}
|
||||
|
||||
.scrutari-fiche-AttributeValue::before {
|
||||
content: '… ';
|
||||
}
|
||||
@ -58,11 +28,6 @@
|
||||
content: ' …';
|
||||
}
|
||||
|
||||
.scrutari-fiche-Block {
|
||||
margin-bottom: 15px;
|
||||
padding-left: 3px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Body {
|
||||
margin-left: 21px;
|
||||
}
|
||||
@ -77,30 +42,11 @@
|
||||
clear: left;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Complement {
|
||||
margin-left: 15px;
|
||||
font-size: 1.0em;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Icon {
|
||||
float: left;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Motcle {
|
||||
font-variant: small-caps;
|
||||
font-size: 1.0em;
|
||||
margin-left: 15px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Soustitre {
|
||||
margin-bottom: 3px;
|
||||
font-style: italic;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Thumbnail {
|
||||
float: left;
|
||||
margin-top: 0;
|
||||
@ -127,33 +73,6 @@
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Titre {
|
||||
font-size: 1.1em;
|
||||
margin-bottom: 4px;
|
||||
margin-left: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.scrutari-fiche-Year {
|
||||
font-size: 1.0em;
|
||||
margin-bottom: 3px;
|
||||
font-style: italic;
|
||||
margin-left: 15px;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-history
|
||||
******************************************************/
|
||||
|
||||
.scrutari-history-Active {
|
||||
background-color: #e9e9e9;
|
||||
}
|
||||
|
||||
.scrutari-history-Block {
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-icon
|
||||
@ -177,40 +96,6 @@
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-label
|
||||
******************************************************/
|
||||
|
||||
.scrutari-label-Attribute {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.scrutari-label-Complement {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.scrutari-label-Motcle {
|
||||
font-style: italic;
|
||||
font-variant: normal;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-links
|
||||
******************************************************/
|
||||
|
||||
.scrutari-links-Permalink {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.scrutari-links-Permalink:hover {
|
||||
white-space: normal;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
|
||||
/*****************************************************
|
||||
* .scrutari-panel
|
||||
******************************************************/
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user