annotate 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
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"), "#",
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
26 :data => { :toggle => "modal",
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
27 :target => "#modal-about" }
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>
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
31 <a href="https://bitbucket.org/nanaya1/zeropaste"><%= t(".source") %></a>
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>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
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>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
35 </li>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
36 </ul>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
37 </div>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
38 </nav>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
39
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
40 <div class="container">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
41 <div class="row"><div class="col-xs-12">
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
42 <h1 class="h2 zp-header page-header"><%= content_for :title %></h1>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
43 </div></div>
386
bf9e350f8a2b Add styling to the alerts.
nanaya <me@myconan.net>
parents: 385
diff changeset
44
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
45 <%= render "layouts/alerts" %>
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
46
379
2ad092e60975 [mq]: new-design
nanaya <me@myconan.net>
parents: 371
diff changeset
47 <%= yield %>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
48
398
851432f21603 Nope, failing at redesigning.
nanaya <me@myconan.net>
parents: 395
diff changeset
49 </div>
408
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
50
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
51 <div class="modal fade" id="modal-about" tabindex="-1" role="dialog" aria-labelledby="aboutModal">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
52 <div class="modal-dialog" role="document">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
53 <div class="modal-content">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
54 <div class="modal-header">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
55 <h4><%= t(".about") %></h4>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
56 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
57
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
58 <div class="modal-body">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
59 <%= render "layouts/about" %>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
60 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
61 <div class="modal-footer">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
62 <button type="button" class="btn btn-default" data-dismiss="modal">
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
63 <%= t("buttons.close") %>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
64 </button>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
65 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
66 </div>
f3cdc83b87b4 Add about.
nanaya <me@myconan.net>
parents: 398
diff changeset
67 </div>
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
216
e043da06b85f Load javascript last.
Edho Arief <edho@myconan.net>
parents: 150
diff changeset
70 <%= javascript_include_tag "application" %>
139
255f8f9455a0 Simplified base layout.
Edho Arief <edho@myconan.net>
parents: 90
diff changeset
71 </body>
0
4aa8194a1733 Initial.
Edho Arief <edho@myconan.net>
parents:
diff changeset
72 </html>