annotate app/views/tweets/index.html.erb @ 130:faae69155f90

Improved wording?
author nanaya <me@nanaya.pro>
date Sun, 01 Oct 2017 03:55:01 +0900
parents 18f1c5f989bb
children 703ba01d273c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 <!DOCTYPE html>
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 <head>
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 <title>rsstweet</title>
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
5 <meta name="viewport" content="width=device-width, initial-scale=1.0">
51
d4bda7501b77 Less serif.
nanaya <me@myconan.net>
parents: 38
diff changeset
6
d4bda7501b77 Less serif.
nanaya <me@myconan.net>
parents: 38
diff changeset
7 <style type="text/css">
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
8 *, *::before, *::after {
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
9 box-sizing: border-box;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
10 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
11
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
12 html {
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
13 line-height: 1.5;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
14 font-family: Arial, sans-serif;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
15 font-size: 14px;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
16 height: 100%;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
17 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
18
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
19 code {
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
20 font-family: "Courier New", monospace;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
21 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
22
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
23 .main {
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
24 margin: auto;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
25 max-width: 600px;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
26 width: 100%;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
27 display: flex;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
28 flex-direction: column;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
29 height: 100%;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
30 padding: 0 10px;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
31 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
32
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
33 .main__content {
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
34 flex: 1;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
35 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
36
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
37 .main__footer {
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
38 padding: 5px 0;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
39 border-top: 1px solid #000;
119
18f1c5f989bb Forgot the footer margin
nanaya <me@myconan.net>
parents: 118
diff changeset
40 margin-top: 10px;
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
41 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
42
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
43 .twitter-form {
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
44 text-align: center;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
45 background-color: #eee;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
46 border: 1px solid #ccc;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
47 padding: 10px;
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
48 }
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
49
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
50 .twitter-form__input {
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
51 width: 100%;
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
52 margin-right: 5px;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
53 font-family: "Courier New", monospace;
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
54 font-size: 16px;
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
55 padding: 5px;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
56 }
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
57
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
58 .twitter-form__button {
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
59 margin-top: 10px;
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
60 padding: 5px 30px;
51
d4bda7501b77 Less serif.
nanaya <me@myconan.net>
parents: 38
diff changeset
61 }
d4bda7501b77 Less serif.
nanaya <me@myconan.net>
parents: 38
diff changeset
62 </style>
8
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
63 </head>
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
64 <body class="main">
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
65 <div class="main__content">
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
66 <h1>rsstweet</h1>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
67 <p>
118
dc67a2f34fb7 Wording
nanaya <me@myconan.net>
parents: 117
diff changeset
68 Proxies Twitter user timeline for usage with RSS readers.
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
69 Doesn't actually output <code>rss</code> but generates <code>atom</code> instead.
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
70 Not that it matters because either way it works with any RSS readers.
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
71 </p>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
72
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
73 <form class="twitter-form">
116
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
74 <input
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
75 name="id"
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
76 type="text"
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
77 placeholder="Enter Username"
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
78 class="twitter-form__input"
116
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
79 autofocus
32c8c150cd80 100% less javascripts
nanaya <me@myconan.net>
parents: 114
diff changeset
80 >
117
e3067b426b70 Improved style
nanaya <me@myconan.net>
parents: 116
diff changeset
81 <button type="submit" class="twitter-form__button">
114
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
82 Go
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
83 </button>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
84 </form>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
85 </div>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
86 <div class="main__footer">
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
87 <a href="https://bitbucket.org/nanaya1/rsstweet">Source</a>
394235fd42d2 Fancy index page
nanaya <me@myconan.net>
parents: 52
diff changeset
88 </div>
8
86abbc9ce81b Add static controller.
edogawaconan <me@myconan.net>
parents:
diff changeset
89 </body>