{{define "templates"}}
<div class="card">
  <h2>识别配置模板</h2>
  <div class="table-wrap" style="margin-top:10px">
    <table>
      <thead>
        <tr><th>模板名称</th><th>参数结构</th></tr>
      </thead>
      <tbody>
        {{range .Templates}}
        <tr>
          <td><a class="mono" href="/ui/templates/{{.Name}}">{{.Name}}</a></td>
          <td><pre style="margin:0">{{json .Schema}}</pre></td>
        </tr>
        {{end}}
      </tbody>
    </table>
  </div>
</div>
{{end}}
