comparison app/views/layouts/application.html.erb @ 408:f3cdc83b87b4

Add about.
author nanaya <me@myconan.net>
date Sun, 06 Sep 2015 04:55:56 +0900
parents 851432f21603
children 130dc1054fd2
comparison
equal deleted inserted replaced
407:9ba3451cc063 408:f3cdc83b87b4
20 </div> 20 </div>
21 21
22 <div class="collapse navbar-collapse" id="navbar-menu"> 22 <div class="collapse navbar-collapse" id="navbar-menu">
23 <ul class="nav navbar-nav navbar-right"> 23 <ul class="nav navbar-nav navbar-right">
24 <li> 24 <li>
25 <%= link_to t(".about"), "#",
26 :data => { :toggle => "modal",
27 :target => "#modal-about" }
28 %>
29 </li>
30 <li>
25 <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a> 31 <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a>
26 </li> 32 </li>
27 <li> 33 <li>
28 <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted"><%= t(".donate") %></a> 34 <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted"><%= t(".donate") %></a>
29 </li> 35 </li>
39 <%= render "layouts/alerts" %> 45 <%= render "layouts/alerts" %>
40 46
41 <%= yield %> 47 <%= yield %>
42 48
43 </div> 49 </div>
50
51 <div class="modal fade" id="modal-about" tabindex="-1" role="dialog" aria-labelledby="aboutModal">
52 <div class="modal-dialog" role="document">
53 <div class="modal-content">
54 <div class="modal-header">
55 <h4><%= t(".about") %></h4>
56 </div>
57
58 <div class="modal-body">
59 <%= render "layouts/about" %>
60 </div>
61 <div class="modal-footer">
62 <button type="button" class="btn btn-default" data-dismiss="modal">
63 <%= t("buttons.close") %>
64 </button>
65 </div>
66 </div>
67 </div>
68 </div>
69
44 <%= javascript_include_tag "application" %> 70 <%= javascript_include_tag "application" %>
45 </body> 71 </body>
46 </html> 72 </html>