diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2011-12-04 20:25:46 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2011-12-04 20:25:46 +0100 |
commit | 95ae0f23f14c9e6854999233481e107cc330d70f (patch) | |
tree | 1661673ea95e0a6e3d72c57eee4fe3d3416a6c91 /apps/contacts/templates/index.php | |
parent | 58d1a3516af1450c6d82f75384bfb2a3f8ea3282 (diff) | |
download | nextcloud-server-95ae0f23f14c9e6854999233481e107cc330d70f.tar.gz nextcloud-server-95ae0f23f14c9e6854999233481e107cc330d70f.zip |
Added UI for selecting/editing address books.
Export, CardDAV link and activation/deactivation of address books done.
Diffstat (limited to 'apps/contacts/templates/index.php')
-rw-r--r-- | apps/contacts/templates/index.php | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/apps/contacts/templates/index.php b/apps/contacts/templates/index.php index 630dca41b2e..20a1e34eb78 100644 --- a/apps/contacts/templates/index.php +++ b/apps/contacts/templates/index.php @@ -1,12 +1,10 @@ -<?php // Include Style and Script -OC_Util::addScript('contacts','interface'); -OC_Util::addStyle('contacts','styles'); -OC_Util::addStyle('contacts','formtastic'); -?> - +<script type='text/javascript'> + var totalurl = '<?php echo OC_Helper::linkTo('apps/contacts', 'carddav.php', null, true); ?>/addressbooks'; +</script> <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('Address Books'); ?>"> </form> </div> <div id="leftcontent" class="leftcontent"> @@ -17,3 +15,9 @@ OC_Util::addStyle('contacts','formtastic'); <div id="rightcontent" class="rightcontent" data-id="<?php echo $_['id']; ?>"> <?php echo $this->inc("part.addcardform"); ?> </div> +<!-- Dialogs --> +<div id="dialog_holder"></div> +<div id="parsingfail_dialog" title="Parsing Fail"> + <?php echo $l->t("There was a fail, while parsing the file."); ?> +</div> +<!-- End of Dialogs --> |