- 25 Aug, 2014 1 commit
-
-
Randall Leeds authored
-
- 23 Aug, 2014 17 commits
-
-
Randall Leeds authored
-
Randall Leeds authored
This isn't the most elegant thing. It may be time to drop angular-bootstrap. Ah, well.
-
Randall Leeds authored
Add markdown preview, add markdown help icon, and adjust styles for markdown output
-
Randall Leeds authored
-
Randall Leeds authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
RawKStar77 authored
-
Randall Leeds authored
Tag Styles
-
Randall Leeds authored
-
- 22 Aug, 2014 5 commits
-
-
RawKStar77 authored
-
Randall Leeds authored
The selectors and markup here could use a cleanup, but at least now collapsed annotations that have markdown lists and things will still collapse.
-
Randall Leeds authored
-
Randall Leeds authored
Tags Redux: styling tags
-
Jake & Randall authored
-
- 21 Aug, 2014 17 commits
-
-
RawKStar77 authored
-
Randall Leeds authored
-
Randall Leeds authored
Account Management
-
Randall Leeds authored
-
Randall Leeds authored
Otherwise, this only clears at the appropriate time when triggered by a scope change, not when triggered by keyup.
-
Randall Leeds authored
-
Randall Leeds authored
The form-input class now has the directive responsible for setting the error classes. It watches its scope and sets the errors only if the model is defined or pristine. This guard keeps the error class from being set until validation passes (when the model becomes defined) and keeps it from being cleared until the pristine state is reset. The form-validate directive is now just a controller for form-input to register with. It sets all fields to dirty and forces a render on submit. These mechanisms are better all around than trying to listen for a the model to be undefined and setting pristine automatically. The model is undefined whenever validation is failing. There are times when the from should maybe be cleared but still show errors. Now, it is left up to other code to set pristine if the form should be reset.
-
Aron Carroll authored
The $setViewValue field wasn't working.
-
Aron Carroll authored
This fixes an issue where logging in, then logging out and opening the login form will reveal a form with error messages. This is due to the execution order of events post login. https://github.com/hypothesis/h/pull/1275#issuecomment-51777983
-
Randall Leeds authored
-
Aron Carroll authored
-
Aron Carroll authored
-
Aron Carroll authored
-
Aron Carroll authored
-
Aron Carroll authored
-
Aron Carroll authored
Now all forms use the profile view name plus "form". For example the form for the edit_profile view would be editProfileForm. Each ngModel is namespaced on the scope by the form name. So again this would be $scope.editProfile. Lastly each field name uses the corresponding field in the request payload. All fields are camel case. This should make it far easier in future to read a form and match it to the http request.
-
Aron Carroll authored
-