This repository has been archived by the owner on Jun 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
admin.html
51 lines (42 loc) · 1.84 KB
/
admin.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
43
44
45
46
47
48
49
50
51
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
<title>Upload your markers!</title>
<script src="/socket.io/socket.io.js"></script>
<script src="/siofu/client.js"></script>
<script src="/js/main.js"></script>
<script>
var socket = io.connect();
socket.emit('adminReady');
socket.on('ready', function(data){
init();
});
</script>
<link rel="stylesheet" href="https://build.origami.ft.com/v2/bundles/css?modules=o-fonts@^2.2.0,o-typography@^4.3.2,o-buttons@^4.4.4,o-loading@^1.0.0" />
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<body>
<header>
<h1><a class="logo" href="http://labs.ft.com" target="_blank"><img src="/img/ftlabs_avatar-green.png" alt="FT labs" /></a></h1>
<h2 class="o-typography-heading1">InkLink</h2>
</header>
<hr />
<div class="o-typography-body intro">
<p>Hello InkLink admin!</p>
<p>Please note creating a new collection will delete the existing one.</p>
<p>To create items, create a zip file of folders formatted thus: itemName*itemUrl<br>and containing all the images for that item in png form. (please remove the 'http://' from itemUrl)</p>
</div>
<div class="centre-content o-typography-body admin-cta">
I want to create a <button id="NewCol" class="o-buttons o-buttons--standout o-buttons--big">New Collection</button> or <button id="AddItem" class="o-buttons o-buttons--standout o-buttons--big">Add Items</button>
</div>
<div class="centre-content hidden loader o-loading o-loading--dark o-loading--large"></div>
<form action="#" method="post" accept-charset="utf-8">
<input id="CollectionItems" class="hidden" type="file" accept=".zip">
</form>
<div class="output o-typography-body">
</div>
<script src="//origami-build.ft.com/v2/bundles/js?modules=o-buttons"></script>
</body>
</html>