1
0
Fork 0

Started implementing the new modal dialog to install foxx apps

This commit is contained in:
Michael Hackstein 2014-12-11 18:32:06 +01:00
parent 9eb2ba8862
commit 6d2b664883
1 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,62 @@
<script id="modalCollectionInfo.ejs" type="text/template">
<%
var roundNumber = function(number, n) {
var factor;
factor = Math.pow(10,n);
var returnVal = (Math.round(number * factor) / factor);
return returnVal;
};
var figuresData = content.getFigures();
var revision = content.getRevision();
var index = content.getIndex();
%>
<ul id="infoTab" class="nav nav-tabs">
<li class="active"><a href="#appstore" data-toggle="tab">App Store</a></li>
<li><a href="#github" data-toggle="tab">Github</a></li>
<li><a href="#zip" data-toggle="tab">Zip</a></li>
</ul>
<div class="tab-content" id="tab-content-application-info">
<div class="tab-pane active" id="appstore">
</div>
<div class="tab-pane" id="github">
<div>The repository has to be private. The version has to be a git tag LINKTOTAG.</div>
<div>
<table>
<tr class="tableRow">
<th class="collectionInfoTh">
Repository*:
</th>
<th class="collectionInfoTh">
<input type="text" id="repository" value="" placeholder="username/repository">
</th>
</tr>
<tr class="tableRow">
<th class="collectionInfoTh">
Version*:
</th>
<th class="collectionInfoTh">
<input type="text" id="tag" value="" placeholder="master">
</th>
</tr>
<tr class="tableRow">
<th class="collectionInfoTh">
Mount*:
</th>
<th class="collectionInfoTh">
<input type="text" id="tag" value="" placeholder="/foxx/app">
</th>
</tr>
</table>
</div>
</div>
<div class="tab-pane" id="zip">
</div>
</div>
</script>