-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
92 lines (85 loc) · 2.63 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
86
87
88
89
90
91
92
---
layout: default
---
<!--DOCTOP-->
<script>
$.doctop({
url: 'https://docs.google.com/document/d/1yiePHuLkgI3L1bPpEXlrTNCQnhI9KwyOELKquCn52MI/pub',
archieml: true,
cache: false,
callback: function(d){
//console.log(d.copy.archie);
view = d.copy.archie;
//strips the carriage returns for HTML linebreaks
view.content = d.copy.archie.content.replace(/(\r\n|\n|\r)/gm, "<br />");
template = $('#template').html();
Mustache.parse(template); // optional, speeds up future uses
rendered = Mustache.render(template, view);
$('#home-copy').html(rendered);
}
});
</script>
<!--PAGE MARKUP-->
<div class="panels panel-loading container">
<p>Loading...</p>
</div>
<div class="panels panel-front" style="display:none;">
<section class="intro-content">
<article>
<div class="main">
<div id="home-copy"></div>
{% include form.html %}
</div>
<div class="sidebar">
{% include sidebar.html %}
</div>
</article>
</section>
<section>
<div class="row">
<h2 class="heading">Recent letters</h2>
<div id="recent-letters">
</div>
</div>
</section>
<div id="vancity-promo">
</div>
</div>
<div class="panels panel-letters" style="display:none;">
<div class="container">
<a class="button" href="/">Write your own card by December 14th & enter to win.</a>
<section class="business-cards">
<article class="cards">
<div id="letters-list">
</div>
</article>
</section>
</div>
</div>
<div class="panels panel-letter" style="display:none;">
<div class="container">
<section class="business-cards">
<article class="cards">
<div id="letter"></div>
</article>
</section>
</div>
</div>
<div class="panels panel-businesses" style="display:none;">
<section>
<article id="business-listing">
</article>
</section>
</div>
<div class="panels panel-business" style="display:none;">
<div class="container">
<section>
<article class="business">
<div id="business-detail"></div>
<div id="business-letters-list">
<div class='letters'></div>
</div>
</article>
</section>
</div>
</div>