-
-
Save inkredabull/6cbf1123018ff4b8d4d7bf96a398296e to your computer and use it in GitHub Desktop.
1st Attempt Callout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="alert alert-dismissible alert-warning b-callout" role="alert"> | |
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button> | |
<strong><i class="fa fa-info-circle" aria-hidden="true"></i> Important tips before you get started:</strong> | |
<ul> | |
<li class="b-callout__tip"> | |
<strong>Select all possibly-correct answers</strong> to keep good contributors in your job when there's a 'gray area' | |
</li> | |
<li class="b-callout__tip"> | |
<strong>Click "Skip" when in doubt</strong> to save time if providing good answer(s) or clear reasons looks hard to do quickly | |
</li> | |
</ul> | |
</div> | |
</div> | |
<script type="text/javascript"> | |
var id = 'has_seen_tq_fte_callout'; | |
CF.TestQuestions = CF.TestQuestions || {}; | |
CF.TestQuestions.count = parseInt(<%= @job.golds_count %>); | |
if (!localStorage.getItem(id) && CF.TestQuestions.count == 0) { | |
jQuery('.b-callout').css('visibility','visible'); | |
localStorage.setItem(id, true); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment