1
0
mirror of https://github.com/kirsle/kirsle.net synced 2024-11-14 04:49:29 +00:00

Add more apps to my start page

This commit is contained in:
Noah 2015-08-31 18:18:51 +00:00
parent 0496f59b1e
commit 40e8bf7adc

View File

@ -13,8 +13,9 @@
<h2>Web Apps</h2>
<button id="app-slack" class="btn btn-primary">ZEFR Slack</button>
<button id="app-fb" class="btn btn-primary">Facebook</button>
<button data-url="https://zefr.slack.com/" class="app btn btn-primary">ZEFR Slack</button>
<button data-url="https://la-engineers.slack.com/" class="app btn btn-primary">LA-Engineers Slack</button>
<button data-url="https://www.facebook.com/" class="app btn btn-primary">Facebook</button>
{% 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);
});
});