-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (85 loc) · 3.58 KB
/
index.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>Syncano News</title>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/css/materialize.min.css">
<!-- Icons -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet" href="stylesheets/index.css">
</head>
<body>
<div class="syncano-container">
<nav>
<div class="nav-wrapper syncano-nav">
<a class="brand-logo"><img id="syncanoLogo" src="images/syncano-logo-white.png"></a>
<ul class="right hide-on-med-and-down">
<li id="navTitle">Syncano News</li>
<li><a id="link-account">Link Account</a></li>
<li><a id="add-link">Add a News Item</a>
</ul>
</div>
</nav>
<div class="content">
<div id="noUserInfo" style="text-align:center;padding-top:5em;display:none;">
<h5 style="margin-bottom:0;">
In order to browse or create news items,<br>
you must first link your account.
</h5>
<h5 style="margin-bottom:0;"><a href="http://docs.syncano.io/docs/quick-start-tutorial" target="_blank">Follow the setup guide here</a></h5>
</div>
<ol class="links"></ol>
<!-- Modals -->
<div class="modal" id="account-modal">
<div class="modal-content user-input">
<h4 class="center">Link your Syncano Account</h4>
<p id="account-message"></p>
<form>
<label>API Key</label>
<input type="text" id="api-key" required /></br>
<label>Instance Name</label>
<input type="text" id="instance-name" required /></br>
<div style="text-align: center;">
<input type="submit" id="account-submit" class="button" />
</div>
</form>
</div>
</div>
<div class="modal" id="link-modal">
<div class="user-input">
<h4>Add a News Item</h4>
<form>
<label>Title</label>
<input type="text" id="link-title" required /></br>
<label>URL</label>
<input type="text" id="link-url" required /></br>
<div style="text-align: center;">
<input type="submit" id="link-submit" class="button"/>
</div>
</form>
</div>
</div>
<!-- End Modals -->
</div>
</div>
<footer>
<div class="container">
<p class="center-align">
<a href="http://docs.syncano.io/docs/quick-start-tutorial" target="_blank">Click here for the Quick Start Guide</a><br>
Need help? Join the <a href="http://syncano-community.github.io/slack-invite/" target="_blank">Syncano Community Slack Channel</a>
</p>
</div>
</footer>
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-2.2.0.min.js"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.6/js/materialize.min.js"></script>
<!-- Syncano -->
<script src="https://cdn.jsdelivr.net/syncano/1.0.25/syncano.min.js"></script>
<!-- App -->
<script src="js/app.js"></script>
</body>
</html>