0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
verdaccio/lib/GUI/index.hbs

51 lines
1.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-08 15:41:59 -05:00
<header>
<div id='header-inner'>
<h1><a href='/'>{{ name }}</a></h1>
2014-05-06 17:40:21 -05:00
2014-05-08 15:41:59 -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-08 15:41:59 -05:00
<h2>
Available Packages:
<form id='search-form'>
<input type='text' placeholder='Search' /><button class='clear icon-search'></button>
</form>
</h2>
</div>
</header>
2014-05-06 17:40:21 -05:00
2014-05-08 15:41:59 -05:00
<div id='content'>
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 packages.length}}
2014-05-07 15:31:25 -05:00
<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>