1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
verdaccio/lib/GUI/index.hbs

47 lines
1.1 KiB
Handlebars
Raw Normal View History

2014-05-07 00:04:03 +02:00
<!doctype html>
<html lang="en-us">
<head>
<meta charset="utf-8">
<title>{{ name }}</title>
2014-05-07 18:27:51 +02:00
<link rel="stylesheet" type="text/css" href="/-/static/main.css">
2014-05-07 00:04:03 +02:00
</head>
<body>
2014-05-07 20:08:29 +02:00
<div id='content'>
<h1><a href='/'>{{ name }}</a></h1>
2014-05-07 00:40:21 +02:00
2014-05-07 20:36:48 +02:00
<div class='center'>
<article id='setup'>
<code>npm set registry {{ baseUrl }}</code><br>
<code>npm adduser --registry {{ baseUrl }}</code>
</article>
</div>
2014-05-07 00:48:15 +02:00
2014-05-07 20:36:48 +02:00
<h2>
Available Packages:
<form id='search-form'>
2014-05-07 23:51:03 +02:00
<input type='text' placeholder='Search' /><button class='clear icon-search'></button>
2014-05-07 20:36:48 +02:00
</form>
</h2>
2014-05-07 00:40:21 +02:00
2014-05-07 20:36:48 +02:00
<div id='search-results'></div>
2014-05-07 18:27:51 +02:00
2014-05-07 20:36:48 +02:00
<div id='all-packages'>
2014-05-07 20:08:29 +02:00
{{#each packages}}
{{> entry}}
{{/each}}
2014-05-07 22:31:25 +02:00
{{#unless packages.length}}
2014-05-07 22:31:25 +02:00
<div class='no-results'>
2014-05-07 22:36:03 +02:00
<big>No Packages</big><br>
2014-05-07 22:31:25 +02:00
Use <code>npm publish</code>
</div>
{{/unless}}
2014-05-07 20:08:29 +02:00
</div>
</div>
2014-05-07 20:36:48 +02: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-07 00:04:03 +02:00
</body>
</html>