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>
|
469
|
10 <nav class="navbar navbar-expand-lg navbar-light bg-light">
|
398
|
11 <div class="container">
|
469
|
12 <%= link_to "Zeropaste", root_path, :class => "navbar-brand" %>
|
|
13
|
|
14 <button
|
|
15 type="button"
|
|
16 class="navbar-toggler"
|
|
17 data-toggle="collapse"
|
|
18 data-target="#navbar-menu"
|
|
19 aria-controls="navbar-menu"
|
|
20 aria-expanded="false"
|
|
21 aria-label="<%= t('.toggle_nav') %>"
|
|
22 >
|
|
23 <span class="navbar-toggler-icon"></span>
|
|
24 </button>
|
395
|
25
|
398
|
26 <div class="collapse navbar-collapse" id="navbar-menu">
|
469
|
27 <ul class="navbar-nav ml-auto">
|
|
28 <li class="nav-item">
|
|
29 <%= link_to t(".about"), "#", {
|
|
30 data: {
|
|
31 toggle: "modal",
|
|
32 target: "#modal-about",
|
|
33 },
|
|
34 class: 'nav-link',
|
|
35 }
|
408
|
36 %>
|
|
37 </li>
|
469
|
38 <li class="nav-item">
|
|
39 <a class="nav-link" href="https://bitbucket.org/nanayapro/zeropaste"><%= t(".source") %></a>
|
398
|
40 </li>
|
469
|
41 <li class="nav-item">
|
410
|
42 <%= link_to t(".donate"),
|
469
|
43 "https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=GV9AHVHQAHXLJ",
|
|
44 class: 'nav-link'
|
410
|
45 %>
|
398
|
46 </li>
|
410
|
47 </ul>
|
|
48 </div>
|
|
49 </div>
|
398
|
50 </nav>
|
139
|
51
|
398
|
52 <div class="container">
|
469
|
53 <div class="row"><div class="col-12">
|
|
54 <h1 class="h2 pt-3 pb-1"><%= content_for :title %></h1>
|
398
|
55 </div></div>
|
386
|
56
|
398
|
57 <%= render "layouts/alerts" %>
|
|
58
|
379
|
59 <%= yield %>
|
0
|
60
|
398
|
61 </div>
|
408
|
62
|
469
|
63 <div class="modal fade" id="modal-about" tabindex="-1" role="dialog" aria-labelledby="about-modal-label" aria-hidden="true">
|
408
|
64 <div class="modal-dialog" role="document">
|
|
65 <div class="modal-content">
|
|
66 <div class="modal-header">
|
409
|
67 <h4 class="modal-title" id="about-modal-label"><%= t(".about") %></h4>
|
408
|
68 </div>
|
|
69
|
|
70 <div class="modal-body">
|
|
71 <%= render "layouts/about" %>
|
|
72 </div>
|
|
73 <div class="modal-footer">
|
469
|
74 <button type="button" class="btn btn-secondary" data-dismiss="modal">
|
408
|
75 <%= t("buttons.close") %>
|
|
76 </button>
|
|
77 </div>
|
|
78 </div>
|
|
79 </div>
|
|
80 </div>
|
|
81
|
468
|
82 <%= javascript_pack_tag "application" %>
|
139
|
83 </body>
|
0
|
84 </html>
|