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 Steur <thomas.steur@gmail.com>2013-09-20 00:23:37 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-09-20 00:23:37 +0400
commit49dde11b26b832422e95fb91d77af9328310fcba (patch)
treea6551a08f61b973d1b12f41302d37c670a2ee30e /plugins/CorePluginsAdmin
parentdbf1fcac60a2d4273d36baab4227b50f3326399d (diff)
moved more css to less
Diffstat (limited to 'plugins/CorePluginsAdmin')
-rw-r--r--plugins/CorePluginsAdmin/stylesheets/marketplace.less11
-rw-r--r--plugins/CorePluginsAdmin/templates/extend.twig57
2 files changed, 38 insertions, 30 deletions
diff --git a/plugins/CorePluginsAdmin/stylesheets/marketplace.less b/plugins/CorePluginsAdmin/stylesheets/marketplace.less
index 93475b70e4..5e42eced44 100644
--- a/plugins/CorePluginsAdmin/stylesheets/marketplace.less
+++ b/plugins/CorePluginsAdmin/stylesheets/marketplace.less
@@ -1,3 +1,14 @@
+.extendPlatform {
+ min-width: 580px;
+
+ .introduction { max-width:980px; }
+ .byPlugins { width:50%;float:left; }
+ .byThemes { width:50%;float:left; }
+ .teaserImage { width: 250px; height: 250px; }
+ .header { font-size: 1.6em; }
+ .callToAction { font-size: 1.1em;line-height: 2em; }
+}
+
.pluginslist {
margin-top: 20px;
max-width: 980px;
diff --git a/plugins/CorePluginsAdmin/templates/extend.twig b/plugins/CorePluginsAdmin/templates/extend.twig
index 502c0c0cef..26ca851423 100644
--- a/plugins/CorePluginsAdmin/templates/extend.twig
+++ b/plugins/CorePluginsAdmin/templates/extend.twig
@@ -3,46 +3,43 @@
{% import '@CorePluginsAdmin/macros.twig' as plugins %}
{% block content %}
- <style type="text/css">
- .extend .header { font-size: 1.6em; }
- .extend .callToAction { font-size: 1.1em;line-height: 2em; }
- </style>
+ <div class="extendPlatform">
- <div style="max-width:980px;">
+ <div class="introduction">
- <h2>Extend Piwik with Plugins and Themes</h2>
+ <h2>Extend Piwik with Plugins and Themes</h2>
- <p>This page will let you download and install new Plugins from the Plugins Marketplace.
- The <a href='?module=Proxy&action=redirect&url=http://plugins.piwik.org/' target='_blank'>Marketplace</a> is where
- developers publish their plugins and themes to make them available to all Piwik users.</p>
+ <p>This page will let you download and install new Plugins from the Plugins Marketplace.
+ The <a href='?module=Proxy&action=redirect&url=http://plugins.piwik.org/' target='_blank'>Marketplace</a> is where
+ developers publish their plugins and themes to make them available to all Piwik users.</p>
- <em>Note: all plugins are available for free at present; in the future we will enable Paid Plugins in the Marketplace
- (<a href='mailto:hello@piwik.org?subject=Marketplace - Sell Plugin'>contact us</a> for early access).
- </em>
- </div>
-
- <div class="extend">
+ <em>Note: all plugins are available for free at present; in the future we will enable Paid Plugins in the Marketplace
+ (<a href='mailto:hello@piwik.org?subject=Marketplace - Sell Plugin'>contact us</a> for early access).
+ </em>
+ </div>
- <div style="width:50%;float:left;">
- <h3 class="header">Get new functionality</h3>
- <span class="callToAction">by <a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}">installing a new plugin</a></span>
+ <div>
+ <div class="byPlugins">
+ <h3 class="header">Get new functionality</h3>
+ <span class="callToAction">by <a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}">installing a new plugin</a></span>
- <p>
- <a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}"><img src="" width="250" height="250"/></a>
- </p>
+ <p>
+ <a href="{{ linkTo({'action':'browsePlugins', 'sort': ''}) }}"><img class="teaserImage" src=""/></a>
+ </p>
- <span class="callToAction">or <a href="#">write your own plugin</a></span>
- </div>
+ <span class="callToAction">or <a href="#">write your own plugin</a></span>
+ </div>
- <div style="width:50%;float:left;">
- <h3 class="header">Enjoy another look & feel</h3>
- <span class="callToAction">by <a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}">installing a new theme</a></span>
+ <div class="byThemes">
+ <h3 class="header">Enjoy another look & feel</h3>
+ <span class="callToAction">by <a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}">installing a new theme</a></span>
- <p>
- <a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}"><img src="" width="250" height="250"/></a>
- </p>
+ <p>
+ <a href="{{ linkTo({'action':'browseThemes', 'sort': ''}) }}"><img class="teaserImage" src=""/></a>
+ </p>
- <span class="callToAction">or <a href="#">design your own theme</a></span>
+ <span class="callToAction">or <a href="#">design your own theme</a></span>
+ </div>
</div>
</div>
{% endblock %}