Widget: Adlib simple search: verschil tussen versies

Uit MediaWikiGids
Ga naar: navigatie, zoeken
 
(8 tussenliggende versies door dezelfde gebruiker niet weergegeven)
Regel 1: Regel 1:
<noinclude>Ontwikkeling om eenvoudig zoekformulier voor Adlib te maken</noinclude>
+
<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>
 
<includeonly>
 
<includeonly>
 
     <input id="ais-base-url" type="hidden" value="http://theatercollectie.uva.nl:80/" />
 
     <input id="ais-base-url" type="hidden" value="http://theatercollectie.uva.nl:80/" />
     <form action="http://theatercollectie.uva.nl/search/simple" class="" method="post">
+
     <form action="http://theatercollectie.uva.nl/search/simple" class="" method="post" style="width:100%;">
 
     <fieldset>
 
     <fieldset>
 +
<div class="container-fluid">
 
       <div class="row">
 
       <div class="row">
         <div class="col-sm">
+
         <div class="col-sm-3">
 
         <label class="form-label">Zoek in:</label></div>
 
         <label class="form-label">Zoek in:</label></div>
         <div class="col-sm">
+
         <div class="col-sm-9">
 
         <div class="form-check">
 
         <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" />
 
         <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" />
Regel 41: Regel 67:
 
</div> <!-- Eof column -->
 
</div> <!-- Eof column -->
 
</div>  <!-- Eof Row -->
 
</div>  <!-- Eof Row -->
 +
</div> <!-- Eof Container -->
  
 
<div class="row" style="display:flex;">
 
<div class="row" style="display:flex;">
   <div class="col-auto" style="flex: flex-grow;">
+
   <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" placeholder="Voer trefwoorden in" type="text" autocomplete="off" value="" name="Fields[0].Value" id="Fields_0__Value" aria-autocomplete="list" aria-haspopup="true">
+
     <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>
   <div class="col-auto" style="flex: none;">
+
   <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>
 
     <button type="submit" class="btn btn-primary" title="Zoeken" value="Zoeken">Zoeken</button>
 
   </div>
 
   </div>

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