From a3ebfe46a2efe12920ce56848447256c020d7fc2 Mon Sep 17 00:00:00 2001
From: om
- Du kan bruge den blå pil for at åbne kontaktlisten -
-diff --git a/en/index.html b/en/index.html index 0bbd2ef..93dcf3c 100644 --- a/en/index.html +++ b/en/index.html @@ -43,15 +43,6 @@ Discover how the chatcontrol proposal would affect you by watching our interactive film on the left.
-- Check out how chatcontrol could affect you in different conversations using the blue back arrow on the - phone. -
-
diff --git a/img/chatapp.svg b/img/chatapp.svg
index 24fe2b4..77270fc 100644
--- a/img/chatapp.svg
+++ b/img/chatapp.svg
@@ -1245,27 +1245,37 @@ const contact_list = {
function fill_contact_list(lang) {
let x = 15;
let y = 75;
- let y_step = 25;
+ let y_step = 30;
let group = document.getElementById('contacts');
removeAllChildren(group);
let contacts = contact_list[lang];
for(let i=0; i < contacts.length; i++) {
+ let box = create_svg_node('rect', {x: x - 10,
+ y: y - y_step / 2,
+ width: 300 - 10,
+ height: y_step - 2,
+ rx: "3px",
+ ry: "3px",
+ "stroke-linejoin":"round",
+ fill: '#8042ef'});
+
let text = create_svg_node('text', {
x: x,
- y: y
+ y: y + 2,
});
y += y_step;
let contact = contacts[i];
+ box.onclick = function() { start_chat(i) };
text.onclick = function() { start_chat(i) };
text.appendChild(document.createTextNode(contact.name));
+ group.appendChild(box);
group.appendChild(text);
}
}
function run() {
fill_contact_list(current_language);
- start_chat(current_discussion_index);
}
]]>
@@ -1277,6 +1287,7 @@ function run() {
width="300"
height="50"
fill="#F5F5F5"
+ onclick="swipe_viewport()"
id="rect59" />