summaryrefslogtreecommitdiffstats
path: root/apps/contacts/templates
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-04-22 00:43:47 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-04-22 00:44:53 +0200
commit9e3242d05ee666ef8d3ceaf038302e7254610f00 (patch)
treed3eb4db2a4506f11cd4898c4c237f30bcd118519 /apps/contacts/templates
parent56e064bd091d4ab54124bf9cd35eee3397d40a0c (diff)
downloadnextcloud-server-9e3242d05ee666ef8d3ceaf038302e7254610f00.tar.gz
nextcloud-server-9e3242d05ee666ef8d3ceaf038302e7254610f00.zip
Contacts: Changed layout as discussed with JanC. Still WiP.
Diffstat (limited to 'apps/contacts/templates')
-rw-r--r--apps/contacts/templates/index.php10
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php
index b14a35e19ed..2219d609d2e 100644
--- a/apps/contacts/templates/index.php
+++ b/apps/contacts/templates/index.php
@@ -3,17 +3,23 @@
var categories = <?php echo json_encode($_['categories']); ?>;
var lang = '<?php echo OC_Preferences::getValue(OC_User::getUser(), 'core', 'lang', 'en'); ?>';
</script>
-<div id="controls">
+<!-- div id="controls">
<form>
<input type="button" id="contacts_newcontact" value="<?php echo $l->t('Add Contact'); ?>">
<input type="button" id="chooseaddressbook" value="<?php echo $l->t('Addressbooks'); ?>">
</form>
-</div>
+</div -->
<div id="leftcontent" class="leftcontent">
<ul id="contacts">
<?php echo $this->inc("part.contacts"); ?>
</ul>
</div>
+ <div id="bottomcontrols">
+ <form>
+ <img class="svg" id="contacts_newcontact" src="img/contact-new.svg" alt="<?php echo $l->t('Add Contact'); ?> title="<?php echo $l->t('Add Contact'); ?>" />
+ <img class="svg" id="chooseaddressbook" src="../../core/img/actions/settings.svg" alt="<?php echo $l->t('Addressbooks'); ?>" title="<?php echo $l->t('Addressbooks'); ?>" />
+ </form>
+ </div>
<div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>">
<?php
if ($_['id']){