forked from arj03/ssb-browser-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrowser.html
32 lines (29 loc) · 1.38 KB
/
browser.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
<html>
<head>
<title>SSB browser demo</title>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/chat.css">
<link rel="stylesheet" type="text/css" href="css/private.css">
<link rel="stylesheet" type="text/css" href="css/profile.css">
<link rel="stylesheet" type="text/css" href="css/settings.css">
</head>
<body>
<div id="app">
<h1>SSB browser demo</h1>
<p>
<router-link to="/public">Public</router-link><new-public-messages></new-public-messages> |
<router-link to="/private">Private</router-link><new-private-messages></new-private-messages> |
<router-link to="/chat">Off-chain chat</router-link> |
<router-link :to="{ name: 'profile', params: { feedId: SSB.net.id }}">Your profile</router-link> |
<router-link to="/settings">Settings</router-link><connected></connected>
<input type="text" placeholder="thread msg id / feedId" id="goTo" v-model="goToTargetText" v-on:keyup.enter="goToTarget">
</p>
<router-view></router-view>
</div>
</body>
<script src="node_modules/vue/dist/vue.min.js"></script>
<script src="node_modules/vue-router/dist/vue-router.min.js"></script>
<script src="bundle-core.js"></script>
<script src="bundle-ui.js"></script>
</html>