Navigation Menu

Skip to content

Commit

Permalink
nice css finally
Browse files Browse the repository at this point in the history
  • Loading branch information
bhaugha committed Jun 11, 2011
1 parent de659e7 commit 08a2384
Show file tree
Hide file tree
Showing 8 changed files with 194 additions and 37 deletions.
4 changes: 2 additions & 2 deletions app/views/books/_form.html.erb
Expand Up @@ -17,10 +17,10 @@ else
end
end
%>
<div id="body" style="clear: both;">
<div id="body" style="margin-top:5em; clear: both;">

<% form_for(:book, :url => path, :html => {:method => method}) do |f| %>
<div class="head" style="position: fixed; top: 4.1em;">
<div class="head" style="top: 4.1em;">
<%= f.submit button_name, :class=>:button, :disabled => button_disabled %>
</div>
<div class="entity">
Expand Down
4 changes: 2 additions & 2 deletions app/views/books/_issue_book.html.erb
@@ -1,5 +1,5 @@
<% if @book.state -%>
<div class="head" style="position: fixed; top: 4.1em; right: 0;z-index: 3; width:50%;">
<div class="head" style="margin-top:4em; top: 4.1em; right: 0;z-index: 3; width:50%;">
<% if allowed(:book_states, :destroy)
form_tag book_state_path(@book.id), :method=>"delete", :style=>"float:right;" do %>
<input class="button" type="submit" value="return book"/>
Expand All @@ -8,7 +8,7 @@ end %>
<div style="float:right;" class="issued"><span>issued by </span><b><%= @book.state.issued_by.name %></b> on <%= @book.state.issued_at.strftime('%d.%b %Y %H:%M:%S') %></div>
</div>
<% else -%>
<div class="head" style="position: fixed; top: 4.1em; right: 0;z-index: 3; width:50%;">
<div class="head" top: 4.1em; right: 0;z-index: 3; width:50%;">
<% if allowed(:book_states, :create)
form_for(:book_state, :url => book_state_path) do |f| %>
<%= f.submit "issue", :class=>:button, :style=> "float:right" %>
Expand Down
21 changes: 10 additions & 11 deletions app/views/layouts/bills.html.erb
Expand Up @@ -18,7 +18,7 @@
<div class="header_resize">
<div class="logo">
<h1><a href="http://intranet/index.html">SAHYADRI EDUCATION CENTRE<small>krishnamurti foundation india</small></a></h1>
<marquee><font color=darkblue size=3><p>intranet resources</p></marquee></font> </div>



<div class="menu_nav">
Expand All @@ -31,7 +31,7 @@
</ul>
</div>
<div class="clr"></div>
<img src="<%= url_for(:controller => :bills) %>/../001.jpg" width="980" height="190" alt="image" class="hbg_img" />
<img src="<%= url_for(:controller => :bills) %>/../020.jpg" width="980" height="190" alt="image" class="hbg_img" />
<div class="clr">
</div>
</div>
Expand All @@ -58,15 +58,14 @@
<div class="mainbar">

<br><h3>Welcome! <%= controller.send(:current_user).name %></h3>
<p>Thank you for signing in for your needs to receive details of telephone, tuckshop, medical, transport expences and salary details.<br><br>
We trust that the users can better interface with the accounts and the administration of all the clarifications, they require.</p>

<p>Thank you for signing in for your needs to receive details of telephone, tuckshop, medical, transport expenses and salary details.<br><br>
We trust that through the intranet staff members can interface better with the school administration and accounts for any clarification they require.</p>

<br>
<font size=3 color=#495957><u>Students Records : </u></font><br>
<p>We look forward to sharing with you the students reports, address lists and other details<br>
<li><a target="_self" href="http://intranet/reports"><font color=black> Students Reports - </font></a><br></li><br>
<li><a target="_self" href="http://intranet/addresslist"><font color=black> Students Address List - </font></a></li></p>
<font size=3 color=#495957><u>Student Records : </u></font><br>
<p>We look forward to sharing with you the student reports, the student address list and other details.<br>
<li><a target="_self" href="http://intranet/reports"><font color=black> Student Reports - </font></a><br></li><br>
<li><a target="_self" href="http://intranet/addresslist"><font color=black> Student Address List - </font></a></li></p>

</div>
</div>
Expand All @@ -81,8 +80,8 @@ We trust that the users can better interface with the accounts and the administr

<div class="content_resize">
<div class="mainbar">
<p class="infopost">You must login to view the account details. <a href="mailto:sahyadri@mail"><font color=darkblue> Contact admin </font></a> if you are having problem or have forgotten your password.<br><br>
If you have any difficulty to receive bills, please contact to Account dept. or <a href="mailto:accounts@mail"><font color=darkblue> click here</font></a> to report.</p>
<p class="infopost">You must log in to view your account details.<a href="mailto:sahyadri@mail"><font color=darkblue> Contact admin </font></a>to report a problem or if you have forgotten your password.</p>

<p><font color=red> * </font><font color=darkgreen>for intranet users only</font>
</div>
</div>
Expand Down
3 changes: 3 additions & 0 deletions app/views/layouts/books.html.erb
Expand Up @@ -12,6 +12,9 @@
</head>
<body>




<p style="color: green"><%= flash[:notice] %></p>

<%= yield %>
Expand Down
18 changes: 16 additions & 2 deletions app/views/layouts/sahyadri.html.erb
Expand Up @@ -8,9 +8,17 @@
<meta http-equiv="refresh" content="<%= Configuration.instance.session_idle_timeout * 60 + 5 %>" />
<% end -%>
<title>Books: <%= controller.action_name %></title>
<%= stylesheet_link_tag 'scaffold' %>
<%= stylesheet_link_tag 'sahyadri' %>
</head>


<h1><a href="http://intranet">Sahyadri School</a><small>krishnamurti foundation india</small></h1>

<h2>Library Management System</h2>


<h4><a href="http://intranet"><font color=blue>[ INTRANET ]</font></a></h4>

<body>
<% if flash["notice"] || @notice -%>
<div id="notice"><%= flash["notice"] || @notice %></div>
Expand All @@ -34,17 +42,23 @@

</div>
<div class="navigation right">
<span>Welcome <%= controller.send(:current_user).name %></span>
<span>Welcome! <%= controller.send(:current_user).name %></span>

<% form_tag "", :method => :delete, :id => 'logout' do %>
<input class="button" type="submit" value="logout" />
<input type="hidden" name="login" value="<%= controller.send(:current_user).login %>" />
<% end %>
</div>
</div>


<%else %>
<% end -%>
<%= yield %>


</body>
</html>
Binary file removed public/001.jpg
Binary file not shown.

0 comments on commit 08a2384

Please sign in to comment.