Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 83 lines (64 sloc) 2.442 kb
967b8f0 Birthday
Michael Aufreiter authored
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>Substance | Updates</title>
6
7 <link href="styles/reset.css" media="screen" rel="stylesheet" type="text/css" />
8 <link href="styles/styles.css" media="screen" rel="stylesheet" type="text/css" />
9
10 <script src="javascripts/schema.js"></script>
11
12 <!-- Templates -->
13 <script type="text/x-handlebars-template" name="document_browser">
14 <div id="documents">
15 <% documents.each(function(doc) { %>
16 <a class="load-document" href="<%= doc.get('creator')._id.split('/')[2] %>/<%= doc.get('name') %>" document="<%= doc._id %>" user="<%= doc.get('creator')._id.split('/')[2] %>" name="<%= doc.get('name') %>">
17 <div class="document<%= "/user/"+app.document.username === doc.get('creator')._id && app.document.docname === doc.get('name') ? " active": "" %>">
18 <div class="published"><%= doc.get('published_on') ? _.date(doc.get('published_on')) : "Unpublished" %></div>
19 <div class="title"><%= doc.get('title') %></div>
20 <div class="teaser"><%= _.teaser(doc.get('lead')) %></div>
21
22 </div>
23 </a>
24 <% }); %>
25 </div>
26 </script>
27
28 <script type="text/x-handlebars-template" name="document">
29
30 <h1><%= document.get('title') %></h1>
31 <p id="lead">
32 <%= document.get('lead') %>
33 </p>
34
35 <!-- Table of contents -->
36 <div id="toc">
37 </div>
38
39 <!-- The actual content -->
40 <div id="document_content" class="segment">
41
42 </div>
43 </script>
44
45 <!-- libraries -->
46 <script src="lib/jquery-1.6.1.min.js"></script>
47
48 <!-- Libraries -->
49 <script src="lib/underscore.js"></script>
50 <script src="lib/data.js"></script>
51
52 <script src="lib/backbone.js"></script>
53
54 <!-- Source -->
55 <script src="javascripts/helpers.js"></script>
56 <script src="javascripts/html_renderer.js"></script>
57 <script src="javascripts/application.js"></script>
58
59 </head>
60 <body>
61
62 <div id="container">
63 <div id="header">
64 <div class="title">Substance | Updates</div>
65 <div class="channel"></div>
66 </div>
67
68 <div id="wrapper">
69 <div id="browser">
70
71 </div>
72 <div id="document">
73 </div>
74 </div>
75 <br class="clear"/>
76
77 <div id="footer">
78 Powered by <a href="http://substance.io">Substance</a>
79 </div>
80 </div>
81 </body>
82 </html>
Something went wrong with that request. Please try again.