forked from x/ContextOS
opt some
This commit is contained in:
parent
a26f0f7f2a
commit
3577b4b867
@ -1,9 +1,11 @@
|
||||
<!DOCTYPE html>
|
||||
<head>
|
||||
<meta charset="utf-8"><title>volcanos</title>
|
||||
<link href="/publish/can.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<script src="/publish/can.js"></script>
|
||||
<script>Volcanos({{.list}})</script>
|
||||
</body>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>volcanos</title>
|
||||
</head>
|
||||
<body>
|
||||
<p>hello world</p>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<input {{.OptionTemplate}} type="button" value='{{.Option "text"}}' data-meta={{.Option "extra"}}></input>
|
||||
<input {{.OptionTemplate}} type="button" value='{{.Option "text"}}'></input>
|
||||
|
||||
|
@ -1 +1 @@
|
||||
<div {{.OptionTemplate}} data-meta={{.Option "meta"}}>{{range $index, $value := .Optionv "list"}}<label>$ </label><span class="item">{{$value}}</span><br>{{end}}<span>{{.Option "echo"}}</span></div>
|
||||
<div {{.OptionTemplate}}>{{range $index, $value := .Optionv "list"}}<label>$ </label><kbd class="item">{{$value}}</kbd><br>{{end}}<samp>{{.Option "echo"}}</samp></div>
|
||||
|
@ -1 +1 @@
|
||||
<p {{.OptionTemplate}} data-meta={{.Option "meta"}}>{{.Option "text"}}</p>
|
||||
<p {{.OptionTemplate}}>{{.Option "text"}}</p>
|
||||
|
@ -1,2 +1,2 @@
|
||||
<h2 {{.OptionTemplate}} data-meta={{.Option "extra"}}>{{.Option "text"}}</h2>
|
||||
<h2 {{.OptionTemplate}}>{{.Option "text"}}</h2>
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
<p {{.OptionTemplate}} data-meta={{.Option "meta"}} style="color:red;font-style:italic">{{.Option "text"}}</p>
|
||||
<p {{.OptionTemplate}} style="color:red;font-style:italic">{{.Option "text"}}</p>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user