2012-07-01 12:50:25 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>Kék Rózsák{% block title %}{% endblock %}</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('css/kekrozsak_front.css') }}" />
|
2012-07-16 12:16:10 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="{{ asset('css/jquery.tooltip.css') }}" />
|
2012-07-16 15:05:23 +00:00
|
|
|
{% block additional_css %}{% endblock %}
|
2012-07-09 15:29:37 +00:00
|
|
|
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
|
2012-07-16 12:16:10 +00:00
|
|
|
<script type="text/javascript" src="{{ asset('js/jquery.bgiframe.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ asset('js/jquery.dimensions.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ asset('js/jquery.tooltip.min.js') }}"></script>
|
2012-07-16 15:05:23 +00:00
|
|
|
{% block additional_js %}{% endblock %}
|
2012-07-01 12:50:25 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2012-07-09 15:29:37 +00:00
|
|
|
<div id="top-line-wrapper">
|
|
|
|
<div id="top-line">
|
|
|
|
{% if app.user %}
|
|
|
|
<div id="profil-gomb">
|
|
|
|
<span id="profil-mutato">[avatar] {{ app.user.displayName }}</span>
|
|
|
|
<div id="profil-box">
|
|
|
|
<div id="profil-belso">
|
|
|
|
[avatar]
|
|
|
|
{{ app.user.displayName }}<br />
|
|
|
|
Jogosultság<br />
|
|
|
|
<dl>
|
|
|
|
<dt>Csoportjaim</dt>
|
2012-07-16 15:05:23 +00:00
|
|
|
{% for group in app.user.groups %}
|
|
|
|
{% if group.group.open or group.membershipAcceptedAt %}
|
|
|
|
<dl><a href="{{ path('KekRozsakFrontBundle_groupView', {groupSlug: group.group.slug}) }}">{{ group.group.name }}</a></dl>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2012-07-17 08:22:41 +00:00
|
|
|
<dl><a href="{{ path('KekRozsakFrontBundle_groupList') }}">További csoportok</a></dl>
|
2012-07-09 15:29:37 +00:00
|
|
|
|
|
|
|
<dt>Kedvenc Fórum-témáim</dt>
|
|
|
|
|
|
|
|
<dt>Üzenetek</dt>
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
<div id="profil-szerkesztes"><a href="{{ path('KekRozsakFrontBundle_profile_edit') }}">Profil szerkesztése</a></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-23 14:14:52 +00:00
|
|
|
{% else %}
|
|
|
|
<div id="login-gomb">
|
|
|
|
<span id="login-mutato">Bejelentkezés</span>
|
|
|
|
<div id="login-box">
|
|
|
|
<div id="login-belso">
|
|
|
|
<form method="post" action="{{ path('KekRozsakSecurityBundle_login_check') }}">
|
|
|
|
Felhasználónév: <input type="text" name="_username" /><br />
|
|
|
|
Jelszó: <input type="password" name="_password" /><br />
|
|
|
|
<button type="submit">Bejelentkezés</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-09 15:29:37 +00:00
|
|
|
{% endif %}
|
|
|
|
<div id="search-box">
|
|
|
|
<input type="text" />
|
|
|
|
<button type="submit">Keresés</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="top-line-padding"></div>
|
|
|
|
</div>
|
2012-07-01 12:50:25 +00:00
|
|
|
<div id="wrapper">
|
|
|
|
<div id="menu">
|
|
|
|
<ul>
|
2012-07-01 18:29:59 +00:00
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_homepage') }}">Főoldal - Aktuális</a></li>
|
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_article', { articleSlug: 'rolunk' }) }}">Rólunk</a></li>
|
2012-07-01 20:27:22 +00:00
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_forum_main') }}">Fórum</a></li>
|
2012-07-01 19:31:44 +00:00
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_article', { articleSlug: 'a-magiarol-roviden' }) }}">A Mágiáról röviden</a></li>
|
2012-07-01 18:29:59 +00:00
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_article', { articleSlug: 'rendek' }) }}">Rendek</a></li>
|
|
|
|
<li><a href="{{ path('KekRozsakFrontBundle_article', { articleSlug: 'a-regiek' }) }}">A régiek</a></li>
|
2012-07-07 09:13:13 +00:00
|
|
|
{% if app.user %}
|
|
|
|
<li><a href="{{ path('KekRozsakSecurityBundle_logout') }}">Kijelentkezés</a></li>
|
|
|
|
{% else %}
|
|
|
|
<li><a href="{{ path('KekRozsakSecurityBundle_registration') }}">Jelentkezés</a></li>
|
|
|
|
{% endif %}
|
2012-07-01 12:50:25 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div id="header">
|
2012-07-01 18:29:59 +00:00
|
|
|
<h1><a href="{{ path('KekRozsakFrontBundle_homepage') }}"><img src="{{ asset('images/kek_rozsak_felirat.jpg') }}" alt="Kék Rózsák" /></a></h1>
|
2012-07-01 12:50:25 +00:00
|
|
|
<h2><img src="{{ asset('images/okkultista_kor_felirat.jpg') }}" alt="A Kék Rózsa okkultista kör honlapja" /></h2>
|
|
|
|
</div>
|
|
|
|
<div id="content-wrapper">
|
|
|
|
<div id="content-outline">
|
|
|
|
<div id="content">
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div id="hirek">
|
|
|
|
<h3>Hírek</h3>
|
2012-07-03 16:05:09 +00:00
|
|
|
{% for news in recentNews %}
|
2012-07-01 12:50:25 +00:00
|
|
|
<div class="hir">
|
2012-07-03 16:05:09 +00:00
|
|
|
<p class="hir-cim">{{ news.title }}</p>
|
|
|
|
<p class="hir-szoveg">{{ news.text|raw }}</p>
|
|
|
|
<p class="hir-szerzo">{{ news.createdBy.displayName }}</p>
|
|
|
|
<p class="hir-datum">{{ news.createdAt|date('Y-m-d H:i') }}</p>
|
2012-07-01 12:50:25 +00:00
|
|
|
</div>
|
2012-07-03 16:05:09 +00:00
|
|
|
{% endfor %}
|
2012-07-01 12:50:25 +00:00
|
|
|
</div>
|
2012-07-09 15:29:37 +00:00
|
|
|
</div>{# div#content-wrapper #}
|
|
|
|
</div>{# div#wrapper #}
|
|
|
|
<div id="bottom-line-wrapper">
|
|
|
|
<div id="bottom-line-padding"></div>
|
|
|
|
<div id="bottom-line"{% if app.environment == 'dev' %} style="bottom: 40px;"{% endif %}>
|
2012-07-01 12:50:25 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2012-07-09 15:29:37 +00:00
|
|
|
<script type="text/javascript">
|
2012-07-23 14:14:52 +00:00
|
|
|
{% if app.user %}
|
2012-07-09 15:29:37 +00:00
|
|
|
$('#profil-mutato').click(function() {
|
|
|
|
if ($('#profil-box').is(':visible'))
|
|
|
|
{
|
|
|
|
$('#profil-box').hide();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$('#profil-box').show();
|
|
|
|
}
|
|
|
|
});
|
2012-07-23 14:14:52 +00:00
|
|
|
{% else %}
|
|
|
|
$('#login-mutato').click(function() {
|
|
|
|
if ($('#login-box').is(':visible'))
|
|
|
|
{
|
|
|
|
$('#login-box').hide();
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
$('#login-box').show();
|
|
|
|
}
|
|
|
|
});
|
|
|
|
{% endif %}
|
2012-07-09 15:29:37 +00:00
|
|
|
</script>
|
2012-07-16 12:16:10 +00:00
|
|
|
{% block bottomscripts %}{% endblock %}
|
2012-07-01 12:50:25 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|