Last active
August 29, 2015 14:01
-
-
Save GuillaumeDievart/364bbaa8469b8c9ab4c4 to your computer and use it in GitHub Desktop.
Xyl fragment
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
<?xml version="1.0" encoding="utf-8"?> | |
<fragment xmlns="http://hoa-project.net/xyl/xylophone"> | |
<snippet id="default"> | |
<p>default</p> | |
</snippet> | |
<snippet id="event"> | |
<p>event</p> | |
</snippet> | |
<snippet id="learn"> | |
<p>learn</p> | |
</snippet> | |
<snippet id="library"> | |
<p>library</p> | |
</snippet> | |
</fragment> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<?xyl-fragment href="hoa://Application/View/Shared/Search/Result.xyl" as="search.result"?> | |
<overlay xmlns="http://hoa-project.net/xyl/xylophone"> | |
<yield id="yContent"> | |
<h1>Search</h1> | |
<div class="download-box"> | |
<form novalidate="client" action="#" method="post" id="form_search" enctype="application/x-www-form-urlencoded"> | |
<input type="text" name="query" /> | |
<input type="submit" value="Search" /> | |
</form> | |
</div> | |
<ul> | |
<li bind="?results"> | |
<a href="results_(?url)" > | |
<value bind="?title" /> | |
<yield select="?f:search.result#(?type)" /> | |
</a> | |
</li> | |
</ul> | |
</yield> | |
</overlay> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment