Skip to content

Commit

Permalink
Dev: fix question-container.row align offset (#913)
Browse files Browse the repository at this point in the history
Dev: fix question-container.row align offest
Dev: add ajax loader
  • Loading branch information
TonisOrmisson authored and LouisGac committed Jan 8, 2018
1 parent 5a7bc0a commit d60bd4e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
4 changes: 4 additions & 0 deletions themes/survey/vanilla/css/theme.css
Expand Up @@ -124,6 +124,10 @@ body {
margin-bottom: 2em ;
padding-bottom: 2em ;
}
.question-container.row {
margin-right: 0;
margin-left: 0;
}

.question-title-container {
padding-top: 1em;
Expand Down
30 changes: 13 additions & 17 deletions themes/survey/vanilla/views/subviews/navigation/ajax_indicator.twig
@@ -1,17 +1,13 @@
{#
LimeSurvey
Copyright (C) 2007-2017 The LimeSurvey Project Team / Louis Gac
All rights reserved.
License: GNU/GPL License v2 or later, see LICENSE.php
LimeSurvey is free software. This version may have been modified pursuant
to the GNU General Public License, and as distributed it includes or
is derivative of works licensed under the GNU General Public License or
other free or open source software licenses.
See COPYRIGHT.php for copyright notices and details.
(¯`·._.·(¯`·._.· Clear all links: Shows the exit button ·._.·´¯)·._.·´¯)
This file render the ajax indicator
In vanilla, this file is empty, we keep it to have a common layout between all core themes
#}
<script>
$.ajaxSetup({
beforeSend:function(){
// show gif here, eg:
$("#ajax-loading").show();
},
complete:function(){
// hide gif here, eg:
$("#ajax-loading").hide();
}
});
</script>
<div id="ajax-loading" hidden></div>

0 comments on commit d60bd4e

Please sign in to comment.