-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathitemImgInfo.ejs
More file actions
52 lines (52 loc) · 1.78 KB
/
itemImgInfo.ejs
File metadata and controls
52 lines (52 loc) · 1.78 KB
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
<% if (HOWTO) { %>
<article class="well col-xs-12">
<h2>How To</h2>
<%- HOWTO %>
</article>
<%}%>
<% if (Troubleshooting) { %>
<article class="well col-xs-12">
<h2>Need Help</h2>
<%- Troubleshooting %>
</article>
<% } %>
<% if ( similarItems.length > 0 ) { %>
<article class="well col-xs-12">
<h2>Similar Items</h2>
<% for(var i = 0; i < similarItems.length; i++){ %>
<div class='miniSearchItem col-xs-4'>
<% if (!similarItems[i].picture) { %>
<% if (!similarItems[i].uuid) { %>
<img class="miniItemImg faded" src="noImg.png" />
<% }else{ %>
<a href="/<%- similarItems[i].uuid %>"> <img class="miniItemImg" src="noImg.png" /> </a>
<%}%>
<% } else{ %>
<% if (!similarItems[i].uuid) { %>
<img class="miniItemImg faded" src=" <%- similarItems[i].picture %> " />
<% }else{ %>
<a href="/<%- similarItems[i].uuid %>"> <img class="miniItemImg" src=" <%- similarItems[i].picture %> " /> </a>
<%} %>
<% } %>
</div>
<% } %>
</article>
<%}%>
<article class="well col-xs-12">
<h2>Problems?</h2>
<p>Not working? Something missing? Is it about to explode? <b>Submit a ticket</b> and we'll get to fixing it ASAP.</p>
<form action="https://docs.google.com/forms/d/e/1FAIpQLSdUAJjZkz7PKkQRnh6Dwoj6LKsRl_8ix4SPO4hZKOzeoE32aw/viewform?usp=pp_url" method="get">
<input type="hidden" name="entry.1169692216" value="<%- uuid %>">
<button type="submit">Submit</button>
</form>
</article>
<article class="well col-xs-12">
<h2>Details</h2>
<%- details %>
<ul>
<li>model: <%- model %></li>
<li>serial: <%- serial %></li>
<li>owner: <%- owner %></li>
<li>UUID: <%- uuid %></li>
</ul>
</article>