0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/lib/GUI/index.handlebars
2014-05-07 13:36:48 -05:00

40 lines
911 B
Handlebars

<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>{{ name }}</title>
<link rel="stylesheet" type="text/css" href="/-/static/main.css">
</head>
<body>
<div id='content'>
<h1><a href='/'>{{ name }}</a></h1>
<div class='center'>
<article id='setup'>
<code>npm set registry {{ baseUrl }}</code><br>
<code>npm adduser --registry {{ baseUrl }}</code>
</article>
</div>
<h2>
Available Packages:
<form id='search-form'>
<input type='text' placeholder='Search' name='q' />
<button class='clear'>x</button>
</form>
</h2>
<div id='search-results'></div>
<div id='all-packages'>
{{#each packages}}
{{> entry}}
{{/each}}
</div>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type='text/javascript' src='/-/static/main.js'></script>
</body>
</html>