changeset 803:beedb19c7839

auth*2
author ARAKI Tsuyohito <c113007@e.koeki-u.ac.jp>
date Thu, 16 Jul 2015 14:55:34 +0900
parents 3290ba8f879e
children 29657610c8c2
files oasis2015/admin/.htaccess oasis2015/prof.rb
diffstat 2 files changed, 10 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/oasis2015/admin/.htaccess	Wed Jul 15 21:37:44 2015 +0900
+++ b/oasis2015/admin/.htaccess	Thu Jul 16 14:55:34 2015 +0900
@@ -3,7 +3,8 @@
 AddType "text/html; charset=utf-8" .html
 Options +ExecCGI
 AuthUserFile /home/www/skip/oasis2015/admin/.htpasswd
+AuthUserFile /home/irhome/c113/c113007/public_html/web/oasis2015/admin/.htpasswd
 AuthGroupFile /dev/null
-AuthName "HOGE"
+AuthName "splatoon! piyopiyogirl"
 AuthType Basic
 require valid-user
--- a/oasis2015/prof.rb	Wed Jul 15 21:37:44 2015 +0900
+++ b/oasis2015/prof.rb	Thu Jul 16 14:55:34 2015 +0900
@@ -270,17 +270,19 @@
 
 
 if lv == 1
-color = "black"
+  color = "black"
 elsif lv == 2
-color = "navy"
+  color = "navy"
 elsif lv == 3
-color = "green"
+  color = "green"
 elsif lv == 4
-color = "red"
+  color = "red"
 elsif lv == 5
-color = "yellow"
+  color = "yellow"
 else
-color = "pink"
+  color = "pink"
+  image = "./img/snail.png"
+  alt = "snails_bug"
 end
 #expが10あがる毎にlvが1あがる。
 #expの1の位*10で、次のレベルアップに必要な経験値の割合が出る。

yatex.org