-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #354 from OnroerendErfgoed/develop
release 0.28.1
- Loading branch information
Showing
27 changed files
with
357 additions
and
317 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<template><require from="./styles/adres-crab.css"></require><div class="adres-crab"><div class="row" if.bind="copyAvailable"><div class="small-2 columns"><label>Adres</label></div><div class="small-10 columns"><div class="right"><button class="clipboard-button copy-button button tiny" title="Kopiëren" click.delegate="copyAdres()"><i class="fa fa-copy"></i></button> <button class="${!copiedAdres ? 'disabled' : '' } clipboard-button paste-button button tiny" title="Plakken" click.delegate="pasteAdres()"><i class="fa fa-paste"></i></button></div></div></div><div class="row"><div class="small-push-2 small-10 columns"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Land</label> <select value.bind="data.land" disabled.bind="disabled"><option repeat.for="land of landen" model.bind="land"> ${land.naam} </option></select></div></div></div><div class="row"><div class="small-push-2 small-10 columns"><div if.bind="data.land.code === 'BE'"><div class="placeholder-container ${ !data.land || disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label><autocomplete service.bind="suggest.gemeenten" value.bind="data.gemeente & validate" label="naam" placeholder="gemeente" disabled.bind="!data.land || disabled" change.delegate="gemeenteChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente || disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label><autocomplete service.bind="suggest.postcodes" value.bind="data.postcode & validate" label="nummer" placeholder="postcode" disabled.bind="!data.gemeente || disabled" field="postcode" type.bind="config.postcode.autocompleteType"><template replace-part="suggestion"> ${suggestion.nummer} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente || disabled ? 'placeholder-disabled' : '' }"><label>Straat</label><autocomplete service.bind="suggest.straten" value.bind="data.straat & validate" label="naam" placeholder="straat" disabled.bind="!data.gemeente || disabled" field="straat" type.bind="config.straat.autocompleteType" change.delegate="straatChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.straat || disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label><autocomplete service.bind="suggest.huisnummers" label="huisnummer" placeholder="huisnummer" minlength="1" disabled.bind="!data.straat || disabled" value.bind="data.adres & validate" type.bind="config.huisnummer.autocompleteType" field="huisnummer"><template replace-part="suggestion"> ${suggestion.huisnummer} </template></autocomplete></div></div><div if.bind="data.land.code !== 'BE'"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label> <input type="text" value.bind="gemeente & validate" placeholder="gemeente" change.delegate="parseField(gemeente, 'gemeente')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label> <input type="text" value.bind="postcode & validate" placeholder="postcode" change.delegate="parseField(postcode, 'postcode')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Straat</label> <input type="text" value.bind="straat & validate" placeholder="straat" change.delegate="parseField(straat, 'straat')" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label> <input type="text" value.bind="huisnummer & validate" placeholder="huisnummer" change.delegate="parseField(huisnummer, 'huisnummer')" disabled.bind="disabled"></div></div></div></div><div class="row"><div class="small-push-2 small-10 columns"><div class="placeholder-container ${(!freeBusnummerSearch && !data.adres.huisnummer) || disabled ? 'placeholder-disabled' : '' }"><label>Busnr.</label><autocomplete service.bind="suggest.busnummers" label="busnummer" placeholder="busnummer" minlength="1" disabled.bind="!data.adres || disabled" value.bind="data.adres & validate" type.bind="config.busnummer.autocompleteType" huisnummer.bind="data.adres.huisnummer" field="busnummer"><template replace-part="suggestion"> ${suggestion.busnummer} </template></autocomplete></div></div></div></div></template> | ||
<template><require from="./styles/adres-crab.css"></require><div class="adres-crab"><div class="row" if.bind="copyAvailable"><div class="small-2 columns"><label>Adres</label></div><div class="small-10 columns"><div class="right"><button class="clipboard-button copy-button button tiny" title="Kopiëren" click.delegate="copyAdres()"><i class="fa fa-copy"></i></button> <button class="${!copiedAdres ? 'disabled' : '' } clipboard-button paste-button button tiny" title="Plakken" click.delegate="pasteAdres()"><i class="fa fa-paste"></i></button></div></div></div><div class="row"><div class="small-push-2 small-10 columns"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Land</label> <select value.bind="data.land" matcher.bind="landCodeMatcher" disabled.bind="disabled" change.delegate="landChanged()"><option repeat.for="land of landen" model.bind="land"> ${land.naam} </option></select></div></div></div><div class="row"><div class="small-push-2 small-10 columns"><div if.bind="data.land.code === 'BE'"><div class="placeholder-container ${ !data.land || disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label><autocomplete service.bind="suggest.gemeenten" value.bind="data.gemeente & validate" label="naam" placeholder="gemeente" disabled.bind="!data.land || disabled" change.delegate="gemeenteChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente || disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label><autocomplete service.bind="suggest.postcodes" value.bind="data.postcode & validate" label="nummer" placeholder="postcode" disabled.bind="!data.gemeente || disabled" field="postcode" type.bind="config.postcode.autocompleteType"><template replace-part="suggestion"> ${suggestion.nummer} </template></autocomplete></div><div class="placeholder-container ${ !data.gemeente || disabled ? 'placeholder-disabled' : '' }"><label>Straat</label><autocomplete service.bind="suggest.straten" value.bind="data.straat & validate" label="naam" placeholder="straat" disabled.bind="!data.gemeente || disabled" field="straat" type.bind="config.straat.autocompleteType" change.delegate="straatChanged()"><template replace-part="suggestion"> ${suggestion.naam} </template></autocomplete></div><div class="placeholder-container ${ !data.straat || disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label><autocomplete service.bind="suggest.huisnummers" label="huisnummer" placeholder="huisnummer" minlength="1" disabled.bind="!data.straat || disabled" value.bind="data.adres & validate" type.bind="config.huisnummer.autocompleteType" field="huisnummer"><template replace-part="suggestion"> ${suggestion.huisnummer} </template></autocomplete></div><div class="placeholder-container ${!data.adres.huisnummer || disabled ? 'placeholder-disabled' : '' }"><label>Busnummer</label><autocomplete service.bind="suggest.busnummers" label="busnummer" placeholder="busnummer" minlength="1" disabled.bind="!data.adres.huisnummer || disabled" value.bind="data.adres & validate" type.bind="config.busnummer.autocompleteType" huisnummer.bind="data.adres.huisnummer" field="busnummer"><template replace-part="suggestion"> ${suggestion.busnummer} </template></autocomplete></div></div><div if.bind="data.land.code !== 'BE'"><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Gemeente <span title="Opgelet, enkel de hoofdgemeenten (en niet de deelgemeenten) kunnen ingevuld worden.">(?)</span></label> <input type="text" value.bind="data.gemeente.naam & validate" placeholder="gemeente" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Postcode</label> <input type="text" value.bind="data.postcode.nummer & validate" placeholder="postcode" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Straat</label> <input type="text" value.bind="data.straat.naam & validate" placeholder="straat" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Huisnummer</label> <input type="text" value.bind="data.adres.huisnummer & validate" placeholder="huisnummer" disabled.bind="disabled"></div><div class="placeholder-container ${ disabled ? 'placeholder-disabled' : '' }"><label>Busnummer</label> <input type="text" value.bind="data.adres.busnummer & validate" placeholder="busnummer" disabled.bind="disabled"></div></div></div></div></div></template> |
Oops, something went wrong.