Mercurial > hgrepos > hgweb.cgi > skipweb
changeset 2363:83c33ac39d1d
Updated
author | MURAKAMI Masaki <c112124@h.koeki-u.ac.jp> |
---|---|
date | Tue, 09 Sep 2014 15:12:18 +0900 |
parents | 83e28d89c196 |
children | e028e2a9a2cb |
files | 2014OC/admin/drawLots.html 2014OC/admin/drawLots.rb 2014OC/admin/operation.html 2014OC/admin/operation.rb |
diffstat | 4 files changed, 13 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/2014OC/admin/drawLots.html Tue Sep 09 14:55:40 2014 +0900 +++ b/2014OC/admin/drawLots.html Tue Sep 09 15:12:18 2014 +0900 @@ -19,6 +19,6 @@ <input type="submit" value="抽選"> <input type="reset" value="リセット"> </form> - +<p><a href=\"monitor.rb\">データ閲覧ページに戻る</a></p> </body> </html>
--- a/2014OC/admin/drawLots.rb Tue Sep 09 14:55:40 2014 +0900 +++ b/2014OC/admin/drawLots.rb Tue Sep 09 15:12:18 2014 +0900 @@ -65,13 +65,13 @@ printf("<p>1等はIDが%04dの方!おめでとー!</p>\n",tousen[i].to_i-1) printf("<p>2等はIDが%04dと%04dと%04dの方!おめでとー!</p>\n",tousen[i+=1].to_i-1,tousen[i+=1].to_i-1,tousen[i+=1].to_i-1) -print'<p><a href="drawLots.html">抽選ページ戻る</a></p>\n -<p><a href="monitor.html">抽選ページ戻る</a></p> +else + print"<p>抽選はまだ行いませんよ</p>\n" +end +print'<p><a href="drawLots.html">抽選ページに戻る</a></p>\n +<p><a href="monitor.rb">データ閲覧ページに戻る</a></p> ' else - print"<p>抽選はまだ行いませんよ</p>\n<p><a href=\"drawLots.html\">抽選ページ戻る</a></p>" -end -else printf("Content-type: text/html; charset=UTF-8\n\n") printf'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/h
--- a/2014OC/admin/operation.html Tue Sep 09 14:55:40 2014 +0900 +++ b/2014OC/admin/operation.html Tue Sep 09 15:12:18 2014 +0900 @@ -19,6 +19,7 @@ <input type="submit" value="削除"> <input type="reset" value="リセット"> </form> +<p><a href=\"monitor.rb\">データ閲覧ページに戻る</a></p> <address>c111126@g.koeki-u.ac.jp</address>
--- a/2014OC/admin/operation.rb Tue Sep 09 14:55:40 2014 +0900 +++ b/2014OC/admin/operation.rb Tue Sep 09 15:12:18 2014 +0900 @@ -25,19 +25,20 @@ text = "データは削除されません" end -printf'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +printf("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\" \"http://www.w3.org/TR/html4/strict.dtd\"> <html> <head> <title>Delete table</title> -<link rel="stylesheet" type="text/css" href="design.css"> +<link rel=\"stylesheet\" type=\"text/css\" href=\"design.css\"> </head> </body> %s -<p><a href="monitor.rb">データ閲覧ページへ</a></p> +<p><a href=\"monitor.rb\">データ閲覧ページへ</a></p> <p></p> </body></html> -',text - +", text) +print"<p><a href=\"monitor.rb\">データ閲覧ページに戻る</a></p>" +print"<p><a href=\"opration.html\">削除ページに戻る</a></p>" else printf'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/h tml4/strict.dtd">