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
54aaecb6
Commit
54aaecb6
authored
Apr 23, 2013
by
Addy Osmani
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #541 from passy/gittip
Add Gittip button to the top
parents
0578cc16
84b8b6d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
2 deletions
+28
-2
index.html
index.html
+4
-0
site/css/main.css
site/css/main.css
+15
-2
site/js/main.js
site/js/main.js
+9
-0
No files found.
index.html
View file @
54aaecb6
...
...
@@ -27,6 +27,10 @@
<nav>
<a
href=
"https://github.com/addyosmani/todomvc/zipball/1.1.0"
class=
"zocial red"
>
Download (1.1)
</a>
<a
href=
"https://github.com/addyosmani/todomvc"
class=
"zocial red"
>
View project on GitHub
</a>
<a
href=
"https://www.gittip.com/tastejs/"
class=
"zocial ltgray"
>
We receive
<strong>
$
<var
class=
"gittip-amount"
>
0.00
</var>
/ wk
</strong>
on
<strong>
Gittip
</strong>
</a>
</nav>
</div>
<div
class=
"span4"
>
...
...
site/css/main.css
View file @
54aaecb6
...
...
@@ -36,7 +36,7 @@ h2 {
a
{
color
:
#B83F45
;
font-weight
:
bold
;
font-weight
:
bold
;
}
a
:hover
{
...
...
@@ -54,6 +54,10 @@ hr {
border-bottom
:
1px
dashed
#F7F7F7
;
}
var
{
font-style
:
normal
;
}
header
p
{
font-size
:
30px
;
line-height
:
1.2
;
...
...
@@ -64,7 +68,7 @@ header nav {
margin-top
:
20px
;
}
header
nav
a
:
first-child
{
header
nav
a
:
not
(
:last-child
)
{
margin-right
:
5px
;
margin-bottom
:
5px
;
}
...
...
@@ -306,6 +310,15 @@ p .label {
background-color
:
rgba
(
0
,
0
,
0
,
.5
);
}
.zocial.ltgray
{
color
:
inherit
;
text-shadow
:
none
;
}
.zocial.ltgray
strong
{
color
:
#B83F45
;
}
.zocial.small
{
font-size
:
12px
;
padding
:
2px
10px
;
...
...
site/js/main.js
View file @
54aaecb6
...
...
@@ -2,6 +2,13 @@
(
function
()
{
'
use strict
'
;
$
.
fn
.
gittip
=
function
(
username
)
{
var
$this
=
$
(
this
);
$
.
getJSON
(
'
https://www.gittip.com/
'
+
username
+
'
/public.json
'
,
function
(
response
)
{
$this
.
text
(
response
.
receiving
);
});
};
$
.
fn
.
persistantPopover
=
function
()
{
var
popoverTimeout
;
...
...
@@ -144,6 +151,8 @@
// Apps popover
$
(
'
.applist a
'
).
persistantPopover
();
$
(
'
.gittip-amount
'
).
gittip
(
'
tastejs
'
);
// Quotes
$
(
'
.quotes
'
).
quote
([{
quote
:
'
TodoMVC is a godsend for helping developers find what well-developed frameworks match their mental model of application architecture.
'
,
...
...
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