ryuu
Version:
Domo App Dev Studio CLI, The main tool used to create, edit, and publish app designs to Domo
47 lines (40 loc) • 1.87 kB
HTML
<html>
<head>
<link href="domodev/assets/vendor/normalize.css" rel="stylesheet">
<link href="domodev/assets/css/index.css" rel="stylesheet">
</head>
<body>
<div class="slideOne">
<input type="checkbox" value="None" id="slideOne" name="check" <%- fullpage ? 'checked="checked"' : '' %> <%- fullpage===false ? 'disabled' : '' %> onclick="fullscreen(this.checked, '<%- height %>', '<%- width %>')"/>
<label for="slideOne"></label>
<h2>Fullscreen</h2>
</div>
<div>
<section class="messages">
<% if (!hasThumbnail) { %>
<div class="warn note">Warning: a thumbnail is required before creating a card with this design. This is used to represent the App in the mobile application and the Appstore experience. Place a 300x300 image named thumbnail.png in the base directory of your design.</div>
<% } %>
</section>
<section class="app" style="padding: <%- fullpage ? '0px 50px' : 0 %>">
<div class="app__wrapper" style="width: <%- fullpage ? '100%' : width %>; height: <%- fullpage ? 'calc(100% - 60px)' : height %>;">
<table>
<tr>
<% if (hasThumbnail) { %>
<td>
<img class="app__wrapper__thumbnail" src="/thumbnail.png" />
</td>
<% } %>
<td>
<h2><%- manifest.name %></h2>
</td>
</tr>
</table>
<iframe src="<%- url %>"style="width: <%- fullpage ? '100%' : width %>; height: <%- fullpage ? 'calc(100% - 140px)' : height %>;"></iframe>
<div class="size"><%- fullpage ? 'FULL-WIDTH x FULL-HEIGHT' : width +' x '+ height %></div>
</div>
</section>
</div>
<script src="domodev/assets/vendor/lodash.js"></script>
<script src="domodev/assets/js/index.js"></script>
</body>
</html>