Description:
merge
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r737:d8bb239a84f8 - - 3 files changed: 13 inserted, 24 deleted
@@ -48,15 +48,13 | |||||
|
48 | This is very important. You have to logout and login again since RVM change a lots of system. |
|
48 | This is very important. You have to logout and login again since RVM change a lots of system. |
|
49 |
|
49 | ||
|
50 | If you are using GUI version of Ubuntu, be sure to have Gnome Terminal (or any other terminal you are using) perform login every time. This can be done by mark the check box "Run command as a login shell" in Gnome terminal or by adding --login to bash. |
|
50 | If you are using GUI version of Ubuntu, be sure to have Gnome Terminal (or any other terminal you are using) perform login every time. This can be done by mark the check box "Run command as a login shell" in Gnome terminal or by adding --login to bash. |
|
51 |
|
51 | ||
|
52 | === 3. Install necessary package |
|
52 | === 3. Install necessary package |
|
53 |
|
53 | ||
|
54 |
- cafe@grader:~$ sudo apt install libmysqlclient-dev default-jdk unzip nodejs php |
|
54 | + cafe@grader:~$ sudo apt install libmysqlclient-dev default-jdk unzip nodejs php-cli apache2 dirmngr gnupg apache2-dev |
|
55 | - |
|
||
|
56 | - curl build-essential |
|
||
|
57 |
|
55 | ||
|
58 | === 4. Install cafe-grader |
|
56 | === 4. Install cafe-grader |
|
59 |
|
57 | ||
|
60 | First, ensure that RVM is installed correctly. |
|
58 | First, ensure that RVM is installed correctly. |
|
61 |
|
59 | ||
|
62 | cafe@grader:~$ rvm |
|
60 | cafe@grader:~$ rvm |
@@ -2,34 +2,35 | |||||
|
2 |
|
2 | ||
|
3 | %h1 Your account settings |
|
3 | %h1 Your account settings |
|
4 |
|
4 | ||
|
5 | -#%p |
|
5 | -#%p |
|
6 | -#You can edit your alias and e-mails. Just click on the text and edit it. |
|
6 | -#You can edit your alias and e-mails. Just click on the text and edit it. |
|
7 |
|
7 | ||
|
8 | - %table.uinfo |
|
8 | + %table.table.table-bordered{:style => "width:30%"} |
|
9 | %tr |
|
9 | %tr |
|
10 |
- %th |
|
10 | + %th Login |
|
11 |
- %td |
|
11 | + %td= @user.login |
|
12 | %tr |
|
12 | %tr |
|
13 |
- %th |
|
13 | + %th Full name |
|
14 |
- %td |
|
14 | + %td= @user.full_name |
|
15 | -#%tr |
|
15 | -#%tr |
|
16 | -#%th.uinfo Alias |
|
16 | -#%th.uinfo Alias |
|
17 | -#%td.uinfo= in_place_editor_field :user, 'alias_for_editing', {}, :rows => 1 |
|
17 | -#%td.uinfo= in_place_editor_field :user, 'alias_for_editing', {}, :rows => 1 |
|
18 | -#%tr |
|
18 | -#%tr |
|
19 | -#%th.uinfo E-mail |
|
19 | -#%th.uinfo E-mail |
|
20 | -#%td.uinfo= in_place_editor_field :user, 'email_for_editing', {}, :rows => 1 |
|
20 | -#%td.uinfo= in_place_editor_field :user, 'email_for_editing', {}, :rows => 1 |
|
21 | %tr |
|
21 | %tr |
|
22 |
- %th |
|
22 | + %th Password |
|
23 |
- %td |
|
23 | + %td |
|
24 | = form_tag :action => 'chg_passwd', :method => 'post' do |
|
24 | = form_tag :action => 'chg_passwd', :method => 'post' do |
|
25 | %table |
|
25 | %table |
|
26 | %tr |
|
26 | %tr |
|
27 | - %td= password_field_tag 'passwd' |
|
27 | + %td |
|
|
28 | + %input{:type => "password", :class => "form-control", :name => "passwd", :id => "passwd"} | ||
|
28 | %td (new) |
|
29 | %td (new) |
|
29 | %tr |
|
30 | %tr |
|
30 | - %td= password_field_tag 'passwd_verify' |
|
31 | + %td |
|
|
32 | + %input{:type => "password", :class => "form-control", :name => "passwd_verify", :id => "passwd_verify"} | ||
|
31 | %td (verify) |
|
33 | %td (verify) |
|
32 | %tr |
|
34 | %tr |
|
33 | %td{:colspan => "2"} |
|
35 | %td{:colspan => "2"} |
|
34 | - = submit_tag 'change password' |
|
36 | + %input{:type => "button", :class => "btn btn-default", :name => "commit", :value => "Change Password"} |
|
35 | - |
|
deleted file |
You need to be logged in to leave comments.
Login now