Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from dvinciguerra/master
Pagina de Projetos
- Loading branch information
Showing
5 changed files
with
93 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ "projetos":[ | ||
{ | ||
"name":"Equinócio", | ||
"description":"Evento virtual realizado em todos os meses do equinócio, com o objetivo de gerar conteúdo na lingua portuguesa sobre a linguagem Perl. Em 2 anos foram produzidos quase 100 artigos, e para que ele se desenvolva e tenha uma maior publicidade, é interessante que a plataforma onde é disponibilizada os artigos, seja cada vez melhor.", | ||
"maintainer":"Colaboradores Sao Paulo Perl Mongers", | ||
"url":"http://sao-paulo.pm.org" | ||
},{ | ||
"name":"Site da São Paulo Perl Mongers", | ||
"description":"É o nosso site e é necessária uma atualização constante, e também de manutenção dele.", | ||
"maintainer":"Daniel Mantovani", | ||
"url":"http://github.com/mantovani/SPPM-Web" | ||
},{ | ||
"name":"Para onde foi o meu dinheiro ?", | ||
"description":"Site com o objetivo de visualizar as informações sobre orçamento público, que são disponibilizadas pelo próprio governo em infografia.", | ||
"maintainer":"Thiago Rondon", | ||
"url":"http://github.com/maluco/CMD" | ||
},{ | ||
"name":"Perl, Perguntas e Respostas ?", | ||
"description":"Documento que tem como objetivo oferecer perguntas e respostas frequentes para programadores e curiosos na linguagem Perl.", | ||
"maintainer":"Thiago Rondon", | ||
"url":"http://github.com/maluco" | ||
} | ||
]} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[% META title=" Projetos " %] | ||
|
||
|
||
<div id="container_top"> | ||
<div id="container_bottom"> | ||
<div class="top"> | ||
<h2>Projetos</h2> | ||
<div class="whois"> | ||
<p> | ||
Segue abaixo a relação de projetos escritos em perl e mantidos/apoiados pela comunidade São Paulo Perl Mongers. | ||
</p> | ||
<table width="100%" align="center" cellspacing="0" style=""> | ||
<tr> | ||
<td width="30%" valign="top"> | ||
<p><input type="text" name="search" value="Buscar por..." style="border:solid 1px #666;background-color:#eaeaea;"/></p> | ||
<p><strong>Lista de Projetos</strong></p> | ||
<ul id="project-list"></ul> | ||
</td> | ||
<td width="70%" valign="top"> | ||
<div id="projects"> | ||
</div> | ||
<td> | ||
</tr> | ||
</table> | ||
<p style="border:dashed 1px #900;padding:15px;background-color:#eaeaea;"> | ||
Você participa ou criou algum projeto bacana em Perl? | ||
Acha que seria legal compartilhar com a comunidade? | ||
Entre em <a href="/contato">contato</a> conosco e mande-nos mais informações sobre seu projeto! | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script type="text/javascript"> | ||
$(function(){ | ||
$.ajax({ | ||
method:'GET', | ||
url:'/static/files/projeto/list.json', | ||
contentType:'application/json', | ||
success: function(json) { | ||
$.each(json.projetos, function(index){ | ||
$('#project-list').append('<li><a class="project-item" href="#">' + this.name + '</a></li>'); | ||
$('#projects').append('<div style="font-size:12px;border:solid 1px #ccc;padding:10px;background-color:#eaeaea;"><h4><strong>'+this.name+'</strong></h4><p>'+this.description+'</p>Mantido por: '+this.maintainer+'<br>Endereço: <a href="'+this.url+'">'+this.url+'</a></div><br>'); | ||
}); | ||
} | ||
}); | ||
|
||
/** | ||
* Getting project informations action | ||
*/ | ||
$('.project-item').click(function(){ | ||
alert('teste'); | ||
}); | ||
|
||
}); | ||
</script> | ||
|
||
<style type="text/css"> | ||
|
||
#projects ul { color:#333333;list-style:none; } | ||
ul { color:#333;} | ||
|
||
</style> |