diff --git a/tabs/default.css b/tabs/default.css index d2b096b6..e44771d6 100644 --- a/tabs/default.css +++ b/tabs/default.css @@ -145,4 +145,27 @@ } .firmware_flasher:hover { background-color: #dedcdc; - } \ No newline at end of file + } + .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; + } diff --git a/tabs/default.html b/tabs/default.html index f61d01bc..0ad3ad40 100644 --- a/tabs/default.html +++ b/tabs/default.html @@ -20,6 +20,13 @@ +
+
Sponsors
+

+ • AbuseMark - International (Japan)
+ • Multirotor Superstore - International (United States)
+

+
@@ -29,4 +36,5 @@
+
\ No newline at end of file diff --git a/tabs/default.js b/tabs/default.js index 05be4aea..941f67f5 100644 --- a/tabs/default.js +++ b/tabs/default.js @@ -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')); });