diff options
author | Thomas ZILLIOX <thomas@zilliox.me> | 2013-06-20 04:37:26 +0400 |
---|---|---|
committer | Thomas ZILLIOX <thomas@zilliox.me> | 2013-06-20 04:37:26 +0400 |
commit | d9d5d69d332c122bdb4aebfacd0ee2ea0cf75e5a (patch) | |
tree | 800047beea016bedfe79118064cd7dd7909c8dcf /plugins/Widgetize/templates/index.twig | |
parent | 97e31f954c4df464d79ef51ce8a57a31af5907f3 (diff) |
Remove styles tags from Widgetize plugin
Diffstat (limited to 'plugins/Widgetize/templates/index.twig')
-rw-r--r-- | plugins/Widgetize/templates/index.twig | 49 |
1 files changed, 1 insertions, 48 deletions
diff --git a/plugins/Widgetize/templates/index.twig b/plugins/Widgetize/templates/index.twig index 359551f968..3b8d5ad8f2 100644 --- a/plugins/Widgetize/templates/index.twig +++ b/plugins/Widgetize/templates/index.twig @@ -6,54 +6,8 @@ {{ loadJavascriptTranslations(['Dashboard']) }} -<style type="text/css"> - .widgetize { - width: 100%; - padding: 15px 15px 0 15px; - font-size: 13px; - } - - .widgetize p { - padding: 0 0 20px 0; - } - - .menu { - display: inline; - } - - .widgetize .formEmbedCode { - font-size: 11px; - text-decoration: none; - background-color: #FBFDFF; - border: 1px solid #ECECEC; - width: 220px; - } - - #periodString { - margin-left: 15px; - } - - .widgetize label { - color: #666666; - line-height: 18px; - margin-right: 5px; - font-weight: bold; - padding-bottom: 100px; - } - - #embedThisWidgetIframe, - #embedThisWidgetFlash, - #embedThisWidgetEverywhere { - margin-top: 5px; - } - - .menuSelected { - font-weight: bold; - } -</style> - <script type="text/javascript"> - $(document).ready(function () { + $(function () { var widgetized = new widgetize(); var urlPath = document.location.protocol + '//' + document.location.hostname + (document.location.port == '' ? '' : (':' + document.location.port)) + document.location.pathname; var dashboardUrl = urlPath + '?module=Widgetize&action=iframe&moduleToWidgetize=Dashboard&actionToWidgetize=index&idSite=' + piwik.idSite + '&period=week&date=yesterday'; @@ -73,7 +27,6 @@ broadcast.init(); }); </script> - <div class="top_controls_inner"> {% include "@CoreHome/_periodSelect.twig" %} </div> |