Commit Graph

38 Commits

Author SHA1 Message Date
John Mitchell
a44c6c92d4 fixed password button text 2015-06-08 16:20:07 -04:00
Jared Tabor
96659ac657 Default multiplechoice answer fix
the default answer for a multiplechoice question was not saving correctly.
2015-06-05 10:39:42 -04:00
Jared Tabor
0778e93f49 Survey maker -> default password input replacement
turning the default password input on survey maker to use the new schema
2015-06-05 10:39:41 -04:00
Jared Tabor
d7e2614760 Copyright JS files and removing unlicensed files
Adding the Copyright and All Rights Reserved to the JS files, as well as removing pwdmeter and 3dDonut chart (in lieu of d3.js donut chart)

adding the legend and getting pie chart to donut

adding data labels to donut chart

working legend and tooltip

job detail donut

Ansible Copyright added to beginning of all JS files

removing pwdmeter and d3donut

fixing merge conflicts
2015-05-29 12:08:22 -04:00
Jared Tabor
a0ffd50207 Adjust error messages for survey
per Chris' request to make them more accurate.
2015-02-18 16:00:47 -05:00
Jared Tabor
a2121b7288 More accurate survey errors
For the survey question form validation, some errors messages were being thrown for errors that hadn't occured.
2015-02-17 17:52:54 -05:00
Jared Tabor
e849dff386 Changed wording on survey error message
Chris Wang found a wording issue with the survey error messages
2015-02-16 12:13:40 -05:00
Jared Tabor
f46a34e079 Adding Password option for survey's
I'm adding the UI side of the password option for surveys, which should show up in the job summary as a masked string.
2015-02-13 14:00:00 -05:00
John Mitchell
d01ae1af6a full commit of fixes to the survey by jared 2015-02-10 10:47:31 -05:00
Joe Fiorini
a9e0de98d7 Use broccoli to build app 2015-02-06 12:49:04 -05:00
John Mitchell
d688064869 Pass with Jared on the make errors nicer fix 2015-01-30 12:55:43 -05:00
John Mitchell
5ad2f3e330 Final pass of making errors nicer 2015-01-29 21:07:12 -05:00
John Mitchell
53db7b7224 Making error messages nicer, first pass 2015-01-29 19:47:12 -05:00
Jared Tabor
6d10e31ea8 fixed Firefox error for submitting survey question
hadn't passed the 'event' object as part of hte ng-click event
2015-01-16 12:47:30 -05:00
Jared Tabor
a2b5c38436 Typo on survey help 2015-01-05 09:40:30 -05:00
Jared Tabor
b0c9845bc3 Survey maker prevent duplicate vars
Added check in survey maker to prevent saving a question that uses a variable that is already in use.
2014-12-19 14:28:38 -05:00
Jared Tabor
651dd1239a Survey maker variable name checking
Generalized the directive for the variable name of survey maker to check for illegal characters for a javascript object
2014-12-15 11:27:58 -05:00
Jared Tabor
696e356fd1 Changed labels for survey maker min/max
For text and textarea questions, i changed the labels from 'Minimum' and 'Maximum' to 'Minimum Length' and 'Maximum Length'
2014-12-12 10:23:04 -05:00
Jared Tabor
b5e521a759 Survey maker
There was a discrepency between save states in the survey maker when creating a new job template. I had to make some changes to how we 'save' survey's when creating job templates. Now survey info is stored in a seperate object and then stored in the scope when the user clicks save. It used to all be stored in teh scope object.
2014-12-09 16:26:04 -05:00
Jared Tabor
f99a73fb85 text/textarea min/max length
added fields on survey maker for text/textarea min/max length. on survey taker added the error handling for these.
2014-12-02 14:01:34 -05:00
Jared Tabor
e9e2c1f6ab awSurveyVariableName directive
created a new directive to check the variable name field for spaces. this could be expanded for future use if we want to check against other constraints. checked with matt though and he said space checking shoudl suffice
2014-12-02 12:45:31 -05:00
Jared Tabor
e14630b155 renamed ngmin/ngmax
renamed to awmin/awmax to match custom directive format. the prefix 'ng' is meant to imply an 'angular' specific directive
2014-12-01 22:52:55 -05:00
Jared Tabor
ce31c0e36a removed float directive from default_float
temporary fix for form validation to work
2014-10-17 17:07:01 -04:00
Jared Tabor
6292c8ddbd fixed small error using float directive
i hadn't used the smart-float directive correctly and in all the right places. i also adjusted the default_float in survey maker->edit question function
2014-10-16 09:48:46 -04:00
Jared Tabor
2e4fd96aef added defaultText option for forms
the default text in a select input field can now be configured
2014-10-16 00:30:24 -04:00
Jared Tabor
4d47d79235 fixed issue with survey question float validation
the survey question 'float' option was missing the wrong directive in the element attributes
2014-10-14 09:53:14 -04:00
Jared Tabor
995bf8c58f adding cancel button for survey question form
cancel button closes the survey question form and returns the modal into its previous state
2014-10-10 14:47:37 -04:00
Jared Tabor
7dd2612268 more validation on survey question
survey question needed to have validation that didn't allow the min/max values to overlap incorrectly and for the survey save button to be disabled if hte user is in the process of adding another question
2014-10-10 13:32:06 -04:00
Jared Tabor
13bf8d89d0 adding more survey maker form validation
added validation on integers and floats that ensure answers are int/floats and that they meet the restrictions placed by min/max
2014-10-09 00:26:24 -04:00
Jared Tabor
25ecd6326d adding directives to integer min/max and integer default answer fields
this was supposed to be included in the last commit
2014-10-08 11:58:46 -04:00
Jared Tabor
47deaa702d fixed default answer field in question maker. also added validation for choices if multichoice or multiselect is chosen 2014-10-06 16:15:16 -04:00
Jared Tabor
752f2d8013 adding updated survey maker with no survey name or survey description 2014-10-03 20:00:22 -04:00
Jared Tabor
9114cb2d89 for a textarea answer, default answer field should be a text area 2014-09-26 14:34:01 -04:00
Jared Tabor
40192b5172 survey maker additions for question types 2014-09-24 17:36:30 -04:00
Jared Tabor
d3e793e9ca changed survey maker to a modal window 2014-09-21 13:16:06 -04:00
Jared Tabor
9520970817 survey maker for going from add/edit job template to add/edit survey maker 2014-09-17 15:47:33 -04:00
Jared Tabor
ddd88b95b5 adding add/edit survey 2014-09-11 17:39:01 -04:00
Jared Tabor
64961f8504 adding beginning of survey maker and portal mode 2014-09-10 10:44:01 -04:00