/lenasys/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/lenasys/trunk

« back to all changes in this revision

Viewing changes to codeigniter/application/views/header.php

  • Committer: a11andoh
  • Date: 2013-05-23 13:13:40 UTC
  • mfrom: (90 lenasys_b)
  • mto: This revision was merged to the branch mainline in revision 97.
  • Revision ID: a11andoh@student.his.se-20130523131340-8xxbg6a6b99m7v6p
blurp

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
1
<!-- header.php -->
3
2
<div id="header">
4
3
        <span class="title">Läran om Gson - D1POPCRN (7.5hp)</span>
39
38
                        <a href="<?php echo base_url(); ?>logout"><li>Logout</li></a>
40
39
                </ul>
41
40
        </div>
42
 
</div>
43
 
 
44
 
        <div id="passwordChanger">
45
 
                <p class="passwordHeader">Change password</p><p class="passwordHeaderBorder"></p>
46
 
                <form id="changePassword" onsubmit="return confirm('<?php echo base_url(); ?>'); return false;">
47
 
                        <p>Current password:
48
 
                                <span class="errorMessage" name="currentPwd" title="Enter your current password.">#</span>
49
 
                                <input type="password" id="currentPwd"/>
50
 
                        </p>
51
 
                        <p>New password:
52
 
                                <span class="errorMessage" name="newPwd" title="Password can only use: a-z A-Z 0-9 _ - and must be of minimum 6 characters.">#</span>
53
 
                                <input type="password" id="newPwd" onkeyup="validNewPwd(), validRepeatedPwd();"/>
54
 
                        </p>
55
 
                        <p>Repeat password:
56
 
                                <span class="errorMessage" name="repeatPwd" title="Passwords don't match!">#</span>
57
 
                                <input type="password" id="repeatPwd" onkeyup="validRepeatedPwd();"/>
58
 
                        </p>
59
 
                        <p>Password hint:
60
 
                                <span class="errorMessage" name="hintPwd" title="This hint should be cool!">#</span>
61
 
                                <input type="text" id="hintPwd"/>
62
 
                        </p>
63
 
                        <input type="button" class="button" value="Cancel" onclick="cancelPasswordChange();"/>
64
 
                        <input type="button" class="button" value="Ok" onclick="confirm('<?php echo base_url(); ?>');"/>
65
 
                </form>
66
 
        </div>
67
 
                <div id="loginFormContainer" hidden="hidden">
68
 
                <h2 class="loginTitle">Login<button type="button" id="popupxButton" onClick="loginButtonHide()">x</button></h2>
69
 
                <?php echo form_open('login/validate'); ?>
70
 
                <div class="inputarea">
71
 
                        <input class="text" type="text" size="20" id="username" name="username" placeholder="username"/><br>
72
 
                        <input class="text" type="password" size="20" id="password" name="password" placeholder="password"/><br>
73
 
                
74
 
                
75
 
 
76
 
                </div>
77
 
                <div>
78
 
                        <input class="hint btn" type="button" onclick="passwordHint('<?php echo base_url(); ?>');"/>
79
 
                        <input class="submit btn" type="submit" value="Login"/>
80
 
                        <div id='hinttext'></div>
81
 
                </div>
82
 
                </form>
83
 
        </div>
84
 
        
 
 
b'\\ No newline at end of file'
 
41
</div>  
 
 
b'\\ No newline at end of file'