Code Monkey home page Code Monkey logo

base's Introduction

base's People

Contributors

jacine avatar sun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

sun neokang stevenx

base's Issues

Make the 'password_confirm' markup sane

Can't take user.js anymore. Must fix.

Before JS:

<div class="form-item form-type-password-confirm form-item-pass">
  <div class="form-item form-type-password form-item-pass-pass1">
    <label for="edit-pass-pass1">Password </label>
    <input class="password-field form-text" type="password" id="edit-pass-pass1" name="pass[pass1]" size="25" maxlength="128">
  </div>
  <div class="form-item form-type-password form-item-pass-pass2">
    <label for="edit-pass-pass2">Confirm password </label>
    <input class="password-confirm form-text" type="password" id="edit-pass-pass2" name="pass[pass2]" size="25" maxlength="128">
  </div>
  <div class="description">To change the current user password, enter the new password in both fields.</div>
</div>

After JS (sigh):

<div class="form-item form-type-password-confirm form-item-pass">
  <div class="form-item form-type-password form-item-pass-pass1 password-parent">
    <div class="password-strength">
      <div class="password-strength-text" aria-live="assertive">Weak</div>
      <div class="password-strength-title">Password strength:</div>
      <div class="password-indicator">
        <div class="indicator" style="width: 10%; "></div>
      </div>
    </div>
    <label for="edit-pass-pass1">Password </label>
   <input class="password-field form-text password-processed" type="password" id="edit-pass-pass1" name="pass[pass1]" size="25" maxlength="128">
  </div>
  <div class="form-item form-type-password form-item-pass-pass2 confirm-parent">
    <div class="password-confirm" style="visibility: visible; ">Passwords match: <span class="error">no</span></div>
    <label for="edit-pass-pass2">Confirm password </label>
    <input class="password-confirm form-text" type="password" id="edit-pass-pass2" name="pass[pass2]" size="25" maxlength="128"
  </div>
  <div class="password-suggestions description" style="display: block; ">
    To make your password stronger:
    <ul>
      <li>Make it at least 6 characters</li>
      <li>Add uppercase letters</li>
      <li>Add numbers</li>
      <li>Add punctuation</li>
    </ul>
  </div>
  <div class="description">To change the current user password, enter the new password in both fields.</div>
</div>

Drupal--

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.