Controllers

Authentication was moved from the member controller the new AuthController.
User entity created strictly for session management

Symfony config
Service and parameter configuration has been switched to YAML and consolidated into app/config/config.yml
Removed Twig extension from the service container (services.xml)

Presentation
LABJS test added
Some sample js added to test inline js vs callbacks vs Twig/Angular/etc

Tests
New units tests for Landing, Profile, Auth and Member controllers
This commit is contained in:
root
2012-09-24 10:53:36 +10:00
parent 9e4a5f2cb0
commit 0cd92dfa9f
33 changed files with 1460 additions and 119 deletions

View File

@@ -20,6 +20,6 @@
<div>&nbsp;</div>
{{ form_rest(form) }}
<input type="submit" class="btn btn-primary btn-mini" value="Save" />
<input type="submit" class="btn btn-primary btn-small" value="Save" />
</form>
{% endblock %}

View File

@@ -3,10 +3,11 @@
{% block title "Hello " ~ name %}
{% block content %}
{% include 'BodyRep:Member:navbar.html.twig' %}
{% include 'BodyRep:Auth:navbar.html.twig' %}
<div class='row-fluid'>
<h1>Member landing page</h1>
{{name}}
<h3>{{name}}</h3>
</div>
{% endblock %}

View File

@@ -5,7 +5,7 @@
{% block content_header '' %}
{% block content %}
{% include 'BodyRep:Member:navbar.html.twig' %}
{% include 'BodyRep:Auth:navbar.html.twig' %}
<div class="row-fluid">
<div class="span2">