-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
8,867 additions
and
26 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 |
---|---|---|
|
@@ -4,4 +4,4 @@ propel/Base | |
propel/Map | ||
propel/Config/config.php | ||
propel.yml | ||
|
||
.sass-cache |
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
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 |
---|---|---|
@@ -1,13 +1,26 @@ | ||
{% extends layoutAdmin %} | ||
|
||
{% block stylesheets %} | ||
<link href="{{ asset('css/admin.css') }}" rel="stylesheet"> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
{% if is_granted('IS_AUTHENTICATED_FULLY') %} | ||
{{ 'You are logged'|trans }} | ||
<br> | ||
<a href="{{ path('admin_logout') }}">{{ 'Logout'|trans }}</a> | ||
{% else %} | ||
{{ 'You are NOT logged'|trans }} | ||
<br> | ||
<a href="{{ path('login') }}">{{ 'Login'|trans }}</a> | ||
{% endif %} | ||
<div class="container"> | ||
<div class="starter-template"> | ||
<h1> | ||
{% if is_granted('IS_AUTHENTICATED_FULLY') %} | ||
{{ 'You are logged'|trans }} | ||
{% else %} | ||
{{ 'You are NOT logged'|trans }} | ||
{% endif %} | ||
</h1> | ||
|
||
<br> | ||
{% if is_granted('IS_AUTHENTICATED_FULLY') %} | ||
<a href="{{ path('admin_logout') }}" class="lead">{{ 'Logout'|trans }}</a> | ||
{% else %} | ||
<a href="{{ path('login') }}" class="lead">{{ 'Login'|trans }}</a> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{% endblock %} |
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 |
---|---|---|
@@ -1,13 +1,40 @@ | ||
{% extends layout %} | ||
|
||
{% block stylesheets %} | ||
<link href="{{ asset('css/main.css') }}" rel="stylesheet"> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
{{ hello }} {{ 'world'|trans }}! | ||
<br> | ||
<a href="{{ url('homepage') }}">Homepage</a> | ||
<br> | ||
<a href="{{ url('admin') }}">{{ 'Go to admin panel'|trans }}</a> | ||
<br> | ||
{% for month in monthArray %} | ||
<p>{{ month }}</p> | ||
{% endfor %} | ||
<div class="site-wrapper"> | ||
<div class="site-wrapper-inner"> | ||
<div class="cover-container"> | ||
|
||
<div class="masthead clearfix"> | ||
<div class="inner"> | ||
<h3 class="masthead-brand">{{ hello }} {{ 'world'|trans }}!</h3> | ||
<nav> | ||
<ul class="nav masthead-nav"> | ||
<li class="active"><a href="{{ url('homepage') }}">Homepage</a></li> | ||
<li><a href="{{ url('admin') }}">{{ 'Go to admin panel'|trans }}</a></li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
|
||
<div class="inner cover"> | ||
<h1 class="cover-heading">{{ hello }} {{ 'world'|trans }}!</h1> | ||
{% for month in monthArray %} | ||
<p class="lead">{{ month }}</p> | ||
{% endfor %} | ||
</div> | ||
|
||
<div class="mastfoot"> | ||
<div class="inner"> | ||
<p>Cover template for <a href="http://getbootstrap.com">Bootstrap</a>, by <a href="https://twitter.com/mdo">@mdo</a>.</p> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} |
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 |
---|---|---|
@@ -1,8 +1,22 @@ | ||
{% extends layoutAdmin %} | ||
|
||
{% block stylesheets %} | ||
<link href="{{ asset('css/login.css') }}" rel="stylesheet"> | ||
{% endblock %} | ||
|
||
{% block body %} | ||
{{ error }} | ||
<form action="{{ path('admin_login_check') }}" method="post"> | ||
{{ form_widget(form) }} | ||
</form> | ||
{% if error %} | ||
<div class="alert alert-danger text-center" role="alert">{{ error }}</div> | ||
{% endif %} | ||
|
||
<div class="container"> | ||
<form class="form-signin" action="{{ path('admin_login_check') }}" method="post"> | ||
<h2 class="form-signin-heading">{{ 'Please sign in'|trans }}</h2> | ||
<label for="_username" class="sr-only">Email address</label> | ||
{{ form_widget(form._username) }} | ||
<label for="_password" class="sr-only">Password</label> | ||
{{ form_widget(form._password) }} | ||
{{ form_widget(form.submit) }} | ||
</form> | ||
</div> | ||
{% endblock %} |
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
Empty file.
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 @@ | ||
body{padding-top:50px}.starter-template{padding:40px 15px;text-align:center} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
Binary file not shown.
Oops, something went wrong.