Minor - format code

skala
Julio Montoya 11 years ago
parent 0b3991f2bc
commit 7097086a3e
  1. 67
      main/template/default/layout/footer.tpl

@ -1,58 +1,58 @@
<footer{% block footer_open_attributes %}{% endblock footer_open_attributes %}> <!-- start of #footer section -->
<div class="container">
<div class="row">
<div id="footer_left" class="span4">
<div class="row">
<div id="footer_left" class="span4">
{% if session_teachers is not null %}
<div id="session_teachers">
{{ session_teachers }}
{{ session_teachers }}
</div>
{% endif %}
{% if teachers is not null %}
<div id="teachers">
{{ teachers }}
{{ teachers }}
</div>
{% endif %}
{# Plugins for footer section #}
{# Plugins for footer section #}
{% if plugin_footer_left is not null %}
<div id="plugin_footer_left">
{{ plugin_footer_left }}
</div>
{{ plugin_footer_left }}
</div>
{% endif %}
&nbsp;
</div>
<div id="footer_center" class="span4">
{# Plugins for footer section #}
{# Plugins for footer section #}
{% if plugin_footer_center is not null %}
<div id="plugin_footer_center">
{{ plugin_footer_center }}
{{ plugin_footer_center }}
</div>
{% endif %}
&nbsp;
</div>
<div id="footer_right" class="span4">
<div id="footer_right" class="span4">
{% if administrator_name is not null %}
<div id="admin_name">
{{ administrator_name }}
{{ administrator_name }}
</div>
{% endif %}
<div id="software_name">
<div id="software_name">
{{ "Platform"|get_lang }} <a href="{{_p.web}}" target="_blank">{{_s.software_name}} {{_s.system_version}}</a>
&copy; {{ "now"|date("Y") }}
&copy; {{ "now"|date("Y") }}
</div>
{# Plugins for footer section #}
{% if plugin_footer_right is not null %}
{# Plugins for footer section #}
{% if plugin_footer_right is not null %}
<div id="plugin_footer_right">
{{ plugin_footer_right }}
</div>
{{ plugin_footer_right }}
</div>
{% endif %}
&nbsp;
</div><!-- end of #footer_right -->
</div><!-- end of #row -->
</div><!-- end of #row -->
</div><!-- end of #container -->
</footer>
@ -143,8 +143,11 @@ $("form").on("click", '.advanced_parameters', function() {
/** Makes row highlighting possible */
$(document).ready( function() {
// Chosen select.
$(".chzn-select").chosen({disable_search_threshold: 10});
$(".chzn-select").chosen({
disable_search_threshold: 10
});
// Adv multiselect text inputs.
$('.select_class_filter').each(function(){
@ -156,32 +159,32 @@ $(document).ready( function() {
$("#"+ inputId+"-f").filterByText($("#f-"+inputId+"-filter"));
$("#"+ inputId+"-t").filterByText($("#t-"+inputId+"-filter"));
});
//Table highlight
// Table highlight.
$("form .data_table input:checkbox").click(function() {
if ($(this).is(":checked")) {
$(this).parentsUntil("tr").parent().addClass("row_selected");
} else {
$(this).parentsUntil("tr").parent().removeClass("row_selected");
}
}
});
/* For non HTML5 browsers */
if ($("#formLogin".length > 1)) {
$("input[name=login]").focus();
}
/* For IOS users */
$('.autocapitalize_off').attr('autocapitalize', 'off');
//Tool tip (in exercises)
var tip_options = {
placement : 'right'
}
$('.boot-tooltip').tooltip(tip_options);
});
</script>
{% endraw %}
{{ execution_stats }}
{{ execution_stats }}

Loading…
Cancel
Save