diff --git a/web/duell.html b/web/duell.html
index fb714ee..8ceb97b 100644
--- a/web/duell.html
+++ b/web/duell.html
@@ -23,7 +23,9 @@
-

+

+

+
@@ -88,7 +90,9 @@
-
+
+
+
diff --git a/web/img/schweinchen1.jpg b/web/img/schweinchen1.jpg
new file mode 100755
index 0000000..1f65cbb
Binary files /dev/null and b/web/img/schweinchen1.jpg differ
diff --git a/web/img/schweinchen2.jpg b/web/img/schweinchen2.jpg
new file mode 100755
index 0000000..4da454c
Binary files /dev/null and b/web/img/schweinchen2.jpg differ
diff --git a/web/js/main.js b/web/js/main.js
index 9c8c0fd..38bddbd 100644
--- a/web/js/main.js
+++ b/web/js/main.js
@@ -38,14 +38,21 @@ $(document).ready(function() {
wsSend("setJeopardyVolume", v);
});
- $("#startScheinchenbtn").click(function() {
- $("#startScheinchenbtn").attr("disabled", "disabled");
- wsSend("startSchweinchen", "");
+ $("button[id^='startScheinchenbtn']").each(function(){
+ $(this).click(function() {
+ var status = $(this).attr('value');
+ console.log('status' + status);
+ wsSend("setRunde", status);
+ $(this).attr("disabled", "disabled");
+ wsSend("startSchweinchen", "");
+ });
});
- $("#stopScheinchenbtn").click(function() {
- $("#startScheinchenbtn").removeAttr("disabled");
- wsSend("stopSchweinchen", "");
+ $("#stopScheinchenbtn").click(function() {
+ $("button[id^='startScheinchenbtn']").each(function(){
+ $(this).removeAttr("disabled");
+ });
+ wsSend("stopSchweinchen", "");
});
$("#schweinchenVolume").on("input", function() {
@@ -123,6 +130,9 @@ $(document).ready(function() {
});
+function setRunde(value){
+ runde = value;
+}
function showQuestionsAsPrint() {
var ges = 'Familienduell Fragen';
for(var i=0;i |