Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
new css work and users, login page modified
- Loading branch information
Showing
16 changed files
with
161 additions
and
121 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ | |
:update => [:users], | ||
:new => [:users], | ||
:create => [:users], | ||
:reset_password => [:users], | ||
:destroy => [] }) | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<%= render :partial => "common/head", :locals => { :prefix => "book", :fuzzy => true, :path => books_path, :new_path => nil, :delete_path => nil } %> | ||
<%= render :partial => "form", :locals => { :disabled => false } %> |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
<form method="post"> | ||
<br> | ||
<div class=login_form><br> | ||
|
||
<div align=center><img src="<%= url_for(:controller => :bills) %>/../Login.png" title="bills" border="0" width="48" height="48" alt="image"><br><br><font color=#0033FF>My account and Library management system</div><br> | ||
|
||
<form style=margin-left:25%; method="post"> | ||
|
||
<p> | ||
<label for="login">login</label><br /> | ||
<label for="login"><b>login </b></label><br /> | ||
<input type="text" name="login" /> | ||
</p> | ||
<p> | ||
<label for="password">password</label><br /> | ||
<label for="password"><b>password </b></label><br /> | ||
<input type="password" name="password" /> | ||
</p> | ||
<p> | ||
<input type="submit" value="login" /> | ||
</p> | ||
</form> | ||
<input type="submit" class="button" value="login" /> | ||
</p> | ||
</font> | ||
</div><br><br><br> | ||
<div class="content_resize"> | ||
|
||
<p class="infopost_new">This is a restricted network. Use of this network, its equipment, and resources is monitored at all times and requires explicit permission from the network administrator. <br><br> | ||
|
||
<a href="mailto:sahyadri@mail"><font color=darkblue> Contact </font></a>administrator to report a problem or if you have forgotten your password. This facility is available only for teachers and staff.<br></p> | ||
|
||
|
||
|
||
</div></form> | ||
|
||
|
||
|
||
</div></div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -48,3 +48,5 @@ end | |
|
||
</div> | ||
<% end %> | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,14 @@ | ||
<h2>Users Management System</h2> | ||
<%= render :partial => "common/head", :locals => { :prefix => "user", :fuzzy => false, :path => users_path, :new_path => new_user_path, :delete_path => user_path(@user.id) } %> | ||
|
||
<div id="body" style="clear: both;"> | ||
|
||
|
||
<%= render :partial => "form", :locals => { :disabled => false } %> | ||
|
||
<form> | ||
<input type="button" class="button" title="reset_password" value="reset password" onclick="location.href='<%= "reset_password" %>'"> | ||
</form> | ||
|
||
|
||
</div> |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
<h2>Users Management System</h2> | ||
<%= render :partial => "common/head", :locals => { :prefix => "user", :fuzzy => false, :path => users_path, :new_path => new_user_path, :delete_path => user_path(@user.id) } %> | ||
|
||
<div id="body" style="clear: both;"> | ||
</div> | ||
|
||
<div style="margin-top:2em;"> | ||
|
||
<form> | ||
<input type="button" class="button" title="edit user" value="edit user" onclick="location.href='<%= edit_user_path %>'"> | ||
<input type="button" class="button" title="reset_password" value="reset password" onClick="location.href='<%= "reset_password" %>'"> | ||
</form><br> | ||
|
||
|
||
<div style="margin-top:1em; font-weight:normal; color:black;"> | ||
<font color="black"><b>Account details : </b></font></div> | ||
|
||
<div style="margin-top:1em; font-weight:normal; color:black;"> | ||
<table border="2" bordercolor="orange" style="background-color:white" width="500" cellpadding="6" cellspacing="2"> | ||
|
||
|
||
|
||
<tr> | ||
|
||
<td><b><font color=red> * </font>Name :</b> </td> | ||
<td><%= render :text => "#{@user.name}" %></td> | ||
|
||
</tr> | ||
<tr> | ||
<td><b><font color=red> * </font> Login : </b></td> | ||
<td><%= render :text => "#{@user.login}" %> </td> | ||
</tr> | ||
<tr> | ||
<td><b><font color=red> * </font> Login id : </b></td> | ||
<td><%= render :text => "#{@user.id}" %> </td> | ||
</tr> | ||
|
||
<tr> | ||
<td><b><font color=red> * </font> New password :</b></td> | ||
<td><%= render :text => "#{@user.password}" %></td> | ||
</tr> | ||
|
||
<tr> | ||
<td><b><font color=red> * </font> Email ID :</b></td> | ||
<td><%= render :text => "#{@user.email}" %></td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
<td><b><font color=red> * </font> Primary Group :</b></td> | ||
<td><%= render :text => "#{@user.primary}" %></td> | ||
</tr> | ||
|
||
<tr> | ||
<td><b><font color=red> * </font> Groups :</b></td> | ||
<td><%= render :text => "#{@user.group_ids}" %></td> | ||
</tr> | ||
|
||
|
||
</table> | ||
</div> | ||
|
||
</div> |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.