#= require ../js/jquery-1.8.2.min.js #= require ../js/bootstrap.min.js g = exports ? this g.proceed = false $(-> $('[data-toggle=popover]').popover() $('#title').focus() user = $('#username').val() $.getJSON("/#{user}.json", (data) -> $('#username').val(data.username) $('#email').val(data.email) $('#profile').fadeIn() ) $('#confirm').blur(-> $('#confirm_error').remove() if $('#password').val() != $('#confirm').val() $('#password, #confirm').parent().addClass('has-error') $('#confirm').parent().after('
Passwords don\'t match
') else $('#password, #confirm').parent().removeClass('has-error') ) $('#profile').submit(-> $('#profile .form-control').blur() if $('#profile .has-error').length > 0 $('#profile .has-error').effect('shake', 500) return false ) ) amber'>amber coinos ui — legacy coinos.io web app (SvelteKit)coinos
aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Check.svelte
blob: 4c9f504b09619f581174cb478f6c2796b4194e65 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
<svg
	class="flex-shrink-0 w-5 h-5 text-gray-500 mr-1"
	fill="currentColor"
	viewBox="0 0 20 20"
	xmlns="http://www.w3.org/2000/svg"
	><path
		fill-rule="evenodd"
		d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
		clip-rule="evenodd"
	/></svg
>