diff --git a/www/poll/index.html b/www/poll/index.html index 45e69b10f..8c5ce95f0 100644 --- a/www/poll/index.html +++ b/www/poll/index.html @@ -22,7 +22,9 @@
-

⇐ back to Cryptpad

+
+ +

CryptPoll

Schedule or vote in real time

diff --git a/www/poll/main.js b/www/poll/main.js index 7c8cbe29c..459f39f3a 100644 --- a/www/poll/main.js +++ b/www/poll/main.js @@ -14,10 +14,6 @@ define([ var $ = window.jQuery; /* TODO - * design a data structure for a collaborative date picker - * add new input fields to the interface when they are found in the object - but do not exist locally - * set range of dates/times * (pair of date pickers) * hide options within that range @@ -25,7 +21,9 @@ define([ * add notes to a particular time slot * check or uncheck options for a particular user - * mark preference level? + * mark preference level? (+1, 0, -1) + + * delete/hide columns/rows // let users choose what they want the default input to be... @@ -289,6 +287,54 @@ define([ var title = document.title = Cryptpad.getPadTitle(); Cryptpad.rememberPad(title); Cryptpad.styleAlerts(); + + + var $toolbar = $('#toolbar'); + + $toolbar.find('sub a').text('⇐ back to Cryptpad'); + + var Button = function (opt) { + return $('