Assembla home | Assembla project page
 

Changeset 128

Show
Ignore:
Timestamp:
07/20/07 14:24:24 (1 year ago)
Author:
digitalspaghetti
Message:

Added password strength meter for passwords

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branch/views/elements/js_include.ctp

    r127 r128  
    1616<?php e($javascript->link('jquery.history_remote.pack'));?> 
    1717<?php e($javascript->link('jquery.ability'));?> 
     18<?php e($javascript->link('jquery.passstrength'));?> 
    1819<!-- WymEditor JavaScript--> 
    1920<?php e($javascript->link('wymeditor/jquery.wymeditor'));?> 
  • branch/views/layouts/default.ctp

    r127 r128  
    1212        <?php echo $html->css('default');?> 
    1313        <?php e($this->element('js_include'));?> 
    14          
    1514</head> 
    1615<body> 
  • branch/views/users/admin_add.ctp

    r118 r128  
    66                        <?php e($form->input('username', array('class' => 'required')));?> 
    77                        <?php e($form->input('passwd', array('class' => 'required')));?> 
     8                        <div style="width: 100px;"> 
     9                                <div id="UserPasswd_text" style="font-size: 10px;"></div> 
     10                                <div id="UserPasswd_bar" style="border: 1px solid white; font-size: 1px; height: 2px; width: 0px;"/></div> 
     11                        </div> 
    812                        <?php e($form->input('name', array('class' => 'required')));?> 
    913                        <?php e($form->input('email'));?> 
  • branch/webroot/js/webrocket.js

    r127 r128  
    6060        $j('#accessibility').ability(); 
    6161         
     62        $j('#UserPasswd').pstrength(); 
     63         
    6264        function showResponse(){ 
    6365                console.log(this);