First commit
This commit is contained in:
2
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/docs.html
generated
vendored
Normal file
2
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/docs.html
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<h1>Api Docs coming soon.</h1>
|
||||
<p>Hopefully using the <a href="http://api.haxe.org/v/dev/haxe/crypto/Base64.html">New Dox Template</a>.</p>
|
||||
73
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/file.html
generated
vendored
Normal file
73
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/file.html
generated
vendored
Normal file
@@ -0,0 +1,73 @@
|
||||
<h1>@project <small>@version</small></h1>
|
||||
<p class="lead">@info.desc</p>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<div class="btn-toolbar pull-right">
|
||||
@if( type=="text" && extension=="hx" ) { <a href="#" class="btn btn-default"><i class="fa fa-cogs"></i> View API Docs</a> }
|
||||
@if( type!="directory" ) { <a href="@downloadLink" class="btn btn-default"><i class="fa fa-download"></i> Download</a> }
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
||||
@version <span class="caret"></span>
|
||||
</button>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
@for ( v in info.versions ) {
|
||||
<li @if(v.name==version){ class="active" }><a href="@baseUri@project/@v.name/files/@filePath">@v.name</a></li>
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
<a href="@baseUri@project/@version" class="btn btn-default"><i class="fa fa-star"></i> View Project</a>
|
||||
</div>
|
||||
<ol class="breadcrumb">
|
||||
@{
|
||||
var i = 0;
|
||||
var breadcrumbBase = baseUri+project+"/"+version+"/files";
|
||||
}
|
||||
<li>
|
||||
@if ( type=="directory" ) { <i class="fa fa-folder"></i> }
|
||||
else if ( type=="text" ) { <i class="fa fa-file"></i> }
|
||||
</li>
|
||||
<li><a href="@breadcrumbBase">@project : @version</a></li>
|
||||
@while(i < fileParts.length) {
|
||||
@if (i+1<fileParts.length){
|
||||
<li><a href="@breadcrumbBase/@fileParts.slice(0,i+1).join('/')">@fileParts[i]</a></li>
|
||||
}
|
||||
else {
|
||||
<li class="active">@fileParts[i]</li>
|
||||
}
|
||||
@{ i++; }
|
||||
}
|
||||
</ol>
|
||||
</div>
|
||||
@if ( type=="directory" ) {
|
||||
<!-- Show the directory list -->
|
||||
|
||||
<div class="list-group">
|
||||
@for (dir in dirListing) { <a href="@currentDir/@dir/" class="list-group-item"><i class="fa fa-folder"></i> @dir/</a> }
|
||||
@for (file in fileListing) { <a href="@currentDir/@file" class="list-group-item" @if(extensionAllowed(file)==false) { rel="nofollow"}><i class="fa fa-file"></i> @file</a> }
|
||||
</div>
|
||||
}
|
||||
else if ( type=="text" ) {
|
||||
<!-- Show the content -->
|
||||
<pre class="panel-body"><code class="prettyprint haxe">@fileContent</code></pre>
|
||||
<!--<div class="panel-body">-->
|
||||
<!--</div>-->
|
||||
}
|
||||
else if ( type=="markdown" ) {
|
||||
<div class="panel-body">
|
||||
@fileContent
|
||||
</div>
|
||||
}
|
||||
else if ( type=="img" ) {
|
||||
<!-- Display an image -->
|
||||
<div class="panel-body text-center">
|
||||
<img src="@downloadLink" alt="Viewing image @filename... sorry we don't have a better description"/>
|
||||
</div>
|
||||
}
|
||||
else {
|
||||
<!-- Show a link to download the file -->
|
||||
<div class="panel-body text-center">
|
||||
<a href="@downloadLink" class="btn btn-primary btn-large"><i class="fa fa-download"></i> Download @filename (@size)</a>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
96
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/version.html
generated
vendored
Normal file
96
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/version.html
generated
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-8">
|
||||
|
||||
<!-- Title and description -->
|
||||
<h1>@project <small>@version</small></h1>
|
||||
<p class="lead">@info.desc</p>
|
||||
<p><small>Released @versionDate.</small></p>
|
||||
|
||||
<!-- Installation Instruction -->
|
||||
<p></p>
|
||||
<div class="well">
|
||||
<p>To install, run:</p>
|
||||
<pre><code>haxelib install @project @version</code></pre>
|
||||
<p>See <a href="/documentation/using-haxelib/">using Haxelib</a> in Haxelib documentation for more information.</p>
|
||||
</div>
|
||||
|
||||
<!-- Links and buttons -->
|
||||
<div class="btn-toolbar">
|
||||
<a class="btn btn-primary" href="@downloadUrl"><i class="fa fa-download"></i> <strong>Download @project:@version</strong></a>
|
||||
<a class="btn btn-default" href="/p/@project/versions/">Other Versions</a>
|
||||
<a class="btn btn-default" href="/p/@project/@version/files/">Files</a>
|
||||
<!-- <a class="btn btn-default" href="/p/@project/@version/doc/">API Docs</a> -->
|
||||
<a class="btn btn-default" href="@info.website">Project Website</a>
|
||||
</div>
|
||||
|
||||
<!-- Warning if they're looking at an old version -->
|
||||
<p></p>
|
||||
@if( version!=info.curversion ) {
|
||||
<p class="alert alert-warning">This is not the latest stable version of @project. See version <a href="/p/@project/@info.curversion/">@info.curversion</a> for the latest version.</p>
|
||||
}
|
||||
|
||||
</div>
|
||||
<div class="col-lg-4">
|
||||
|
||||
<!-- Project details -->
|
||||
<div class="table-responsive">
|
||||
<table class="table table-condensed">
|
||||
<tr class="owner"><th>Maintainer</th><td><a href="/u/@info.owner">@info.owner</a></td></tr>
|
||||
<tr class="url"><th>Website</th><td><a href="@info.website">@info.website</a></td></tr>
|
||||
<tr class="social">
|
||||
<th>Social</th>
|
||||
<td>
|
||||
<div class="hidden" id="github-buttons">
|
||||
<iframe id="github-button-star" src="" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
||||
<iframe id="github-button-fork" src="" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="version"><th>Current version</th><td>@info.curversion</td></tr>
|
||||
<tr class="owner"><th>Statistics</th><td>Installed <strong>@info.downloads</strong> times</td></tr>
|
||||
<tr class="license"><th>License</th><td>@info.license</td></tr>
|
||||
<tr class="tags">
|
||||
<th>Tags</th>
|
||||
<td>
|
||||
@{var i = 0;}
|
||||
@for( t in info.tags ) {
|
||||
@{i++;}
|
||||
<a href="/t/@t">@t</a>@if( i<info.tags.length ){, }
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
@if (readme!="") {
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><i class="fa fa-book"></i> README.md</h3>
|
||||
</div>
|
||||
<article class="panel-body readme site-content">
|
||||
@readme
|
||||
</article>
|
||||
</div>
|
||||
}
|
||||
|
||||
<script>
|
||||
var website = "@info.website";
|
||||
if (website.indexOf("github.com") > -1)
|
||||
{
|
||||
var githubInfo = website.split("github.com/").pop().split("/");
|
||||
var githubUser = githubInfo[0];
|
||||
var githubRepo = githubInfo[1];
|
||||
document.getElementById("github-button-star").src = "https://ghbtns.com/github-btn.html?user="+githubUser+"&repo="+githubRepo+"&type=star&count=true";
|
||||
document.getElementById("github-button-fork").src = "https://ghbtns.com/github-btn.html?user="+githubUser+"&repo="+githubRepo+"&type=fork&count=true";
|
||||
document.getElementById("github-buttons").className = "show";
|
||||
}
|
||||
</script>
|
||||
41
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/versionList.html
generated
vendored
Normal file
41
hGameTest/node_modules/haxe/downloads/haxelib/www/view/project/versionList.html
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
<div>
|
||||
<h1>@project <small>All Versions</small></h1>
|
||||
<p class="lead">@info.desc</p>
|
||||
<div class="btn-toolbar">
|
||||
<a class="btn btn-primary" href="/p/@project/@info.curversion/">Current Version</a>
|
||||
<a class="btn btn-default" href="@info.website">Project Website</a>
|
||||
</div>
|
||||
<p></p>
|
||||
<p><a href="@info.website">@info.website</a></p>
|
||||
</div>
|
||||
|
||||
<table class="table table-hover table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Version</th>
|
||||
<th>Release Notes</th>
|
||||
<th>Install</th>
|
||||
<th>Downloads</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@for (v in allVersions) {
|
||||
<tr>
|
||||
<td>
|
||||
<a href="/p/@project/@v.name/" class="text-nowrap">@v.name</a>
|
||||
<br /><small>@v.date.substr(0,10)</small>
|
||||
</td>
|
||||
<td>@v.comments</td>
|
||||
<td><code class="text-nowrap">haxelib install @project @v.name</code></td>
|
||||
<td>@v.downloads</td>
|
||||
<!--<td>-->
|
||||
<!--<div class="btn-toolbar btn-group">-->
|
||||
<!--<a class="btn btn-small btn-default" href="/p/@project/@v.name/">View Version</a>-->
|
||||
<!--<a class="btn btn-small btn-default" href="/p/@project/@v.name/files/">Files</a>-->
|
||||
<!--<a class="btn btn-small btn-default" href="/p/@project/@v.name/api/">API Docs</a>-->
|
||||
<!--</div>-->
|
||||
<!--</td>-->
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
Reference in New Issue
Block a user