summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Appelman <icewind1991@gmail.com>2011-04-17 00:39:18 +0200
committerRobin Appelman <icewind1991@gmail.com>2011-04-17 00:39:18 +0200
commit87ebd6700d7726ce4de1d3572ceaad1521c00b6c (patch)
tree83bed9744edf438d05c44d7215876745b8151ec3
parenta20ace7d359672e1615b0bff1502adeab84680b1 (diff)
parent3e28883a9f52a1b840240c0052087f689433c321 (diff)
downloadnextcloud-server-87ebd6700d7726ce4de1d3572ceaad1521c00b6c.tar.gz
nextcloud-server-87ebd6700d7726ce4de1d3572ceaad1521c00b6c.zip
Merge branch 'refactoring' of git://anongit.kde.org/owncloud into refactoring
-rw-r--r--admin/css/apps.css22
-rw-r--r--admin/templates/app.php27
2 files changed, 49 insertions, 0 deletions
diff --git a/admin/css/apps.css b/admin/css/apps.css
index 68bd9cf63d3..02bcade3cc2 100644
--- a/admin/css/apps.css
+++ b/admin/css/apps.css
@@ -40,3 +40,25 @@ table td.name a
font-size: 0.8em;
}
+.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
new file mode 100644
index 00000000000..4b5740c2bc4
--- /dev/null
+++ b/admin/templates/app.php
@@ -0,0 +1,27 @@
+<?php
+/*
+ * Template for Apps
+ */
+$app=$_['app'];
+?>
+<h1><?php echo $app["name"]; ?></h1>
+<?php echo('<span class="type">'.$app['typename'].'</span>'); ?><br />
+<span class="date"><?php echo OC_UTIL::formatdate($app["changed"]); ?></span><br />
+
+
+<table cellspacing="6" border="0" width="100%">
+ <tr>
+ <td width="1" valign="top">
+ <?php if($app["preview1"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview1"].'" /><br />'); } ?>
+ <?php if($app["preview2"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview2"].'" /><br />'); } ?>
+ <?php if($app["preview3"]<>"") { echo('<img class="preview" border="0" src="'.$app["preview3"].'" /><br />'); } ?>
+ </td>
+ <td class="description" valign="top">
+ <?php echo $app["description"]; ?>
+ <br />
+ <?php echo('<a class="description" href="'.$app["detailpage"].'">read more</a><br />'); ?>
+ </td>
+ <td width="1" valign="top" class="install"><a href="">INSTALL</a></td>
+ </tr>
+</table>
+