Permalink
Browse files

page developers created

  • Loading branch information...
inmarelibero committed Dec 12, 2012
1 parent 7fce4a3 commit 39802f134e475d447d8ba623ed8ab3b95933b939
@@ -25,22 +25,13 @@ public function indexAction()
);
}
- /**
- * @Route("/contribute", name="contribute")
- * @Template()
- */
- public function contributeAction()
- {
- return array();
- }
-
/**
* @Route("/changelog", name="changelog")
* @Template()
*/
public function changelogAction()
{
- $finder = new Finder();
+ $finder = new Finder();
$finder->files()
->in($this->container->getParameter('kernel.root_dir').'/../')
->depth('== 0')
@@ -55,4 +46,22 @@ public function changelogAction()
'changelog_content' => $changelog_content
);
}
+
+ /**
+ * @Route("/contribute", name="contribute")
+ * @Template()
+ */
+ public function contributeAction()
+ {
+ return array();
+ }
+
+ /**
+ * @Route("/developers", name="developers")
+ * @Template()
+ */
+ public function developersAction()
+ {
+ return array();
+ }
}
@@ -59,3 +59,23 @@ body.route-contribute {
}
}
}
+
+/**
+ page "developers"
+
+ route: developers
+*/
+body.route-developers {
+ div.main-developers { overflow: hidden;
+ div.name { font-weight: bold; font-size: 20px; margin-bottom: 10px; }
+ a.btn { margin-bottom: 5px; }
+ ul{ padding-left: 20px; margin-left: 10px;
+ li { list-style-type: disc; }
+ }
+ }
+ div#github-contrbutors {
+ .row { margin-bottom: 20px; }
+ a.btn { margin-bottom: 5px; }
+ }
+}
+
@@ -11,6 +11,7 @@ main_navbar:
github_repository: github repository
register: register
sign_in: sign in
+ developers: developers
# entries related to a Brick
brick:
@@ -11,6 +11,7 @@ main_navbar:
github_repository: repositorio github
register: registrarse
sign_in: entrar
+ developers: desarrolladores
# entries regarding stuff related to a Brick
brick:
@@ -11,6 +11,7 @@ main_navbar:
github_repository: repository github
register: registrati
sign_in: entra
+ developers: sviluppatori
# entries regarding stuff related to a Brick
brick:
@@ -0,0 +1,177 @@
+{% extends 'BricksSiteBundle::layout.html.twig' %}
+
+{# SEO blocks #}
+{% block meta_title_content %}Developers | SymfonyBricks.com{% endblock %}
+{% block meta_description_content %}SymfonyBricks is made by people: discover who they are.{% endblock %}
+
+{% block main %}
+
+ <div class="row">
+ <div class="span12">
+ <h1>
+ {% if 'it' == app.request.locale %}
+ Sviluppatori
+ {% elseif 'es' == app.request.locale %}
+ Desarrolladores
+ {% else %}
+ Developers
+ {% endif %}
+ </h1>
+ <p>
+ {% if 'it' == app.request.locale %}
+ Questa pagina illustra chi gestisce e sviluppa SymfonyBricks.
+ {% elseif 'es' == app.request.locale %}
+ Esta página muestra quién gestiona y desarrolla SymfonyBricks.
+ {% else %}
+ This page illustrate who manages and develops SymfonyBricks.
+ {% endif %}
+ </p>
+ </div>
+ </div>
+
+ <br><br>
+
+ <div class="row">
+ <div class="span12">
+ <h3>
+ {% if 'it' == app.request.locale %}
+ Sviluppatori principali
+ {% elseif 'es' == app.request.locale %}
+ Desarrolladores principales
+ {% else %}
+ Main developers
+ {% endif %}
+ </h3>
+ </div>
+ </div>
+
+ <div class="row main-developers">
+ <div class="span12">
+ <div class="name">
+ Emanuele Gaspari Castelletti
+ </div>
+ <div class="row">
+ <div class="span1">
+ <img src="http://www.gravatar.com/avatar/d02f7988d633a63ec4f1f1f936e46178">
+ </div>
+ <div class="span3">
+ <a href="https://github.com/inmarelibero/SymfonyBricks" target="_new" class="btn btn-mini">
+ <i class="icon-github"></i> github
+ </a>
+ <br>
+ <a class="socialite twitter-follow"
+ href="https://twitter.com/inmarelibero"
+ data-show-count="false"
+ >
+ @inmarelibero
+ </a>
+ </div>
+ <div class="span8">
+ <i>
+ {% if 'it' == app.request.locale %}
+ "Sono uno sviluppatore Php/Symfony italiano e fan dell'open-source."
+ {% elseif 'es' == app.request.locale %}
+ "Soy un desarrollador Php/Symfony italiano y open-source fan."
+ {% else %}
+ "I'm an italian Php/Symfony developer and open-source fan."
+ {% endif %}
+ </i>
+ <br><br>
+ <b>
+ {% if 'it' == app.request.locale %}
+ Ruolo in SymfonyBricks:
+ {% elseif 'es' == app.request.locale %}
+ Rol en SymfonyBricks:
+ {% else %}
+ Role in SymfonyBricks:
+ {% endif %}
+ </b>
+ <ul>
+ <li>
+ {% if 'it' == app.request.locale %}
+ Ideatore e sviluppatore principale
+ {% elseif 'es' == app.request.locale %}
+ Ideator y desarrollador principal
+ {% else %}
+ Ideator and main developer
+ {% endif %}
+ </li>
+ <li>
+ {% if 'it' == app.request.locale %}
+ Compratore e manutentore dell'hosting
+ {% elseif 'es' == app.request.locale %}
+ Comprador y mantenedor del hosting
+ {% else %}
+ Hosting buyer and mantainer
+ {% endif %}
+ </li>
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <br><br>
+
+ <div class="row">
+ <div class="span12">
+ <h3>
+ {% if 'it' == app.request.locale %}
+ Contributori Github
+ {% elseif 'es' == app.request.locale %}
+ Colaboradores Github
+ {% else %}
+ Github contributors
+ {% endif %}
+ </h3>
+ </div>
+ </div>
+
+ {%
+ set contributors = [
+ {
+ 'username': 'yohang',
+ 'gravatar_url': 'http://www.gravatar.com/avatar/36e04f5e8d7167c94c8ed78baff0cd4c?s',
+ 'github_url': 'https://github.com/yohang',
+ 'twitter_url': 'https://twitter.com/rouKs'
+ },
+ {
+ 'username': 'pborreli',
+ 'gravatar_url': 'http://www.gravatar.com/avatar/5c299a02c11ce797f20df385f560a16a?s',
+ 'github_url': 'https://github.com/pborreli',
+ 'twitter_url': 'https://twitter.com/pborreli'
+ }
+ ]
+ %}
+
+ <div id="github-contrbutors">
+ {% for contributor in contributors %}
+ {{ _self.githubContributor(contributor) }}
+ {% endfor %}
+ </div>
+
+{% endblock %}
+
+{# macro to print github contributors #}
+{% macro githubContributor(user) %}
+ <div class="row">
+ <div class="span1">
+ <img src="{{ user.gravatar_url }}">
+ </div>
+ <div class="span3">
+ <b>{{ user.username }}</b>
+ </div>
+ <div class="span8">
+ <a href="{{ user.github_url }}" target="_new" class="btn btn-mini">
+ <i class="icon-github"></i> github
+ </a>
+ <br>
+ <a class="socialite twitter-follow"
+ href="{{ user.twitter_url }}"
+ data-show-count="false"
+ >
+ twitter
+ </a>
+ </div>
+ </div>
+{% endmacro %}
@@ -98,6 +98,9 @@
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
+ <li>
+ <a href="{{ path('developers') }}"><i class="icon-cog"></i> {{ 'main_navbar.developers'|trans|capitalize }}</a>
+ </li>
<li>
<a href="{{ path('contribute') }}"><i class="icon-random"></i> {{ 'main_navbar.contribute'|trans|capitalize }}</a>
</li>

0 comments on commit 39802f1

Please sign in to comment.