Widget: Adlib simple search: verschil tussen versies
Uit MediaWikiGids
(Nieuwe pagina aangemaakt met '<noinclude>Ontwikkeling om eenvoudig zoekformulier voor Adlib te maken</noinclude> <includeonly> <div id="ais-master"> <input id="ais-base-url" type="hidden" va...') |
|||
(13 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 1: | Regel 1: | ||
− | <noinclude>Ontwikkeling om eenvoudig zoekformulier voor Adlib te maken | + | <noinclude>Ontwikkeling om eenvoudig zoekformulier voor Adlib te maken. |
− | |||
− | |||
− | |||
− | |||
− | + | This widget allows you to add a simple search form to your wiki page, which enable you to search in Adlib (UvA). | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Using this widget == | |
+ | To insert this widget, use the following code: | ||
− | < | + | <nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>}}</nowiki> |
− | |||
− | |||
− | |||
− | + | == Parameters == | |
+ | * No parameters required | ||
− | |||
− | |||
− | |||
− | |||
− | + | == Copy to your site == | |
+ | To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and the copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki, as an article called '''{{FULLPAGENAME}}'''. | ||
− | + | Source: Proprietary development | |
− | |||
− | |||
− | |||
− | + | Changes to v 01: | |
+ | * ... | ||
− | |||
− | |||
− | |||
− | |||
− | + | Versie: 1 | |
+ | Author: [[Gebruiker:bmulckhu|Bart Mulckhuijse]] | ||
− | < | + | [[Categorie:Alle Widgets]]</noinclude> |
− | <input checked="checked" class="" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_4__Selected" name="DatabaseChoices[4].Selected" type="checkbox" value="true" | + | <includeonly> |
− | <label for="Producties">Producties</label> | + | <input id="ais-base-url" type="hidden" value="http://theatercollectie.uva.nl:80/" /> |
+ | <form action="http://theatercollectie.uva.nl/search/simple" class="" method="post" style="width:100%;"> | ||
+ | <fieldset> | ||
+ | <div class="container-fluid"> | ||
+ | <div class="row"> | ||
+ | <div class="col-sm-3"> | ||
+ | <label class="form-label">Zoek in:</label></div> | ||
+ | <div class="col-sm-9"> | ||
+ | <div class="form-check"> | ||
+ | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_0__Selected" name="DatabaseChoices[0].Selected" type="checkbox" value="true" ><input name="DatabaseChoices[0].Selected" type="hidden" value="false" /> | ||
+ | <label class="form-check-label" for="Museumcollectie">Museumcollectie</label> | ||
+ | <input id="DatabaseChoices_0__Name" name="DatabaseChoices[0].Name" type="hidden" value="collect" /> | ||
+ | </div> | ||
+ | <div class="form-check"> | ||
+ | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_1__Selected" name="DatabaseChoices[1].Selected" type="checkbox" value="true"><input name="DatabaseChoices[1].Selected" type="hidden" value="false" /> | ||
+ | <label class="form-check-label" for="Bibliotheekcatalogus">Bibliotheekcatalogus</label> | ||
+ | <input id="DatabaseChoices_1__Name" name="DatabaseChoices[1].Name" type="hidden" value="fullCatalogue" /> | ||
+ | </div> | ||
+ | <div class="form-check"> | ||
+ | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_2__Selected" name="DatabaseChoices[2].Selected" type="checkbox" value="true" ><input name="DatabaseChoices[2].Selected" type="hidden" value="false" /> | ||
+ | <label class="form-check-label" for="Audiovisueel">Audiovisueel</label> | ||
+ | <input id="DatabaseChoices_2__Name" name="DatabaseChoices[2].Name" type="hidden" value="audioVisuals" /> | ||
+ | </div> | ||
+ | <div class="form-check"> | ||
+ | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_3__Selected" name="DatabaseChoices[3].Selected" type="checkbox" value="true" ><input name="DatabaseChoices[3].Selected" type="hidden" value="false" /> | ||
+ | <label class="form-check-label" for="Archieven">Archieven</label> | ||
+ | <input id="DatabaseChoices_3__Name" name="DatabaseChoices[3].Name" type="hidden" value="archive" /> | ||
+ | </div> | ||
+ | <div class="form-check"> | ||
+ | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_4__Selected" name="DatabaseChoices[4].Selected" type="checkbox" value="true" ><input name="DatabaseChoices[4].Selected" type="hidden" value="false" /> | ||
+ | <label class="form-check-label" for="Producties">Producties</label> | ||
<input id="DatabaseChoices_4__Name" name="DatabaseChoices[4].Name" type="hidden" value="productions" /> | <input id="DatabaseChoices_4__Name" name="DatabaseChoices[4].Name" type="hidden" value="productions" /> | ||
− | + | </div> | |
− | </ | + | <div class="form-check"> |
− | + | <input checked="checked" class="form-check-input" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_5__Selected" name="DatabaseChoices[5].Selected" type="checkbox" value="true" ><input name="DatabaseChoices[5].Selected" type="hidden" value="false" /> | |
− | < | + | <label class="form-check-label" for="Circussen_1765-2010">Circussen 1765-2010</label> |
− | <input checked="checked" class="" data-val="true" data-val-required="The Selected field is required." id="DatabaseChoices_5__Selected" name="DatabaseChoices[5].Selected" type="checkbox" value="true" | ||
− | <label for="Circussen_1765-2010">Circussen 1765-2010</label> | ||
<input id="DatabaseChoices_5__Name" name="DatabaseChoices[5].Name" type="hidden" value="circus" /> | <input id="DatabaseChoices_5__Name" name="DatabaseChoices[5].Name" type="hidden" value="circus" /> | ||
+ | </div> | ||
− | + | </div> <!-- Eof column --> | |
+ | </div> <!-- Eof Row --> | ||
+ | </div> <!-- Eof Container --> | ||
− | < | + | <div class="row" style="display:flex;"> |
− | + | <div class="col-sm" style="flex-grow: 8;"> | |
− | |||
− | |||
− | |||
<input data-val="true" data-val-required="The SearchInField field is required." id="Fields_0__SearchInField" name="Fields[0].SearchInField" type="hidden" value="False" /> | <input data-val="true" data-val-required="The SearchInField field is required." id="Fields_0__SearchInField" name="Fields[0].SearchInField" type="hidden" value="False" /> | ||
<input id="Fields_0__FieldName" name="Fields[0].FieldName" type="hidden" value="Search_SearchSimple_FieldLabel" /> | <input id="Fields_0__FieldName" name="Fields[0].FieldName" type="hidden" value="Search_SearchSimple_FieldLabel" /> | ||
− | + | <input class="form-control mb-2" style="width:100%;" placeholder="Voer trefwoorden in" type="text" autocomplete="off" value="" name="Fields[0].Value" id="Fields_0__Value" aria-autocomplete="list" aria-haspopup="true"> | |
− | + | </div> | |
− | + | <div class="col-sm" style="flex: none; width: 10px;"></div> | |
− | < | + | <div class="col-sm" style="flex: none;"> |
− | + | <button type="submit" class="btn btn-primary" title="Zoeken" value="Zoeken">Zoeken</button> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | < | ||
− | |||
</div> | </div> | ||
− | </ | + | </div> |
− | |||
− | |||
</fieldset> | </fieldset> | ||
</form> | </form> | ||
− | + | </includeonly> | |
− | |||
− | </ | ||
− | |||
− | |||
− |
Huidige versie van 23 apr 2020 om 12:18
Ontwikkeling om eenvoudig zoekformulier voor Adlib te maken.
This widget allows you to add a simple search form to your wiki page, which enable you to search in Adlib (UvA).
Using this widget
To insert this widget, use the following code:
{{#widget:Adlib simple search}}
Parameters
- No parameters required
Copy to your site
To use this widget on your site, just install the MediaWiki Widgets extension and the copy full source code of this page to your wiki, as an article called Widget:Adlib simple search.
Source: Proprietary development
Changes to v 01:
- ...
Versie: 1 Author: Bart Mulckhuijse