summaryrefslogtreecommitdiff
path: root/skins/larry/templates/contactedit.html
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-12-20 10:21:12 +0000
committerthomascube <thomas@roundcube.net>2011-12-20 10:21:12 +0000
commitbab0433a274f4e22130793b5e77d3767492c4a9f (patch)
tree358e94dd7bd3eb015c80769aac023ee45d253f67 /skins/larry/templates/contactedit.html
parentc29b82d90a8bdf9ee93a1a5e28237a8e078eae74 (diff)
First steps for Larry's address book
Diffstat (limited to 'skins/larry/templates/contactedit.html')
-rw-r--r--skins/larry/templates/contactedit.html52
1 files changed, 52 insertions, 0 deletions
diff --git a/skins/larry/templates/contactedit.html b/skins/larry/templates/contactedit.html
new file mode 100644
index 000000000..562e6d2d6
--- /dev/null
+++ b/skins/larry/templates/contactedit.html
@@ -0,0 +1,52 @@
+<roundcube:object name="doctype" value="html5" />
+<html>
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<roundcube:include file="/includes/links.html" />
+</head>
+<body class="iframe">
+
+<h1 class="boxtitle">
+ <roundcube:if condition="env:action=='add'" /><roundcube:label name="addcontact" />
+ <roundcube:else /><roundcube:label name="editcontact" />
+<roundcube:endif /></h1>
+
+<form name="editform" method="post" action="./" id="contact-details" class="boxcontent">
+ <roundcube:if condition="strlen(env:sourcename)" />
+ <div id="sourcename"><roundcube:label name="addressbook" />: <roundcube:var name="env:sourcename" condition="env:action!='add'" /><roundcube:object name="sourceselector" id="sourceselect" condition="env:action=='add'" /></div>
+ <roundcube:endif />
+
+ <div id="contactphoto">
+ <roundcube:object name="contactphoto" id="contactpic" placeholder="/images/contactpic.png" />
+ <div class="formlinks">
+ <roundcube:button command="upload-photo" id="uploadformlink" type="link" label="replacephoto" class="iconlink upload disabled" classAct="iconlink upload active" onclick="UI.show_uploadform();return false" condition="env:photocol" /><br/>
+ <roundcube:button command="delete-photo" type="link" label="delete" class="iconlink delete disabled" classAct="iconlink delete active" condition="env:photocol" />
+ </div>
+ </div>
+ <roundcube:object name="contactedithead" id="contacthead" size="16" form="editform" />
+ <br style="clear:both" />
+
+ <div id="contacttabs" class="tabbed">
+ <roundcube:object name="contacteditform" size="40" textareacols="60" form="editform" />
+ </div>
+
+</form>
+
+<div id="headerbuttons" class="formbuttons">
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ <roundcube:button command="show" type="input" class="button" label="cancel" condition="env:action=='edit'" />
+ <roundcube:button name="cancel" type="input" class="button" label="cancel" onclick="history.back()" condition="env:action=='add'" />
+</div>
+
+<div id="upload-dialog" class="propform popupdialog">
+ <roundcube:object name="photoUploadForm" id="upload-form" size="30" buttons="no" />
+ <div class="formbuttons">
+ <roundcube:button command="upload-photo" type="input" class="button mainaction" label="upload" />
+ <roundcube:button name="close" type="input" class="button" label="cancel" onclick="UI.show_uploadform()" />
+ </div>
+</div>
+
+<roundcube:include file="/includes/footer.html" />
+
+</body>
+</html>