-
Notifications
You must be signed in to change notification settings - Fork 17
/
index.html
61 lines (55 loc) · 2.08 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
<html>
<head>
<title>AWS SDK for JavaScript Blog</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
</head>
<body>
<div id="fb-root"></div>
<nav>
<a id="new-post-button" class="admin-button" href="#">+ Post</a>
<a id="login-button" href="#">Login</a>
</nav>
<div id="content">
<h1>re:Invent 2013 Blog Demo</h1>
<!-- Article editor markup -->
<div id="article-editor">
<h2>Create a New Article</h2>
<p>
<input id="article-asset" type="file" />
<input id="article-date" type="hidden" value="" />
Title: <input id="article-title" type="text" size="100" />
<button id="cancel-publish-button">Cancel</button>
<button id="publish-button">Publish</button>
</p>
<div class="wmd-panel">
<div id="wmd-button-bar"></div>
<textarea class="wmd-input" id="wmd-input"></textarea>
</div>
<div id="wmd-preview" class="wmd-panel wmd-preview"></div>
</div>
<!-- Placeholder markup for articles -->
<div id="articles">Loading articles...</div>
</div>
<!-- HTML template for displaying an individual article -->
<script id="article-template" type="text/template">
<article id="{{slug}}">
<header>
<a href="#" class="admin-button delete-button">Delete</a>
<a href="#" class="admin-button edit-button">Edit</a>
<h2 class="title">{{title}}</h1>
<h3 class="publishDate">Published on {{publishDate}}</h2>
</header>
<section class="body">{{body}}</section>
</article>
</script>
<!-- Markdown editor scripts -->
<script type="text/javascript" src="js/Markdown.Converter.js"></script>
<script type="text/javascript" src="js/Markdown.Sanitizer.js"></script>
<script type="text/javascript" src="js/Markdown.Editor.js"></script>
<!-- Load the SDK -->
<script type="text/javascript" src="https://sdk.amazonaws.com/js/aws-sdk-2.0.0-rc1.min.js"></script>
<!-- Load our application -->
<script type="text/javascript" src="js/appinfo.js"></script>
<script type="text/javascript" src="js/app.js"></script>
</body>
</html>