From 40e8bf7adc9ba9d1100c67a1b8028b468a404a03 Mon Sep 17 00:00:00 2001 From: Noah Petherbridge Date: Mon, 31 Aug 2015 18:18:51 +0000 Subject: [PATCH] Add more apps to my start page --- www/start.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/www/start.html b/www/start.html index e735d4c..7e6bacf 100644 --- a/www/start.html +++ b/www/start.html @@ -13,8 +13,9 @@

Web Apps

- - + + + {% endblock %} {% block scripts %} @@ -22,11 +23,9 @@ $(document).ready(function() { $("#google-search").focus(); - $("#app-slack").click(function() { - launchApp("https://zefr.slack.com/"); - }); - $("#app-fb").click(function() { - launchApp("https://www.facebook.com/"); + $("button.app").click(function() { + var url = $(this).attr("data-url"); + launchApp(url); }); });