-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.html
35 lines (35 loc) · 1.54 KB
/
app.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
<div class="app-card gradient" data-id="{app.name}">
<div class="left-side">
<div class="screenshot" style="top: 0px; "><img src="https://burrow.singly.com/registry/{app.name}/screenshot.png"></div>
</div>
<div class="app-info">
<p class="title">{app.repository.title}</p>
<p class="author"><a class="orange iframeLink" href="#" data-id="AppGallery-Author?author={app.author.name}">by {app.author.name}</a></p>
<p class="uses">
{?app.repository.uses.services}<span>This app uses:</span>
<div class="provider-icons">
<span class='connected-services'>
{#connected}
<img class="installed" src="https://burrow.singly.com/registry/{.handle}/icon.png" alt="{.handle}" title="{.handle}" />
{/connected}
</span>
<span class='unconnected-services'>
{#unconnected}
<a class="oauthLink" href="#" data-provider="{.handle}" data-height="{.oauthSize.height}" data-width="{.oauthSize.width}">
<img src="https://burrow.singly.com/registry/{.handle}/icon.png" alt="{.handle}" title="{.handle}" /></a>
{/unconnected}
</span>
</div>
{/app.repository.uses.services}
</p>
</div>
<div class="bottom">
{?app.actions}
{?app.actions.add}
<input type='button' id='{app.repository.handle}' class='install action-button' value='+ADD TO ACCOUNT' />
{:else}
<input type='button' disabled='disabled' class='action-button' value='+ADDED TO ACCOUNT' />
{/app.actions.add}
{/app.actions}
</div>
</div>