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

47 lines
1 KiB
Handlebars
Raw Normal View History

2014-05-06 17:04:03 -05:00
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>{{ name }}</title>
2014-05-07 11:27:51 -05:00
<link rel="stylesheet" type="text/css" href="/-/static/main.css">
2014-05-06 17:04:03 -05:00
</head>
<body>
2014-05-07 13:08:29 -05:00
<div id='content'>
<h1><a href='/'>{{ name }}</a></h1>
2014-05-06 17:40:21 -05:00
2014-05-07 13:36:48 -05:00
<div class='center'>
<article id='setup'>
<code>npm set registry {{ baseUrl }}</code><br>
<code>npm adduser --registry {{ baseUrl }}</code>
</article>
</div>
2014-05-06 17:48:15 -05:00
2014-05-07 13:36:48 -05:00
<h2>
Available Packages:
<form id='search-form'>
2014-05-07 14:56:48 -05:00
<input type='text' placeholder='Search' name='q' /><button class='clear'>X</button>
2014-05-07 13:36:48 -05:00
</form>
</h2>
2014-05-06 17:40:21 -05:00
2014-05-07 13:36:48 -05:00
<div id='search-results'></div>
2014-05-07 11:27:51 -05:00
2014-05-07 13:36:48 -05:00
<div id='all-packages'>
2014-05-07 13:08:29 -05:00
{{#each packages}}
{{> entry}}
{{/each}}
2014-05-07 15:31:25 -05:00
{{#unless items.length}}
<div class='no-results'>
2014-05-07 15:36:03 -05:00
<big>No Packages</big><br>
2014-05-07 15:31:25 -05:00
Use <code>npm publish</code>
</div>
{{/unless}}
2014-05-07 13:08:29 -05:00
</div>
</div>
2014-05-07 13:36:48 -05:00
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type='text/javascript' src='/-/static/main.js'></script>
2014-05-06 17:04:03 -05:00
</body>
</html>