<commit_before>{View, $} = require 'atom-space-pen-views'
{MiniEditorView} = require 'particle-dev-views'

CompositeDisposable = null
_s = null
Subscriber = null
spark = null
SettingsHelper = null
validator = null

module.exports =
class LoginView extends View
  @content: ->
    @div id: 'spark-dev-login-view', =>
      @div class: 'block', =>
        @span 'Log in to Particle Cloud '
        @span class: 'text-subtle', =>
          @text 'Close this dialog with the '
          @span class: 'highlight', 'esc'
          @span ' key'
      @subview 'emailEditor', new MiniEditorView('Could I please have an email address?')
      @subview 'passwordEditor', new MiniEditorView('and a password?')
      @div class: 'text-error block', outlet: 'errorLabel'
      @div class: 'block', =>
        @button click: 'login', id: 'loginButton', class: 'btn btn-primary', outlet: 'loginButton', 'Log in'
        @button click: 'cancel', id: 'cancelButton', class: 'btn', outlet: 'cancelButton', 'Cancel'
        @span class: 'three-quarters inline-block hidden', outlet: 'spinner'
        @a href: 'https://build.spark.io/forgot-password', class: 'pull-right', 'Forgot password?'
<commit_msg>Update Forgot password URL<commit_after>{View, $} = require 'atom-space-pen-views'
{MiniEditorView} = require 'particle-dev-views'

CompositeDisposable = null
_s = null
Subscriber = null
spark = null
SettingsHelper = null
validator = null

module.exports =
class LoginView extends View
  @content: ->
    @div id: 'spark-dev-login-view', =>
      @div class: 'block', =>
        @span 'Log in to Particle Cloud '
        @span class: 'text-subtle', =>
          @text 'Close this dialog with the '
          @span class: 'highlight', 'esc'
          @span ' key'
      @subview 'emailEditor', new MiniEditorView('Could I please have an email address?')
      @subview 'passwordEditor', new MiniEditorView('and a password?')
      @div class: 'text-error block', outlet: 'errorLabel'
      @div class: 'block', =>
        @button click: 'login', id: 'loginButton', class: 'btn btn-primary', outlet: 'loginButton', 'Log in'
        @button click: 'cancel', id: 'cancelButton', class: 'btn', outlet: 'cancelButton', 'Cancel'
        @span class: 'three-quarters inline-block hidden', outlet: 'spinner'
        @a href: 'https://build.particle.io/forgot-password', class: 'pull-right', 'Forgot password?'

{'fraction_non_alphanumeric': 0.14752724224643754, 'fraction_numerical': 0.0, 'mean_word_length': 3.4203703703703705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4982185', 'n_tokens_mistral': 737, 'n_tokens_neox': 716, 'n_words': 227}