Browse Source

Fine tuning.

svn path=/trunk/; revision=24151
tags/stw2018
otto 7 years ago
parent
commit
3c367ee83d
2 changed files with 13 additions and 1 deletions
  1. 5
    0
      look/generic.css
  2. 8
    1
      tools/xsltsl/static-elements.xsl

+ 5
- 0
look/generic.css View File

@@ -2014,6 +2014,11 @@ div.map {
border: 2px solid #7FDF55;
}

#support_portal {
visibility: hidden;
margin-left: 150px;
}

/* ------------------------------------------------------------------------- */
/* Created with Free Software buttons */
/* ------------------------------------------------------------------------- */

+ 8
- 1
tools/xsltsl/static-elements.xsl View File

@@ -119,7 +119,13 @@
$(document).ready(function() {
var secret = window.location.search.slice(1);
$.getJSON('portal-backend?'+secret, function(data) {
map_json_to_html(data);
$("#support_portal_loading").hide();
$("#support_portal").show();
if (data.error) {
$("#support_portal").html(data.error);
} else {
map_json_to_html(data);
}
});
});
/* ]]> */
@@ -153,6 +159,7 @@
function(data) {
$("#support_form").fadeOut();
$("#introduction").append('<div id="support_form_sent">'+data+'</div>');
piwikTracker.trackGoal(2); // logs a conversion for goal 2
}
);


Loading…
Cancel
Save