Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas ZILLIOX <thomas@zilliox.me>2013-06-20 04:37:26 +0400
committerThomas ZILLIOX <thomas@zilliox.me>2013-06-20 04:37:26 +0400
commitd9d5d69d332c122bdb4aebfacd0ee2ea0cf75e5a (patch)
tree800047beea016bedfe79118064cd7dd7909c8dcf /plugins/Widgetize/templates/index.twig
parent97e31f954c4df464d79ef51ce8a57a31af5907f3 (diff)
Remove styles tags from Widgetize plugin
Diffstat (limited to 'plugins/Widgetize/templates/index.twig')
-rw-r--r--plugins/Widgetize/templates/index.twig49
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>