annotate app/views/layouts/application.html.erb @ 449:c4a596b4be8a

Contact update
author nanaya <me@nanaya.pro>
date Thu, 27 Jul 2017 00:22:46 +0900
parents b5c71a54613b
children fa5a000dc7a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
2 <html>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
3 <head>
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
4 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
5 <title><%= html_title %></title>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
6 <meta name="viewport" content="width=device-width, initial-scale=1">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
7 <%= stylesheet_link_tag "application", :media => "all" %>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
8 </head>
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
9 <body>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
10 <nav class="navbar navbar-default navbar-static-top">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
11 <div class="container">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
12 <div class="navbar-header">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
13 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-menu">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
14 <span class="sr-only">Toggle navigation</span>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
15 <span class="icon-bar"></span>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
16 <span class="icon-bar"></span>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
17 <span class="icon-bar"></span>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
18 </button>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
19 <%= link_to "Zeropaste", root_path, :class => "navbar-brand" %>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
20 </div>
395
26f8c634052c Complete rework.
nanaya <me@myconan.net>
parents: 390
diff changeset
21
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
22 <div class="collapse navbar-collapse" id="navbar-menu">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
23 <ul class="nav navbar-nav navbar-right">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
24 <li>
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
25 <%= link_to t(".about"), "#",
410
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
26 :data => { :toggle => "modal",
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
27 :target => "#modal-about" }
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
28 %>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
29 </li>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
30 <li>
448
b5c71a54613b Update source url
nanaya <me@nanaya.pro>
parents: 410
diff changeset
31 <a href="https://bitbucket.org/nanayapro/zeropaste"><%= t(".source") %></a>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
32 </li>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
33 <li>
410
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
34 <%= link_to t(".donate"),
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
35 "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"
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
36 %>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
37 </li>
410
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
38 </ul>
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
39 </div>
a2f8e5c80769 Fix html compliance.
nanaya <me@myconan.net>
parents: 409
diff changeset
40 </div>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
41 </nav>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
42
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
43 <div class="container">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
44 <div class="row"><div class="col-xs-12">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
45 <h1 class="h2 zp-header page-header"><%= content_for :title %></h1>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
46 </div></div>
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 385
diff changeset
47
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
48 <%= render "layouts/alerts" %>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
49
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
50 <%= yield %>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
51
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
52 </div>
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
53
409
130dc1054fd2 Fix styling.
nanaya <me@myconan.net>
parents: 408
diff changeset
54 <div class="modal fade" id="modal-about" tabindex="-1" role="dialog" aria-labelledby="about-modal-label">
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
55 <div class="modal-dialog" role="document">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
56 <div class="modal-content">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
57 <div class="modal-header">
409
130dc1054fd2 Fix styling.
nanaya <me@myconan.net>
parents: 408
diff changeset
58 <h4 class="modal-title" id="about-modal-label"><%= t(".about") %></h4>
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
59 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
60
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
61 <div class="modal-body">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
62 <%= render "layouts/about" %>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
63 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
64 <div class="modal-footer">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
65 <button type="button" class="btn btn-default" data-dismiss="modal">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
66 <%= t("buttons.close") %>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
67 </button>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
68 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
69 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
70 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
71 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
72
216
e043da06b85f Load javascript last.
Edho Arief <edho@myconan.net>
parents: 150
diff changeset
73 <%= javascript_include_tag "application" %>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
74 </body>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
75 </html>