Enable contact photo drag&drop upload

pull/13/head
Aleksander Machniak 13 years ago
parent a1426f8345
commit acf5becbf1

@ -310,6 +310,13 @@ body.iframe,
width: 60px; width: 60px;
} }
#contactpic.droptarget.hover {
background-color: #f0f0ee;
box-shadow: 0 0 5px 0 #999;
-moz-box-shadow: 0 0 5px 0 #999;
-o-box-shadow: 0 0 5px 0 #999;
}
#contactphoto .formlinks #contactphoto .formlinks
{ {
margin-top: 0.5em; margin-top: 0.5em;

@ -33,6 +33,7 @@
</div> </div>
<roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" /> <roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" />
<roundcube:object name="fileDropArea" id="contactpic" />
<script type="text/javascript">rcube_init_tabs('contacttabs')</script> <script type="text/javascript">rcube_init_tabs('contacttabs')</script>

@ -22,7 +22,6 @@
</div> </div>
<roundcube:object name="contactedithead" id="contacthead" size="16" form="editform" /> <roundcube:object name="contactedithead" id="contacthead" size="16" form="editform" />
<div style="clear:both"></div> <div style="clear:both"></div>
<div id="contacttabs"> <div id="contacttabs">
<roundcube:object name="contacteditform" size="40" textareacols="60" deleteIcon="/images/icons/delete.png" form="editform" /> <roundcube:object name="contacteditform" size="40" textareacols="60" deleteIcon="/images/icons/delete.png" form="editform" />
</div> </div>
@ -34,6 +33,7 @@
</div> </div>
<roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" /> <roundcube:object name="photoUploadForm" id="upload-form" size="30" class="popupmenu" />
<roundcube:object name="fileDropArea" id="contactpic" />
<script type="text/javascript">rcube_init_tabs('contacttabs')</script> <script type="text/javascript">rcube_init_tabs('contacttabs')</script>

Loading…
Cancel
Save