-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
89 lines (88 loc) · 3.77 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>
<title>Trello Printer: Format and print cards from Trello</title>
<link rel="stylesheet" type="text/css" href="cards.css"/>
<link rel="stylesheet" type="text/css" href="site.css" />
<link href='http://fonts.googleapis.com/css?family=Roboto+Condensed:400,700' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="header">
<img src="logo.png"/>
<p>Trello Printer</p>
<div>Print double-sided cards from Trello</div>
</div>
<div id="stage"></div>
<div class="site-footer">
<a href="https://twitter.com/share" class="twitter-share-button" data-via="kouphax" data-hashtags="trello">Tweet</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
</div>
<script src="jquery-1.7.1.min.js"></script>
<script src="https://api.trello.com/1/client.js?key=b40154d674db60e94c62a035d0d94684"></script>
<script src="underscore-min.js"></script>
<script type="text/x-template" id="project-list-template">
<div id='project-list'>
<label>Print Cover Images (where available) [EXPERIMENTAL]: <input type="checkbox" id="printCovers"/></label>
<% _.each(boards, function(board) { %>
<div class='project'>
<button data-board-id='<%=board.id%>' data-board-name='<%=board.name%>'>Print Cards</button>
<div class='board'> <%=board.name%></div>
</div>
<% }); %>
</div>
</script>
<script type="text/x-template" id="card-front-template">
<div class="card" id="front-<%= cardno %>">
<div class="front side" <% if(hasCover) { %> style="background-image: url(<%= coverImageUrl %>); background-position:center; background-repeat: no-repeat;" <% } %>>
<div class="header">
<span class="labels">
<% _.each(labels, function(label) { %>
<span class="label"><%= label %></span>
<% }); %>
<span>
</div>
<div class="middle">
<div class="story-title"><% if(!hasCover) { %> <%= name %> <% } %></div>
</div>
<div class="footer">
<span class="points points<%= points %>"><span><%= points || "" %></span></span>
</div>
</div>
</div>
</script>
<script type="text/x-template" id="card-back-template">
<div class="card" id="back-<%= cardno %>">
<div class="back side">
<div class="header">
<span class="project"><%= project_name %></span>
</div>
<div class="middle">
<div class="story-title"><%= name %></div>
<div class="description"><%= description %></div>
<table class="tasks">
<% _.each(tasks, function(task) { %>
<tr>
<td class="check <%= task.complete ? 'complete' : 'incomplete' %>"><%= task.complete ? "☑" : "☐" %></td>
<td class="task"><%= task.description %></td>
</tr>
<% }); %>
</table>
</div>
<div class="footer">
</div>
</div>
</div>
</script>
<script src="app.js" type="text/javascript"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-19143623-5', 'yobriefca.se');
ga('send', 'pageview');
</script>
</body>
</html>