1 | <% |
---|
2 | header=File.open("template/header.tmpl") |
---|
3 | footer=File.open("template/footer.tmpl") |
---|
4 | %> |
---|
5 | <%= header.read.gsub("<title>Vine Linux</title>","<title>#{$header_title}</title>") %> |
---|
6 | |
---|
7 | <div class="main1"> |
---|
8 | <div class="btn"><!--ソーシャルボタン--> |
---|
9 | |
---|
10 | <div class="floatleft"><g:plusone size="medium"></g:plusone></div> |
---|
11 | |
---|
12 | <div class="floatleft"> |
---|
13 | <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://vinelinux.org/" data-lang="ja">ツイート</a> |
---|
14 | <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script> |
---|
15 | </div> |
---|
16 | <div class="floatleft"><div class="fb-like" data-href="https://www.facebook.com/VineLinux" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div></div> |
---|
17 | </div><!--ソーシャルボタン終わり--> |
---|
18 | |
---|
19 | |
---|
20 | <div class="in-contents"> |
---|
21 | <!-- InstanceBeginEditable name="EditRegion3" --> |
---|
22 | |
---|
23 | <%= yield %> |
---|
24 | |
---|
25 | <h3>Project Vine メンバー紹介</h3> |
---|
26 | |
---|
27 | <% require 'digest/md5' %> |
---|
28 | <% require 'yaml' %> |
---|
29 | <% members = YAML.load_file('./conf/projectvine.yaml') %> |
---|
30 | <div class="members"> |
---|
31 | <% members.each do |member| %> |
---|
32 | <% if member[:email] |
---|
33 | email = member[:email].downcase |
---|
34 | else |
---|
35 | email = "" |
---|
36 | end |
---|
37 | hash = Digest::MD5.hexdigest(email) |
---|
38 | image_src = "http://www.gravatar.com/avatar/#{hash}" %> |
---|
39 | <div class="mb-cont"> |
---|
40 | <p class="mb-p"><%= member[:position] %></p> |
---|
41 | <div class="mb-box"> |
---|
42 | <p class="mb-name"> |
---|
43 | <a href="<%= member[:url] %>"><%= member[:name] %> |
---|
44 | <span class="mb-id">(id:<%= member[:id] %>)</span> |
---|
45 | </a> |
---|
46 | </p> |
---|
47 | <div class="mb-pic"><img src="<%= image_src %>" width="100" height="100"></div> |
---|
48 | <p class="mb-midashi">Twitter account</p> |
---|
49 | <p class="mb-twi"><a href="http://twitter.com/<%= member[:twitter] %>">@<%= member[:twitter] %></a></p> |
---|
50 | <p class="mb-midashi">GnuPG公開鍵</p> |
---|
51 | <p class="mb-pg"><a href="#">GnuPG 公開鍵</a></p> |
---|
52 | </div> |
---|
53 | </div> |
---|
54 | <% end %> |
---|
55 | </div> |
---|
56 | <br clear="both"> |
---|
57 | |
---|
58 | <h3>休眠中の Project Vine メンバー</h3> |
---|
59 | <ul> |
---|
60 | <li>まちのさとし (id:machino), @macMAC_</li> |
---|
61 | <li>隆 朋也 (id:taka)</li> |
---|
62 | <li>松本 庄司 (id:shom)</li> |
---|
63 | <li>武井 和久 (id:xtakei)</li> |
---|
64 | <li>にしいじゅん</li> |
---|
65 | </ul> |
---|
66 | |
---|
67 | <h3>Vine Linux 開発メンバー</h4> |
---|
68 | <p> |
---|
69 | Vine Linux の開発は Project Vine 以外の多くの方々のご協力によって支えられています。 |
---|
70 | 開発にご協力いただいている皆様は |
---|
71 | 「<a href="/contributors.html">Vine Linux 開発メンバー</a>」から見ることができます。 |
---|
72 | </p> |
---|
73 | |
---|
74 | <!-- InstanceEndEditable --> |
---|
75 | </div><!-- end in-contents --> |
---|
76 | </div><!-- main1 --> |
---|
77 | |
---|
78 | |
---|
79 | <%= footer.read %> |
---|