0
|
1 <!DOCTYPE html>
|
|
2 <html>
|
139
|
3 <head>
|
|
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
|
|
5 <title><%= html_title %></title>
|
398
|
6 <meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7 <%= stylesheet_link_tag "application", :media => "all" %>
|
139
|
8 </head>
|
|
9 <body>
|
398
|
10 <nav class="navbar navbar-default navbar-static-top">
|
|
11 <div class="container">
|
|
12 <div class="navbar-header">
|
|
13 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-menu">
|
|
14 <span class="sr-only">Toggle navigation</span>
|
|
15 <span class="icon-bar"></span>
|
|
16 <span class="icon-bar"></span>
|
|
17 <span class="icon-bar"></span>
|
|
18 </button>
|
|
19 <%= link_to "Zeropaste", root_path, :class => "navbar-brand" %>
|
|
20 </div>
|
395
|
21
|
398
|
22 <div class="collapse navbar-collapse" id="navbar-menu">
|
|
23 <ul class="nav navbar-nav navbar-right">
|
|
24 <li>
|
408
|
25 <%= link_to t(".about"), "#",
|
410
|
26 :data => { :toggle => "modal",
|
|
27 :target => "#modal-about" }
|
408
|
28 %>
|
|
29 </li>
|
|
30 <li>
|
448
|
31 <a href="https://bitbucket.org/nanayapro/zeropaste"><%= t(".source") %></a>
|
398
|
32 </li>
|
|
33 <li>
|
410
|
34 <%= link_to t(".donate"),
|
450
|
35 "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GV9AHVHQAHXLJ"
|
410
|
36 %>
|
398
|
37 </li>
|
410
|
38 </ul>
|
|
39 </div>
|
|
40 </div>
|
398
|
41 </nav>
|
139
|
42
|
398
|
43 <div class="container">
|
|
44 <div class="row"><div class="col-xs-12">
|
|
45 <h1 class="h2 zp-header page-header"><%= content_for :title %></h1>
|
|
46 </div></div>
|
386
|
47
|
398
|
48 <%= render "layouts/alerts" %>
|
|
49
|
379
|
50 <%= yield %>
|
0
|
51
|
398
|
52 </div>
|
408
|
53
|
409
|
54 <div class="modal fade" id="modal-about" tabindex="-1" role="dialog" aria-labelledby="about-modal-label">
|
408
|
55 <div class="modal-dialog" role="document">
|
|
56 <div class="modal-content">
|
|
57 <div class="modal-header">
|
409
|
58 <h4 class="modal-title" id="about-modal-label"><%= t(".about") %></h4>
|
408
|
59 </div>
|
|
60
|
|
61 <div class="modal-body">
|
|
62 <%= render "layouts/about" %>
|
|
63 </div>
|
|
64 <div class="modal-footer">
|
|
65 <button type="button" class="btn btn-default" data-dismiss="modal">
|
|
66 <%= t("buttons.close") %>
|
|
67 </button>
|
|
68 </div>
|
|
69 </div>
|
|
70 </div>
|
|
71 </div>
|
|
72
|
468
|
73 <%= javascript_pack_tag "application" %>
|
139
|
74 </body>
|
0
|
75 </html>
|