Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / javascripts / templates / snfElem.hbs @ 1b6dd4b5

History | View | Annotate | Download (1.2 kB)

1 b3523ce4 Athina Bekakou
{{#unless view.addNewBtn}}
2 1b6dd4b5 Athina Bekakou
	{{view Okeanos.ElementSidebarView}}
3 1b6dd4b5 Athina Bekakou
{{/unless}}
4 d0fe8c12 Athina Bekakou
		<div class="container">
5 1b6dd4b5 Athina Bekakou
		{{#if view.selectable}}
6 1b6dd4b5 Athina Bekakou
			{{snf-checkbox initState=view.initSelect elementID=id}}
7 1b6dd4b5 Athina Bekakou
		{{/if}}
8 d0fe8c12 Athina Bekakou
			<div class="img-wrap">
9 1b6dd4b5 Athina Bekakou
				{{#if view.addNewBtn}}
10 1b6dd4b5 Athina Bekakou
					<span {{bind-attr class="view.icon :snf-font"}}></span>
11 1b6dd4b5 Athina Bekakou
				{{/if}}
12 d0fe8c12 Athina Bekakou
				<span {{bind-attr class="parentController.icon :snf-font"}}></span>
13 d0fe8c12 Athina Bekakou
				{{#if parentController.hasOS}}
14 d0fe8c12 Athina Bekakou
					<span {{bind-attr class="os :os"}}></span>
15 d0fe8c12 Athina Bekakou
				{{/if}}
16 d0fe8c12 Athina Bekakou
			</div>
17 b3523ce4 Athina Bekakou
			{{#if view.addNewBtn}}
18 b3523ce4 Athina Bekakou
				<h4>{{view.name}}</h4>			
19 b3523ce4 Athina Bekakou
			{{else}}
20 b3523ce4 Athina Bekakou
				<h4>{{name}}</h4>
21 b3523ce4 Athina Bekakou
				<div class="actions">
22 b3523ce4 Athina Bekakou
					<a href="" data-reveal-id="vm-connect" data-tooltip title="connect" class="connect has-tip"><span class="snf-thunder-full"></span></a>
23 b3523ce4 Athina Bekakou
					<a href="vm_details.html" data-tooltip title="view vm details" class="snf-info-outline has-tip">i</a>
24 b3523ce4 Athina Bekakou
				</div>
25 b3523ce4 Athina Bekakou
				{{#if parentController.hasTags}}
26 b3523ce4 Athina Bekakou
					<div class="tags">tags</div>
27 b3523ce4 Athina Bekakou
				{{/if}}
28 b3523ce4 Athina Bekakou
				<div class= "status">
29 b3523ce4 Athina Bekakou
					<span class="state">{{view.status}}</span>
30 b3523ce4 Athina Bekakou
					<span class="logs">logs</span>
31 b3523ce4 Athina Bekakou
				</div>
32 b3523ce4 Athina Bekakou
				<div class="info"><a {{bind-attr href=hostname}} title="">{{hostname}}</a></div>
33 b3523ce4 Athina Bekakou
				</div>
34 b3523ce4 Athina Bekakou
			{{/if}}