mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-11-13 03:35:52 +01:00
56 lines
1.3 KiB
Handlebars
56 lines
1.3 KiB
Handlebars
<!doctype html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>{{ name }}</title>
|
|
|
|
<link rel="icon" type="image/ico" href="/-/static/favicon.ico"/>
|
|
|
|
<link rel="stylesheet" type="text/css" href="/-/static/main.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class='header-container clearfix'>
|
|
<div class="logo-container">
|
|
<a href='/'><img id='logo' alt='{{ name }}' title='{{ name }}' src='/-/logo' /></a>
|
|
</div>
|
|
|
|
<div class='center registry-info'>
|
|
<article class='setup'>
|
|
<code>npm set registry {{ baseUrl }}</code><br>
|
|
<code>npm adduser --registry {{ baseUrl }}</code>
|
|
</article>
|
|
</div>
|
|
</div>
|
|
<div class="header-container">
|
|
<h2>
|
|
Available Packages:
|
|
<form id='search-form'>
|
|
<input type='text' placeholder='Search' /><button class='clear icon-search'></button>
|
|
</form>
|
|
</h2>
|
|
</div>
|
|
</header>
|
|
|
|
<div id='content'>
|
|
<div id='search-results'></div>
|
|
|
|
<div id='all-packages'>
|
|
{{#each packages}}
|
|
{{> entry}}
|
|
{{/each}}
|
|
|
|
{{#unless packages.length}}
|
|
<div class='no-results'>
|
|
<big>No Packages</big><br>
|
|
Use <code>npm publish</code>
|
|
</div>
|
|
{{/unless}}
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/-/static/jquery.min.js"></script>
|
|
<script type='text/javascript' src='/-/static/main.js'></script>
|
|
</body>
|
|
</html>
|