update structure html tpl session catalog BT#9887 #TMI

1.10.x
aragonc 10 years ago
parent 3e3e40d236
commit 4d1d21bc20
  1. 6
      index.php
  2. 66
      main/template/default/auth/session_catalog.tpl

@ -14,7 +14,7 @@ $cidReset = true;
require_once 'main/inc/global.inc.php';
require_once 'main/chat/chat_functions.lib.php';
require_once 'main/auth/external_login/facebook.inc.php';
//require_once 'main/auth/external_login/facebook.inc.php';
// The section (for the tabs).
$this_section = SECTION_CAMPUS;
@ -25,10 +25,10 @@ if (!api_is_anonymous()) {
}
// Facebook connexion, if activated
if (api_is_facebook_auth_activated() && !api_get_user_id()) {
/*if (api_is_facebook_auth_activated() && !api_get_user_id()) {
facebookConnect();
}
*/
$controller = new IndexManager($header_title);
//Actions

@ -53,7 +53,7 @@
});
</script>
<div class="col-md-3">
<div class="col-md-12">
{% if show_courses %}
<div class="panel panel-default">
<div class="panel-heading">{{ "Courses"|get_lang }}</div>
@ -99,45 +99,43 @@
{% endif %}
{% if show_sessions %}
<div class="sidebar-nav">
<div class="panel panel-default">
<div class="panel-heading">
{{ 'Sessions'|get_lang }}
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-12">
<form class="form-search" method="post" action="{{ _p.web_self }}?action=display_sessions">
<fieldset>
<legend>{{ "ByDate"|get_lang }}</legend>
<div class="input-group">
<input type="date" name="date" id="date" class="form-control" value="{{ search_date }}" readonly>
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
</span>
</div>
</fieldset>
</form>
<br>
<form class="form-search" method="post" action="{{ _p.web_self }}?action=search_tag">
<fieldset>
<legend>{{ "ByTag"|get_lang }}</legend>
<div class="input-group">
<input type="text" name="search_tag" class="form-control" value="{{ search_tag }}" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
</span>
</div>
</fieldset>
</form>
<div class="section-tile">{{ 'Sessions'|get_lang }}</div>
<div class="row">
<div class="col-md-4">
<form class="form-horizontal" method="post" action="{{ _p.web_self }}?action=display_sessions">
<div class="form-group">
<label class="col-sm-3">{{ "ByDate"|get_lang }}</label>
<div class="col-sm-9">
<div class="input-group">
<input type="date" name="date" id="date" class="form-control" value="{{ search_date }}" readonly>
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
</span>
</div>
</div>
</div>
</div>
</form>
</div>
<div class="col-md-4">
<form class="form-horizontal" method="post" action="{{ _p.web_self }}?action=search_tag">
<div class="form-group">
<label class="col-sm-4">{{ "ByTag"|get_lang }}</label>
<div class="col-sm-8">
<div class="input-group">
<input type="text" name="search_tag" class="form-control" value="{{ search_tag }}" />
<span class="input-group-btn">
<button class="btn btn-default" type="submit"><i class="fa fa-search"></i> {{ 'Search'|get_lang }}</button>
</span>
</div>
</div>
</div>
</form>
</div>
</div>
{% endif %}
</div>
<div class="col-md-9">
<div class="col-md-12">
{% for session in sessions %}
<div class="panel panel-default" id="panel-{{ session.id }}">
<div class="panel-heading">

Loading…
Cancel
Save