-
Notifications
You must be signed in to change notification settings - Fork 36
/
index.tpl.html
58 lines (47 loc) · 1.78 KB
/
index.tpl.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
@@include('_head.html', {
"rootclass": "plugins",
"title": "Mavo Plugins",
"includes": "<link rel='stylesheet' href='/css/style.css'>"
})
<body>
@@include('_header.html')
<h2>Plugins</h2>
<section id="plugin-list">
<p class="intro">Plugins teach Mavo new tricks, so you can create even more awesomeness!</p>
<section mv-app="plugins" mv-bar="no-login" mv-storage="https://github.com/mavoweb/plugins" mv-plugins="markdown github-pr">
<meta property="tagFilter" content="[lowercase(url('tag'))]">
<p class="notice" mv-if="tagFilter">
Some plugins are hidden. <a href="?">Show All.</a>
</p>
<div>
<article property class="plugin" mv-list-item mv-if="!tagFilter or count(lowercase(tag) = tagFilter) > 0">
<div>
<h1>
<a href="/plugin/[id]">
<span property="name">Name</span>
<span property="id" title="Use this id in the mv-plugins attribute to dynamically load this plugin"></span>
</a>
</h1>
<div property="description" class="markdown">Description</div>
<div class="mv-container"><a href="?tag=[tag]" property="tag" mv-attribute="null" mv-list-item></a></div>
<meta property="repo" mv-editor-placeholder="E.g. [author]/mavo-[id]">
<meta property="selector" mv-expressions="{{ }}" mv-editor-placeholder="E.g. [mv-{{id}}], .{{id}}" />
</div>
<footer>
<a class="author" href="https://github.com/[author]">
<img src="https://github.com/leaverou.png?size=40" mv-attr-src="'https://github.com/' & author & '.png?size=40'" alt="">
<span property="author">leaverou</span>
</a>
</footer>
</article>
</div>
<section class="mv-logged-out">
<p>
<a href="?login" class="mv-login">Edit this page with Mavo</a>
</p>
</section>
</section>
</section>
@@include('_footer.html')
</body>
</html>