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-18 07:39:11 +0400
committerThomas Steur <thomas.steur@gmail.com>2013-09-18 07:39:11 +0400
commit2e2212f02ee00de19bc3b64bc9b236f02a52a7f0 (patch)
tree9c257c3cc3e25ec0c5d26dc2f947e76a67bb730c /plugins/CorePluginsAdmin
parent19e201afd35b541a96d8666ed463703abc3446df (diff)
added some simple styles for marketplace plugins list
Diffstat (limited to 'plugins/CorePluginsAdmin')
-rw-r--r--plugins/CorePluginsAdmin/templates/browsePlugins.twig22
-rw-r--r--plugins/CorePluginsAdmin/templates/browseThemes.twig9
2 files changed, 22 insertions, 9 deletions
diff --git a/plugins/CorePluginsAdmin/templates/browsePlugins.twig b/plugins/CorePluginsAdmin/templates/browsePlugins.twig
index 9d8145a276..6fa96cbed9 100644
--- a/plugins/CorePluginsAdmin/templates/browsePlugins.twig
+++ b/plugins/CorePluginsAdmin/templates/browsePlugins.twig
@@ -2,11 +2,15 @@
{% block content %}
<style type="text/css">
+ .plugin { padding: 15px;border-top: 5px solid white; }
+ .plugin.odd { background-color: #F6F5F3; }
+ .plugin.even { background-color: #EFEEEC; }
.plugin li { display: inline-block;padding-right: 10px;font-size: 90%; }
.plugin ul { list-style: none;margin-left: 0; }
+ .plugin .header { margin-top: 0px; margin-bottom: 15px; }
.plugin .description { padding-bottom: 10px; }
.plugin .install { float: right; }
- .plugin .more { font-weight: bold; text-decoration: none; color: #1D3256; }
+ .plugin .more { font-weight: bold; text-decoration: none; color: #255792; }
.pluginslist { margin-top: 20px;max-width:980px;clear: right; }
.infoBox {
font-size: 14px;
@@ -20,6 +24,13 @@
width: 250px;
float: right;
}
+ .plugin .metadataSeparator {
+ background-color: lightgray;
+ color: #333;
+ border: 0px;
+ height: 1px;
+ width: 100%;
+ }
</style>
<div style="max-width:980px;">
@@ -49,7 +60,7 @@
{% if plugins|length %}
{% for plugin in plugins %}
- <div class="plugin">
+ <div class="plugin {{ cycle(['odd', 'even'], loop.index) }}">
{% if plugin.isInstalled %}
<span class="install">Installed</span>
{% else %}
@@ -60,10 +71,11 @@
<p class="description">{{ plugin.description }}
<br /><a href="javascript:return;" class="more">&gt;&gt; more</a>
</p>
+ <hr class="metadataSeparator">
<ul>
- <li>Version {{ plugin.latestVersion }}</li>
- <li>Updated {{ plugin.createdDateTime }}</li>
- <li>Downloads {{ plugin.numDownloads }}</li>
+ <li>Version <strong>{{ plugin.latestVersion }}</strong></li>
+ <li>Updated <strong>{{ plugin.createdDateTime }}</strong></li>
+ <li>Downloads <strong>{{ plugin.numDownloads }}</strong></li>
</ul>
</div>
diff --git a/plugins/CorePluginsAdmin/templates/browseThemes.twig b/plugins/CorePluginsAdmin/templates/browseThemes.twig
index 1958776d01..48eabbb7e1 100644
--- a/plugins/CorePluginsAdmin/templates/browseThemes.twig
+++ b/plugins/CorePluginsAdmin/templates/browseThemes.twig
@@ -7,6 +7,7 @@
.plugin .description { padding-bottom: 10px; }
.plugin .install { float: right; }
.plugin .more { font-weight: bold; text-decoration: none; color: #1D3256 }
+ .plugin .metadata { margin-top: 10px; }
.plugin h3 { display: inline; }
.plugin { width: 300px; float: left; }
.themeslist { margin-top: 20px;max-width:980px;clear:right; }
@@ -61,10 +62,10 @@
<h3 class="header"><a href="javascript:return;" class="more">{{ plugin.name }}</a></h3>
<p class="description">{{ plugin.description }}</p>
<img src="{{ plugin.screenshots|first }}?w=250&h=250" height="250" width="250"/>
- <ul>
- <li>Version {{ plugin.latestVersion }}</li>
- <li>Updated {{ plugin.createdDateTime }}</li>
- <li>Downloads {{ plugin.numDownloads }}</li>
+ <ul class="metadata">
+ <li>Version <strong>{{ plugin.latestVersion }}</strong></li>
+ <li>Updated <strong>{{ plugin.createdDateTime }}</strong></li>
+ <li>Downloads <strong>{{ plugin.numDownloads }}</strong></li>
</ul>
</div>