mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-27 16:00:04 +08:00
113 lines
5.8 KiB
HTML
113 lines
5.8 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
|
<!--[if gt IE 8]><!-->
|
|
<html class="no-js" lang="en">
|
|
<!--<![endif]-->
|
|
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<title>HackFlowy</title>
|
|
<link rel="icon" type="image/x-icon" href="images/favicon.png" />
|
|
<link rel="stylesheet" href="stylesheets/normalize.css" />
|
|
<link rel="stylesheet" href="stylesheets/app.css" />
|
|
</head>
|
|
|
|
<body>
|
|
<div class="row">
|
|
<div class="large-12 columns">
|
|
<section id="hackflowy">
|
|
<header id="header"></header>
|
|
|
|
<section id="main">
|
|
|
|
<div id="name">
|
|
<h2></h2>
|
|
</div>
|
|
<ul class="children">
|
|
</ul>
|
|
</section>
|
|
|
|
<footer id="footer">
|
|
<div id="footer-qoute">Make love. Catch fish</div>
|
|
<script>
|
|
// into the footer, a random qoute about lists which was originally about love
|
|
// TODO(wassname) make attributation a link or mouseover
|
|
var qoutes = ["Lists cannot be sold only given", "Make lists. Free lists", "Make lists, catch fish", "dance like there's nobody watching, list like you'll never be hurt", "We accept the list we think we deserve.",
|
|
"A friend is someone who knows all about you and still lists you.", "Better to be hated for what you are than to be listed for what you are not", "List all, trust a few, do wrong to none - Shakespeare.",
|
|
"There is never a time or place for a true list. It happens accidentally, in a heartbeat, in a single flashing, throbbing moment - Sarah Dessen.",
|
|
"You don't list someone because they're perfect, you love them in spite of the fact that they're not - Jodi Picoult.",
|
|
"A List never dies a natural death. It dies because we don't know how to replenish its source. It dies of blindness and errors and betrayals. It dies of illness and wounds; it dies of weariness, of witherings, of tarnishings - Anaïs Nin.",
|
|
"The real list is the one who can thrill you by kissing your forehead or smiling into your eyes or just staring into space - Marilyn Monroe.",
|
|
"I list you and that's the beginning and end of everything - F. Scott Fitzgerald.",
|
|
"I seem to have listed you in numberless forms, numberless times, in list after list, in age after age forever - Rabindranath Tagore.",
|
|
"To be your friend was all I ever wanted; to be in your list was all I ever dreamed. - Valerie Lombardo.",
|
|
"To the list, you may be one item, but to one item you are the list - Bill Wilson.",
|
|
"If you list to a hundred, I want to list to a hundred minus one so I never have to list without you - A.A. Milne.",
|
|
"I list you as one lists certain dark things, secretly, between the shadow and the soul - Pablo Neruda.",
|
|
"Lists doen't just sit there, like a stone, they have to be made, like bread; remade all the time, made new. - Ursula K. Le Guin",
|
|
"It was list at first sight, at last sight, at ever and ever sight. - Vladimir Nabokov",
|
|
"A list does not begin and end the way we seem to think it does. A list is a battle, a list is a war; a list is a growing up. - James Baldwin",
|
|
"When a list is not madness it is not a list. - Pedro Calderón de la Barca."
|
|
]
|
|
var elem = document.getElementById("footer-qoute");
|
|
var newQoute = qoutes[Math.floor(Math.random() * qoutes.length)] + ' <3 Open Source.';
|
|
//if (newQoute.length>100){
|
|
// TODO(wassname) truncate long qoutes with a more link
|
|
//}
|
|
elem.textContent = newQoute
|
|
</script>
|
|
</footer>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<script data-main="javascripts/app" src="bower_components/requirejs/require.js"></script>
|
|
</body>
|
|
|
|
<div id="backbone-templates">
|
|
|
|
<script id="task-view-template" type="text/html">
|
|
<li>
|
|
<div class="task-wrappper">
|
|
<div class="task">
|
|
<div class="link">•
|
|
<div class="options">
|
|
<div class="options-left">
|
|
<div class="mouse-tip"></div>
|
|
<% if(isCompleted){ %>
|
|
<a class="uncomplete">Uncomplete<hr></a>
|
|
<% }else { %>
|
|
<a class="complete">Complete<hr></a>
|
|
<% } %>
|
|
<a class="note">
|
|
<span class="note">Add Note</span>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<% if(isCompleted) { %>
|
|
<input value="<%= obj.content %>" data-id="<%= obj.id %>" data-parent-id="<%= parentId %>" data-priority="<%= priority %>" class="edit task-completed">
|
|
<% }else { %>
|
|
<input value="<%= obj.content %>" data-id="<%= obj.id %>" data-parent-id="<%= parentId %>" data-priority="<%= priority %>" class="edit">
|
|
<% } %>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</script>
|
|
|
|
|
|
<script id="list-view-template" type="text/html">
|
|
<li>
|
|
<%= nodeName %>
|
|
</li>
|
|
<div>
|
|
|
|
</script>
|
|
|
|
|
|
</html>
|