moving backers to sponsors block

10.3.x-maintenance
cTn 2014-08-06 15:11:11 +02:00 committed by Dominic Clifton
parent 3a3170f21c
commit 01769559cc
3 changed files with 33 additions and 2 deletions

View File

@ -145,4 +145,27 @@
}
.firmware_flasher:hover {
background-color: #dedcdc;
}
}
.tab-default .sponsors {
margin-top: 10px;
border: 1px solid silver;
}
.tab-default .sponsors .title {
line-height: 20px;
text-align: center;
font-weight: bold;
color: white;
border-bottom: 1px solid silver;
background-color: #3f4241;
}
.tab-default .sponsors p {
padding: 5px;
}
.tab-default .sponsors p a {
font-weight: bold;
}
.tab-default .sponsors p a:hover {
text-decoration: underline;
}

View File

@ -20,6 +20,13 @@
</ul>
</div>
</div>
<div class="sponsors">
<div class="title">Sponsors</div>
<p>
&bull; <a href="http://www.abusemark.com/store/" title="www.abusemark.com" target="_blank">AbuseMark</a> - International (Japan)<br />
&bull; <a href="http://www.multirotorsuperstore.com/" title="www.multirotorsuperstore.com" target="_blank">Multirotor Superstore</a> - International (United States)<br />
</p>
</div>
</div>
<div class="right">
<div class="changelog configurator">
@ -29,4 +36,5 @@
</div>
<a class="firmware_flasher" href="#" i18n="defaultButtonFirmwareFlasher"></a>
</div>
<div class="clear-both"></div>
</div>

View File

@ -17,7 +17,7 @@ tabs.default.initialize = function(callback) {
tabs.firmware_flasher.initialize();
});
$('div.welcome a').click(function() {
$('div.welcome a, div.sponsors a').click(function() {
googleAnalytics.sendEvent('ExternalUrls', 'Click', $(this).prop('href'));
});