root/app/views/account/overview.html.erb @ 10

Revision 1, 1.6 kB (checked in by falcon, 17 years ago)

Version one -> initial work from the laptop.

Line 
1<%= stylesheet_link_tag 'style' %>
2<%= stylesheet_link_tag 'scaffold' %>
3
4<%= javascript_include_tag :defaults %>
5
6<% user = @user %>
7
8<div style="background-color: white; padding: 15px; margin: 10px; padding-bottom: 50px;">
9        <h2><%= user.login %></h2>
10        <span style="width: 150px; float: left; margin-left: 6px;">
11                <b>Login</b>
12        </span>
13        <span style="width: 150px; float: left;">
14                <b>Role</b>
15        </span>
16        <span style="width: 200px; float: left;">
17                <b>E-mail</b>
18        </span>
19        <span style="width: 150px; float: left;">
20                <b>Password</b>
21        </span>
22        <div style="clear: both; clear: left; "></div>
23               
24        <div id="temp" value="<%=user.id%>" style="background-color: #efefef; border: 1px solid black; padding: 2px; margin: 2px; font-size: 14px;">
25                <span style="width: 150px; float: left; padding: 2px;">
26                        <%= user.login %>
27                </span>
28                <span style="width: 150px; float: left; padding: 2px;">
29                        <%= user.roles %>
30                </span>
31                <span style="width: 200px; float: left; padding: 2px;">
32                        <%= link_to_remote user.email,
33                                                                :update => 'change',
34                                                                :url => { :action => :change_email, :id => user.id } %>
35                </span>
36                <span style="width: 150px; float: left; padding: 2px;">
37                        <%= link_to_remote 'Reset/Change',
38                                                                :update => 'change',
39                                                                :url => { :action => :reset_password, :id => user.id } %>
40                </span>
41        </div>
42        <div style="clear: both; clear: left; "></div>
43
44        <div id="change" sytle=" padding-top: 50px; background-color: #efefef; border: 1px solid black;">
45       
46        </div>
47</div>
48
49<div style="background-color: white; padding: 5px; margin: 10px; font-weight: bold;">
50        <%= link_to 'Back to Main', :controller => 'main', :action => 'main' %>
51</div>
Note: See TracBrowser for help on using the browser.