Commit graph

1171 commits

Author SHA1 Message Date
jelhan
d8ef18bc2d Extend validation on new user input
* validates  if every option is answered if this option is set
* remove alert messages which aren't necessary anymore
* improve documentation

Doesn't give a user feedback set an answer for all options is forced.
2014-06-05 23:55:40 +02:00
jelhan
2e4a491fe9 disable save button if new user form isn't valid 2014-06-05 19:32:41 +02:00
jelhan
9dc86f1437 reset validation errors after new user is saved 2014-06-05 19:24:39 +02:00
jelhan
2d4da6e019 simplify the test if answers for all options are selected 2014-06-05 19:15:43 +02:00
jelhan
286fd5f01f adding validation for username
Save button is not bind to isValid state yet because it's not possible to trigger an action inside a view with ember-form submit button.

Adresses #20
2014-06-05 14:43:42 +02:00
jelhan
78b6096c75 changed new user form to ember-forms
Due to a problem in ember-forms handling propertys of each helper this is splitted up in several forms; should be changed in future.
There is no evaluation added yet.

Adresses #15
2014-06-05 13:08:10 +02:00
jelhan
2dc1e8397b adding validations for forms which are using ember-forms
When we move all forms / inputs to ember-forms as planed in #15 we could add validations also for them.

Adresses #20
2014-06-04 13:38:49 +02:00
jelhan
455e1cbfe7 remove transition log 2014-06-03 08:58:00 +02:00
jelhan
bcd4724dbe Option: anonymousUser 2014-06-03 08:54:34 +02:00
jelhan
4440112d89 adding normalize.css for improved cross browser rendering 2014-06-01 12:17:05 +02:00
jelhan
428063df71 break URL at any point to fix in box 2014-05-31 12:36:01 +02:00
jelhan
4f9edf0d29 better prevention and error handling for TypeError in this complex function 2014-05-31 12:32:18 +02:00
jelhan
7d94ea8609 force answer default value: true 2014-05-29 04:50:28 +02:00
jelhan
e6da141087 improve usability for screenreaders
There should be also labels before answer input / selections but option label is not provided here yet.
2014-05-29 04:38:51 +02:00
jelhan
abbc1f1118 also just one column for small devices 2014-05-29 04:27:13 +02:00
jelhan
3a09883d5e style user selection by bootstrap 2014-05-29 04:23:59 +02:00
jelhan
f0895f94c4 animated loading route
CSS3 solution provided by cssload.net, a great project of Timur Gafforov, Timur Yerzin and Avraam Makhmudov.

Modified original css to handle fluid width.
2014-05-29 03:48:00 +02:00
jelhan
893954372f in some cases selection.value becomes an empty string or null; seems to depend on browser 2014-05-28 11:37:09 +02:00
jelhan
cbe4a00532 check if answerType is set when saving a poll to prevent running in an error 2014-05-21 19:50:19 +02:00
jelhan
6353f16182 option to force an answer 2014-05-21 19:47:17 +02:00
jelhan
aa83833275 add HSTS header 2014-05-21 14:31:37 +02:00
jelhan
ab1fa3bf9b disable evaluation for answer type free text 2014-05-21 14:21:47 +02:00
jelhan
14c7b0d7d6 typo 2014-05-21 13:51:52 +02:00
jelhan
4258a53ae7 typo 2014-05-21 13:50:16 +02:00
jelhan
acf3a0e5ec check if only default options are defined 2014-05-21 13:49:59 +02:00
jelhan
1a287510c8 init evaluation with zero 2014-05-21 13:36:44 +02:00
jelhan
cb0fa71a9f newUser as first row in table 2014-05-21 13:18:49 +02:00
jelhan
f1511518bf allow selection of dates in the past but highlight tody
perhaps someone needs that
2014-05-13 19:20:20 +02:00
jelhan
a413aee881 Merge branch 'master' of https://github.com/jelhan/croodle.git 2014-05-13 19:15:43 +02:00
jelhan
7d648d4527 Make poll url a real link 2014-05-13 19:15:26 +02:00
jelhan
10937a321c Update README.md 2014-05-13 19:00:16 +02:00
jelhan
8eabaf8208 Merge branch 'master' of https://github.com/jelhan/croodle.git 2014-05-12 18:43:07 +02:00
jelhan
383e36c386 remove unnecessary headlines 2014-05-12 18:42:49 +02:00
jelhan
8dcf578ce9 add simple index page 2014-05-12 18:41:37 +02:00
jelhan
5d45013af7 in some cases selection.value was undefined 2014-05-12 18:41:21 +02:00
jelhan
769ffd8a47 Update README.md
adding requirements and installation instructions
2014-05-12 17:46:09 +02:00
jelhan
fb7f07ebe7 simple evaluation of poll 2014-05-12 15:28:44 +02:00
jelhan
d097cf2ba3 No need for EmbeddedAdapter anymore, but needing EmbeddedSerializer 2014-05-12 13:50:07 +02:00
jelhan
a8d95e61cd Missing form-group for buttons on option selection if poll type is MakeAPoll 2014-05-12 13:48:12 +02:00
jelhan
e1ef104e94 description should wrap 2014-05-12 13:00:45 +02:00
jelhan
1f259897f7 clear label of user column
It's self-explaining, so we don't need a label. Without table looks tidier.
2014-05-11 16:52:45 +02:00
jelhan
4560957fd1 Update README.md 2014-05-11 15:47:02 +02:00
jelhan
c811de6464 Update README.md 2014-05-11 15:43:23 +02:00
jelhan
a124fe7f09 advanced styling 2014-05-11 15:35:20 +02:00
jelhan
314bff917a style table with bootstrap 2014-05-10 20:25:14 +02:00
jelhan
9774baadbd formatted dates in selection table 2014-05-10 20:14:03 +02:00
jelhan
8abe06ed43 typo 2014-05-10 19:54:18 +02:00
jelhan
259811290e select dates via calendar
Fixes #8
2014-05-10 19:33:03 +02:00
jelhan
0df2ee87e6 write same logik shorter 2014-05-10 18:34:55 +02:00
jelhan
8842eeb612 move computed property to model so it's usable not only in poll route 2014-05-10 18:31:30 +02:00