forked from orange727/cat-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.html
42 lines (42 loc) · 1.35 KB
/
layout.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<!DOCTYPE html>
<html>
<head>
<title>Cat Component</title>
<style>
html {font-size: 50px !important;}
body {padding: 10px 0;}
.logo {position:fixed; top: 0; right: 0; display: block; margin: 0.1rem;}
.logo img {width: 1.8rem;}
.list {list-style-position: inside; list-style-type: katakana; font-size: .4rem;}
</style>
<link rel="stylesheet" href="/highlight.css">
<link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<a href="https://github.com/MYFE-React-Component" class="logo"><img src="/logo.jpg" /></a>
<div class="container">
<div class="panel panel-default">
<ul class="panel-body list-group list">
<% navList.forEach(function(nav) { %>
<li><a href=<%- nav %>><%- nav %></a></li>
<% }) %>
</ul>
</div>
<% if(readme !== '') { %>
<pre><code><%= readme %></code></pre>
<% } %>
<% if(script !== '') { %>
<div class="panel panel-default">
<div class="panel-body">
<div id="component-example-<%= script %>"></div>
</div>
</div>
<script src="/<%= script %>.js"></script>
<% } %>
<% if(code !== '') { %>
<pre><code><%= code %></code></pre>
<% } %>
</div>
<script src="http://127.0.0.1:35729/livereload.js"></script>
</body>
</html>