Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
8ae33c52
Commit
8ae33c52
authored
Apr 12, 2012
by
Sindre Sorhus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delicious new template
parent
fd140ecd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
331 additions
and
136 deletions
+331
-136
assets/base.css
assets/base.css
+295
-114
assets/bg.png
assets/bg.png
+0
-0
template/index.html
template/index.html
+36
-22
No files found.
assets/base.css
View file @
8ae33c52
This diff is collapsed.
Click to expand it.
assets/bg.png
0 → 100644
View file @
8ae33c52
2.08 KB
template/index.html
View file @
8ae33c52
...
...
@@ -2,51 +2,65 @@
<html
lang=
"en"
>
<head>
<meta
charset=
"utf-8"
>
<title>
Template
-
TodoMVC
</title>
<title>
Template
•
TodoMVC
</title>
<link
rel=
"stylesheet"
href=
"../assets/base.css"
>
<!-- CSS overrides - remove if you don't need it -->
<link
rel=
"stylesheet"
href=
"css/app.css"
>
</head>
<body>
<
div
id=
"todoapp"
>
<header>
<h1>
T
odos
</h1>
<input
id=
"new-todo"
type=
"text"
placeholder=
"What needs to be done?"
>
<
section
id=
"todoapp"
>
<header
id=
"header"
>
<h1>
t
odos
</h1>
<input
id=
"new-todo"
placeholder=
"What needs to be done?"
autofocus
>
</header>
<!-- this section
is hidden by default and you be shown when there are todos and hidden when not
-->
<!-- this section
should hidden by default and shown when there are todos
-->
<section
id=
"main"
>
<input
id=
"toggle-all"
type=
"checkbox"
>
<label
for=
"toggle-all"
>
Mark all as complete
</label>
<ul
id=
"todo-list"
>
<li
class=
"
don
e"
>
<li
class=
"
complet
e"
>
<div
class=
"view"
>
<input
class=
"toggle"
type=
"checkbox"
checked
>
<label>
Create a TodoMVC template
</label>
<
a
class=
"destroy"
></a
>
<
button
class=
"destroy"
></button
>
</div>
<input
class=
"edit"
type=
"text"
value=
"Create a TodoMVC template"
>
<input
class=
"edit"
value=
"Create a TodoMVC template"
>
</li>
<li>
<div
class=
"view"
>
<input
class=
"toggle"
type=
"checkbox"
>
<label>
Rule the web
</label>
<
a
class=
"destroy"
></a
>
<
button
class=
"destroy"
></button
>
</div>
<input
class=
"edit"
type=
"text"
value=
"Rule the web"
>
<input
class=
"edit"
value=
"Rule the web"
>
</li>
</ul>
</section>
<!-- this footer needs to be shown with JS when there are todos and hidden when not -->
<footer>
<a
id=
"clear-completed"
>
Clear completed
</a>
<div
id=
"todo-count"
></div>
<!-- this footer should hidden by default and shown when there are todos -->
<footer
id=
"footer"
>
<span
id=
"todo-count"
><strong>
1
</strong>
item left
</span>
<!-- remove this if you don't implement routing -->
<ul
id=
"filters"
>
<li>
<a
class=
"selected"
href=
"#/"
>
All
</a>
</li>
<li>
<a
href=
"#/active"
>
Active
</a>
</li>
<li>
<a
href=
"#/completed"
>
Completed
</a>
</li>
</ul>
<button
id=
"clear-completed"
>
Clear completed (1)
</button>
</footer>
</div>
<div
id=
"instructions"
>
Double-click to edit a todo.
</div>
<div
id=
"credits"
>
Created by
<a
href=
"http://addyosmani.github.com/todomvc/"
>
you
</a>
.
</div>
</section>
<footer
id=
"info"
>
<p>
Double-click to edit a todo
</p>
<!-- delete this ↓ -->
<p>
Template by
<a
href=
"http://sindresorhus.com"
>
Sindre Sorhus
</a></p>
<!-- change this out with your name and url ↓ -->
<p>
Created by
<a
href=
"http://addyosmani.github.com/todomvc/"
>
you
</a></p>
</footer>
<!-- scripts here -->
<script
src=
"js/app.js"
></script>
</body>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment