aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Karlitschek <karlitschek@kde.org>2011-04-17 18:21:34 +0200
committerFrank Karlitschek <karlitschek@kde.org>2011-04-17 18:21:34 +0200
commit80c00c9ddd413474f03092dfe967c99ac0a06541 (patch)
tree5acf51d9bbcede0679f796115019e932ca1466c5
parent7b021516397648e51e6052d9fad4dfb422e09377 (diff)
downloadnextcloud-server-80c00c9ddd413474f03092dfe967c99ac0a06541.tar.gz
nextcloud-server-80c00c9ddd413474f03092dfe967c99ac0a06541.zip
use the ne prettybutton class and add eyecandy
-rw-r--r--admin/apps.php16
-rw-r--r--admin/css/apps.css15
-rw-r--r--admin/templates/app.php2
-rw-r--r--css/styles.css2
-rw-r--r--help/css/help.css16
-rw-r--r--help/templates/index.php2
6 files changed, 19 insertions, 34 deletions
diff --git a/admin/apps.php b/admin/apps.php
index bff3089dc5e..1b777bc246c 100644
--- a/admin/apps.php
+++ b/admin/apps.php
@@ -37,6 +37,22 @@ if(isset($_GET['cat'])) $cat=$_GET['cat']; else $cat=0;
$categories=OC_OCSCLIENT::getCategories();
+/*
+
+All
+Installed Apps
+
+
+
+foreach($categories as $key=>$value) {
+print_r($value);
+}
+
+
+*/
+
+
+
if($id==0) {
if($cat==0){
diff --git a/admin/css/apps.css b/admin/css/apps.css
index 02bcade3cc2..7063762204a 100644
--- a/admin/css/apps.css
+++ b/admin/css/apps.css
@@ -34,7 +34,6 @@ table td.name a
.type
{
- padding: 6px;
text-decoration: none;
color: #888888;
font-size: 0.8em;
@@ -42,23 +41,9 @@ table td.name a
.description
{
- padding: 6px;
text-decoration: none;
color: #666666;
font-size: 0.9em;
}
-.install a {
- padding:0.2em 0.5em;
- border:1px solid #ddd;
- -moz-border-radius:15px;
- -webkit-border-radius:15px;
- border-radius:15px;
- text-decoration: none;
- font-size:1.5em; color:#666666;
- background-color:#F0F0F0;
-}
-.install a:hover {
- background-color:#DDDDDD;
-}
diff --git a/admin/templates/app.php b/admin/templates/app.php
index 9a788cf64c4..1ea31bdecde 100644
--- a/admin/templates/app.php
+++ b/admin/templates/app.php
@@ -21,7 +21,7 @@ $app=$_['app'];
<br />
<?php echo('<a class="description" target="_blank" href="'.$app["detailpage"].'">read more</a><br />'); ?>
</td>
- <td width="1" valign="top" class="install"><a href="">INSTALL</a></td>
+ <td width="1" valign="top"><a class="prettybutton" href="">INSTALL</a></td>
</tr>
</table>
diff --git a/css/styles.css b/css/styles.css
index 434ea739a08..a186c173241 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -47,7 +47,7 @@ form a { color:#000; text-decoration:none; }
#login input[type='submit'] { width:5em; background-color:#fff; }
#login input[type='submit']:hover, #login input[type=submit]:focus { background-color:#ccc; outline:0; }
-.prettybutton { margin:0.1em; padding:0.2em 0.5em; border:1px solid #ddd; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; font-size:2em; color:#666; background-color:#fff; }
+.prettybutton { margin:0.1em; padding:0.2em 0.5em; border:1px solid #ddd; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; font-size:1.5em; text-decoration:none; color:#666; background-color:#fff; }
.prettybutton:hover, .prettybutton:focus { background-color:#ccc; outline:0; }
/* META NAVIGATION (Settings, Log out) ---------------------------------------------------------------- */
diff --git a/help/css/help.css b/help/css/help.css
index 9e64c28afb4..e46cf112092 100644
--- a/help/css/help.css
+++ b/help/css/help.css
@@ -34,7 +34,6 @@ table td.name a
.type
{
- padding: 6px;
text-decoration: none;
color: #888888;
font-size: 0.8em;
@@ -42,23 +41,8 @@ table td.name a
.description
{
- padding: 6px;
text-decoration: none;
color: #666666;
font-size: 0.9em;
}
-
-.button a {
- padding:0.2em 0.5em;
- border:1px solid #ddd;
- -moz-border-radius:15px;
- -webkit-border-radius:15px;
- border-radius:15px;
- text-decoration: none;
- font-size:1.3em; color:#666666;
- background-color:#F0F0F0;
-}
-.button a:hover {
- background-color:#DDDDDD;
-}
diff --git a/help/templates/index.php b/help/templates/index.php
index 776d7c00a9e..b8444c556e9 100644
--- a/help/templates/index.php
+++ b/help/templates/index.php
@@ -13,6 +13,6 @@
<?php endforeach; ?>
</tbody>
</table>
-<span class="button"><a target="_blank" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a></span>
+<a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a>