From: Joey Schulze Date: Sat, 12 Dec 2009 17:27:43 +0000 (+0100) Subject: Add reload facility with image from http://www.veryicon.com/icon/png/Internet%20... X-Git-Url: https://git.infodrom.org/?p=infodrom%2Fphone;a=commitdiff_plain;h=0b8c3ecbb7ea0e61a072d169a52130c87f5c4e11;hp=05d1bb257d5716fffeffe42b9c6edf3bdcbad40c Add reload facility with image from veryicon.com/icon/png/Internet%20%26%20Web/Feed/reload%2032.png --- diff --git a/index.php b/index.php index d37f4e6..b227cf5 100644 --- a/index.php +++ b/index.php @@ -59,6 +59,10 @@ if (!empty($_POST['func'])) { +
+ +
+

Play message

 

diff --git a/lib/reload.png b/lib/reload.png new file mode 100644 index 0000000..f439296 Binary files /dev/null and b/lib/reload.png differ diff --git a/phone.css b/phone.css index 4add06b..3d36bf0 100644 --- a/phone.css +++ b/phone.css @@ -91,6 +91,12 @@ iframe.phonecall { border: 0; } +div.controls { + width: 33px; + position: absolute; + left: 312px; + top: 5px; +} div.editcall { border: 1px solid #bfbfbf; width: 210px; diff --git a/phone.js b/phone.js index 58e5371..0a2a996 100644 --- a/phone.js +++ b/phone.js @@ -14,6 +14,12 @@ function page_init() fetch_archive(); } +function reload() +{ + fetch_incoming(); + fetch_archive(); +} + function fetch_incoming_callback(data) { var calls = document.getElementById('incoming_calls');