diff --git a/registration-system/other/story_begin.svg b/registration-system/other/story_begin.svg index c85df544f0dc7d6e07c8cd340054f56354e164f8..8cbb4a1a4c364ea9c9b79f19bb7afc215ba8be55 100644 Binary files a/registration-system/other/story_begin.svg and b/registration-system/other/story_begin.svg differ diff --git a/registration-system/other/story_travelBegin.svg b/registration-system/other/story_travelBegin.svg index 2bdae323b7d49b27290fff2bfa31718b1481133e..3052e0de5fba36ca3ce15fc0b90f27028070388a 100644 Binary files a/registration-system/other/story_travelBegin.svg and b/registration-system/other/story_travelBegin.svg differ diff --git a/registration-system/view/graphics/story/bell.png b/registration-system/view/graphics/story/bell.png index 0d9ccab8e449c0e60630ff27697786ee7e39bfe8..cff793a35c71e9bd25445a24f5748254f7b7d8f2 100644 Binary files a/registration-system/view/graphics/story/bell.png and b/registration-system/view/graphics/story/bell.png differ diff --git a/registration-system/view/graphics/story/ticket.png b/registration-system/view/graphics/story/ticket.png index 142ac2973f3bf11360e5503eca41fe3cbd5356b3..e009cd136182f0bce903652c9370a54463faf2d9 100644 Binary files a/registration-system/view/graphics/story/ticket.png and b/registration-system/view/graphics/story/ticket.png differ diff --git a/registration-system/view/js/story.js b/registration-system/view/js/story.js index d765ff2fde86d705ad58d45d15bd89c1927ce9a4..9c9f1db36a3eb74cec99b38631e97bc5bcd804dc 100644 --- a/registration-system/view/js/story.js +++ b/registration-system/view/js/story.js @@ -201,7 +201,9 @@ Story.prototype.initSummary = function() var rowTitle = rows[rowName]; this.summaryTable.append('<tr><td>' + rowTitle + '</td><td id="story_summary_' + rowName + '"></td></tr>'); } - this.summaryTable.append('<tr><td colspan="2"> </td></tr>'); + this.summaryTable.append('<tr><td>Anmeldung verstecken</td><td><input id="story_summary_public" type="checkbox" name="public" value="public"/></td></tr>'); + this.summaryTable.append('<tr><td colspan="2">Anmerkung</td></tr>'); + this.summaryTable.append('<tr><td colspan="2"><textarea id="story_summary_comment" name="comment" style="width: 450px; height: 120px;"></textarea></td></tr>'); this.summaryTable.append('<tr><td colspan="2">Daten Ok? Dann <button onclick="storySubmit()">anmelden</button>.</td></tr>'); } @@ -342,7 +344,7 @@ Story.prototype.addTicketTitle = function(ticket, title) } Story.prototype.addTicketButton = function(ticket, funcstring) { - var newButton = $('<div style="position: absolute; left: 249px; top: 125px; width: 27px; height: 27px; cursor: pointer;" onclick="' + funcstring + '"> </div>'); + var newButton = $('<div style="position: absolute; left: 245px; top: 115px; width: 36px; height: 37px; cursor: pointer;" onclick="' + funcstring + '"> </div>'); ticket.append(newButton); return newButton; } @@ -588,7 +590,7 @@ Story.prototype.initBasicData = function() this.toolTippedStoryWarning(this.bd_bell, 135, 310, 'mehl', "Bitte eine gültige eMail Addresse eingeben"); // == notice == - this.bd_bell.append($('<div style="position:absolute;top:380px;left:120px">Bitte klingeln, wenn fertig.</div>')) + this.bd_bell.append($('<div style="position:absolute;top:378px;left:168px">Bitte klingeln, wenn fertig.</div>')) this.bd_btn_continue = $('<div style="width:60px;height:67px;position:absolute;top:48px;left:48px;cursor:pointer;" onclick="story.next();" />'); this.bd_bell.append(this.bd_btn_continue); @@ -707,7 +709,7 @@ function storySubmit() function formAppendText(name, value) { - form.append('<input name="' + name + '" value="' + value.replace(/[\r\n]/g, " ").replace(/&/g, "&").replace(/"/g, """) + '"/>'); + form.append('<input name="' + name + '" value="' + value.replace(/[\r\n]/g, "<br/>").replace(/&/g, "&").replace(/"/g, """) + '"/>'); } formAppendText('forname', story.form_variables.forname); @@ -721,9 +723,9 @@ function storySubmit() formAppendText('antyp', Story.travelMapPhp[Story.travelMap[story.form_variables.travelStartType]]); formAppendText('abday', story.form_variables.travelEndDate); formAppendText('abtyp', Story.travelMapPhp[Story.travelMap[story.form_variables.travelEndType]]); - formAppendText('comment', 'This form was created with VisualPotato3D'); // ? - // formAppendText('public', ''); // ? - // form.append('<input type="submit" name="submit" />'); + formAppendText('comment', $('#story_summary_comment').val()); + if ($('#story_summary_public').is(':checked')) + formAppendText('public', 'public'); formAppendText('storySubmit', 'storySubmit'); form.submit();