Commit 5414769f1f7376fcd7c31162964bf00f975c6cab
1 parent
ce60d77d
Exists in
master
and in
10 other branches
display contrast
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
index.html
@@ -16,6 +16,7 @@ | @@ -16,6 +16,7 @@ | ||
16 | <script id='proposal-template' type='text/x-handlebars-template'> | 16 | <script id='proposal-template' type='text/x-handlebars-template'> |
17 | <header> | 17 | <header> |
18 | <h1>{{article.title}}</h1> | 18 | <h1>{{article.title}}</h1> |
19 | + <a id='display-contrast' href='#'>Alto Contraste</a> | ||
19 | </header> | 20 | </header> |
20 | 21 | ||
21 | <div id="content"> | 22 | <div id="content"> |
js/main.js
@@ -93,6 +93,9 @@ $.getJSON(noosferoAPI) | @@ -93,6 +93,9 @@ $.getJSON(noosferoAPI) | ||
93 | loginCallback(logged_in); | 93 | loginCallback(logged_in); |
94 | event.preventDefault(); | 94 | event.preventDefault(); |
95 | }); | 95 | }); |
96 | + $( '#display-contrast' ).click(function(event){ | ||
97 | + $('#proposal-result').toggleClass('contrast'); | ||
98 | + }); | ||
96 | $( '.show_body a' ).click(function(event){ | 99 | $( '.show_body a' ).click(function(event){ |
97 | display_proposal_detail(); | 100 | display_proposal_detail(); |
98 | }); | 101 | }); |