Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use data-attributes for templating
  • Loading branch information
line-o committed Jun 18, 2021
commit ab50fc0e54f03c473f694a1d71a38e2e907f2260
2 changes: 1 addition & 1 deletion src/main/xar-resources/browse.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<div class="templates:surround?with=templates/page.html&amp;at=main">
<div data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main">
<h1>XQuery Function Documentation</h1>
<p>
<a href="index.html">
Expand Down
2 changes: 1 addition & 1 deletion src/main/xar-resources/error-page.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<div class="templates:surround?with=templates/page.html&amp;at=content">
<div data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main">
<h1>An error has occurred</h1>
<p>An error has been generated by the application.</p>
<pre class="error templates:error-description"/>
Expand Down
2 changes: 1 addition & 1 deletion src/main/xar-resources/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<div class="templates:surround?with=templates/page.html&amp;at=main">
<div data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main">
<h1>XQuery Function Documentation</h1>
<form id="fun-query-form" name="f-query" class="form-horizontal" action="" method="POST">
<div class="form-group">
Expand Down
2 changes: 1 addition & 1 deletion src/main/xar-resources/view.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<div class="templates:surround?with=templates/page.html&amp;at=main">
<div data-template="templates:surround" data-template-with="templates/page.html" data-template-at="main">
<h1>XQuery Function Documentation</h1>
<p>
<a href="index.html">
Expand Down