No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 29: | Line 29: | ||
|Top right={{#ifingroup:user|[[Guide:Texts|Texts]], [[Guide:Texts/Classification|Classification]] }} | |Top right={{#ifingroup:user|[[Guide:Texts|Texts]], [[Guide:Texts/Classification|Classification]] }} | ||
}} | }} | ||
<div class="row mb-3"> | <div class="row mb-3"><!-- | ||
<div class="col-md-8"> | |||
Main column | |||
--><div class="col-md-8"> | |||
<div class="well well-default p-1"><div class="codecs__subheading">Search criteria</div> | <div class="well well-default p-1"><div class="codecs__subheading">Search criteria</div> | ||
{{#arraymap:{{#var:@subject page}}|;|xxx|{{Show classification label|Subject=xxx|Remove link=<!-- | {{#arraymap:{{#var:@subject page}}|;|xxx|{{Show classification label|Subject=xxx|Remove link=<!-- | ||
Line 36: | Line 38: | ||
-->}}|}} | -->}}|}} | ||
<div class="well well-default well-sm text-small p-1 mb-0">{{#var:@lg}}</div> | <div class="well well-default well-sm text-small p-1 mb-0">{{#var:@lg}}</div> | ||
</div> | </div><!-- | ||
< | |||
--><ul class="nav nav-tabs nav-page-sections"><!-- | |||
--><li class="nav-item">{{#widget:Link |type=a |href=#results-texts |text=Results ({{#var:@number of results}}) |class=nav-link active |datatoggle=tab }}</li><!-- | |||
--><li class="nav-item">{{#widget:Link |type=a |href=#results-associated |text=Associated data |class=nav-link |datatoggle=tab }}</li> | |||
</ul><!-- | |||
--><div class="tab-content"><!-- | |||
--><div id="results-texts" class="tab-pane fade show active"> | |||
{{#ask: {{#var:@query arg}} | {{#ask: {{#var:@query arg}} | ||
|?=Page | |?=Page | ||
Line 74: | Line 83: | ||
|offset={{#var:@offset}} | |offset={{#var:@offset}} | ||
}} | }} | ||
</div> | </div><!-- //tab pane 1 - text results | ||
< | --><div id="results-associated" class="tab-pane fade"> | ||
{{Show agent with hover card |{{#ask: [[-Text has author::<q>{{#var:@query arg}}</q>]] |link=none |sep=; |default= }} }} | {{Show agent with hover card |{{#ask: [[-Text has author::<q>{{#var:@query arg}}</q>]] |link=none |sep=; |default= }} }} | ||
Line 127: | Line 117: | ||
|@deferred | |@deferred | ||
}} | }} | ||
</div> | |||
</div><!-- //tab pane 2 --> | |||
</div><!-- //tab content --> | |||
</div><!--// end of col-md-8 | |||
Assistive column | |||
--><div class="col-md-4"> | |||
<div class="codecs__subheading">{{Fa|plus}} Filter down on the current selection</div> | |||
</div> | <div class="text-small"><!--{{#var:@subjects}}---> | ||
{{#arraymap:{{#var:@subjects}}|;|xxx|<!-- | |||
--><div>{{#widget:Link |type=a |href={{fullurl:{{FULLPAGENAME}}|ids={{#var:@subject page ids}},{{PAGEID:xxx}} }} |text={{#show: xxx |?Has chain title}} }}</div> | |||
|}} | |||
{{#arraymap:{{#var:@languages}} |;|xxx |{{Show language as classification filter | |||
|Language=xxx | |||
|URL ids={{#var:@subject page ids}} | |||
|URL offset={{#var:@offset}} | |||
|URL lg={{#var:@lg}} | |||
}}|<br/> }} | |||
</div><!--//text-small --> | |||
{{Hr}} | |||
</div> | </div><!-- // col-md-4 --> | ||
</div> | </div><!-- // row --> | ||
{{Pagination | {{Pagination | ||
|Total={{#var:@number of results}} | |Total={{#var:@number of results}} | ||
Line 144: | Line 155: | ||
--> | --> | ||
<div class="mb-generous"></div> | <div class="mb-generous"></div> | ||
</div><!-- // container --> | |||
</div> |