Verified Commit 8c5b534e authored by Luc Didry's avatar Luc Didry

Fix !38

- remove unnecessary css file
- replace js with css
- use new logo for all different sizes of logo
- fix responsive design
- fix milligram theme
parent c7a416a8
EXTRACTDIR=-D lib -D themes/default
EXTRACTDIR=-D lib -D themes/default/templates
POT=themes/default/lib/Lstu/I18N/lstu.pot
XGETTEXT=carton exec local/bin/xgettext.pl
CARTON=carton exec
......
......@@ -300,14 +300,6 @@ sub startup {
);
})->name('lstu.js');
$r->get('/partial/button_so.js' => sub {
my $c = shift;
$c->render(
template => 'partial/button_so',
format => 'js'
);
})->name('button_so.js');
$r->get('/extensions' => sub {
shift->render(template => 'extensions');
})->name('extensions');
......
......@@ -24,7 +24,7 @@ msgstr ""
msgid "A page with a table containing the same informations that the JSON response"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:49
#: themes/default/templates/layouts/default.html.ep:54
msgid "About"
msgstr ""
......@@ -36,7 +36,7 @@ msgstr ""
msgid "Bad password"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:61
#: themes/default/templates/layouts/default.html.ep:66
msgid "Browser extensions"
msgstr ""
......@@ -80,14 +80,6 @@ msgstr ""
msgid "Go!"
msgstr ""
#: themes/default/public/css/bootstrap-lstu.min.css:13 themes/default/public/css/lstu.css:15
msgid "Henny Penny"
msgstr ""
#: themes/default/public/css/bootstrap-lstu.min.css:13 themes/default/public/css/lstu.css:15
msgid "HennyPenny-Regular"
msgstr ""
#: themes/default/templates/partial/lstu.js.ep:30
msgid "Hit Enter, then Ctrl+C to copy the short link"
msgstr ""
......@@ -133,7 +125,7 @@ msgstr ""
msgid "JSON: success"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:48
#: themes/default/templates/layouts/default.html.ep:53
msgid "License:"
msgstr ""
......@@ -141,7 +133,7 @@ msgstr ""
msgid "Login"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:54
#: themes/default/templates/layouts/default.html.ep:59
msgid "Logout"
msgstr ""
......@@ -198,7 +190,7 @@ msgstr ""
msgid "Should always be successful"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:56 themes/default/templates/login.html.ep:16 themes/default/templates/logout.html.ep:5
#: themes/default/templates/layouts/default.html.ep:61 themes/default/templates/login.html.ep:16 themes/default/templates/logout.html.ep:5
msgid "Signin"
msgstr ""
......@@ -206,7 +198,7 @@ msgstr ""
msgid "Sorry, unable to parse the provided file"
msgstr ""
#: themes/default/templates/layouts/default.html.ep:53 themes/default/templates/layouts/default.html.ep:59 themes/default/templates/stats.html.ep:4
#: themes/default/templates/layouts/default.html.ep:58 themes/default/templates/layouts/default.html.ep:64 themes/default/templates/stats.html.ep:4
msgid "Statistics"
msgstr ""
......
body {
padding-top: 40px;
padding-bottom: 40px;
background-color: rgba(183, 159, 230, 0.753);
}
.container {
......@@ -32,7 +31,7 @@ body {
.oswald {
font-family: 'Oswald';
font-size: 100px;
font-size: 42px;
}
.hennypenny {
......@@ -78,5 +77,8 @@ dd > strong {
}
.allons-y:hover {
background-size: 100% 100%, 100% 100%;
}
\ No newline at end of file
background-size: 101% 100%;
}
.allons-y:active {
box-shadow: none; transform: translate(2px, 2px); transition: all 0.1s;
}
This source diff could not be displayed because it is too large. You can view the blob instead.
themes/default/public/favicon.ico

14.7 KB | W: | H:

themes/default/public/favicon.ico

21.2 KB | W: | H:

themes/default/public/favicon.ico
themes/default/public/favicon.ico
themes/default/public/favicon.ico
themes/default/public/favicon.ico
  • 2-up
  • Swipe
  • Onion skin
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="304.132px" height="378.512px" viewBox="0 0 304.132 378.512" enable-background="new 0 0 304.132 378.512"
xml:space="preserve">
<g>
<g>
<g>
<path fill="#231F20" d="M235.405,144.066h-164.1v-33.467c0-43.835,35.535-79.37,79.371-79.37h5.359
c43.836,0,79.369,35.535,79.369,79.37V144.066z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#FFFFFF" d="M122.516,75.256c-12.99,7.393-22.58,14.545-27.373,11.127c-4.789-3.415-3.287-16.879,11.949-28.604
c15.238-11.729,30.242-10.71,34.088-5.591C145.659,58.145,139.616,65.523,122.516,75.256z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#231F20" d="M264.145,166.489c-15.203-1.225-64.404-1.256-110.791-0.963c-46.383-0.293-95.588-0.262-110.793,0.963
c-31.145,2.511-19.09,35.165-5.023,45.72c5.125,3.845,28.699,6.485,43.82,8.292v-21.378h143.996V220.5
c15.119-1.807,38.691-4.447,43.818-8.292C283.237,201.654,295.292,169,264.145,166.489z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#FF6A00" d="M153.989,220.521l-0.006-0.021c0,0-0.221,0-0.637,0.007c-0.416-0.007-0.639-0.007-0.639-0.007
l-0.004,0.021c-8.559,0.269-57.361,3.933-55.986,52.977c1.506,53.746,38.344,66.304,54.086,64.794
c0.928-0.085,4.268,0.348,6.623,0.102c16.484,0.581,51.104-12.833,52.566-64.896C211.368,224.454,162.553,220.79,153.989,220.521
z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#FF6A00" d="M153.989,220.521l-0.006-0.021c0,0-0.221,0-0.637,0.007c-0.416-0.007-0.639-0.007-0.639-0.007
l-0.004,0.021c-8.559,0.269-57.361,3.933-55.986,52.977c1.506,53.746,38.344,66.304,54.086,64.794
c0.928-0.085,4.268,0.348,6.623,0.102c16.484,0.581,51.104-12.833,52.566-64.896C211.368,224.454,162.553,220.79,153.989,220.521
z"/>
</g>
</g>
</g>
<g>
<path fill="#B24B04" d="M157.426,318.381c-2.355,0.246-5.695-0.187-6.623-0.102c-14.828,1.422-48.367-9.643-53.473-55.847
c-0.5,3.405-0.725,7.083-0.613,11.064c1.506,53.746,38.344,66.304,54.086,64.794c0.928-0.085,4.268,0.348,6.623,0.102
c16.484,0.581,51.104-12.833,52.566-64.896c0.111-3.985-0.113-7.667-0.615-11.075C204.442,307.096,172.924,318.928,157.426,318.381
z"/>
</g>
<g>
<g>
<g>
<path fill="#FFFFFF" d="M163.405,251.39h-20.098c-10.82,0-19.592,8.767-19.592,19.59c0,10.818,8.771,19.592,19.592,19.592h0.166
v-6.697c0-5.452,4.424-9.874,9.879-9.874c5.457,0,9.879,4.422,9.879,9.874v6.697h0.174c10.818,0,19.588-8.773,19.588-19.592
C182.993,260.157,174.223,251.39,163.405,251.39z"/>
</g>
</g>
</g>
<g>
<g>
<g>
<path fill="#231F20" d="M168.956,266.961h-31.203c-2.217,0-4.018-1.799-4.018-4.018c0-2.218,1.801-4.016,4.018-4.016h31.203
c2.219,0,4.02,1.798,4.02,4.016C172.975,265.163,171.174,266.961,168.956,266.961z"/>
</g>
</g>
</g>
</svg>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
id="Layer_1"
x="0px"
y="0px"
width="378.51199"
height="378.51199"
viewBox="0 0 378.51201 378.512"
enable-background="new 0 0 304.132 378.512"
xml:space="preserve"
sodipodi:docname="lstu.svg"
inkscape:export-filename="/home/luc/tmp/lstu-t/themes/default/public/img/mstile-lstu70.png"
inkscape:export-xdpi="17.75"
inkscape:export-ydpi="17.75"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata67"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs65" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1918"
inkscape:window-height="1046"
id="namedview63"
showgrid="false"
inkscape:zoom="1.4517466"
inkscape:cx="81.606751"
inkscape:cy="118.64704"
inkscape:window-x="0"
inkscape:window-y="32"
inkscape:window-maximized="0"
inkscape:current-layer="layer3"
inkscape:pagecheckerboard="false" />
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Barbe"
style="display:inline"><g
id="g32"
transform="translate(35.902053,4.406215)">
<g
id="g30">
<g
id="g28">
<path
style="fill:#ff6a00"
d="M 188.60938 224.90625 L 188.60547 224.92773 C 180.04647 225.19673 131.24414 228.8603 132.61914 277.9043 C 134.12514 331.6503 170.96308 344.20727 186.70508 342.69727 C 187.63308 342.61227 190.97312 343.04678 193.32812 342.80078 C 209.81213 343.38178 244.43253 329.9673 245.89453 277.9043 C 247.27053 228.8603 198.45463 225.19673 189.89062 224.92773 L 189.88477 224.90625 C 189.88477 224.90625 189.66405 224.90706 189.24805 224.91406 C 188.83205 224.90706 188.60938 224.90625 188.60938 224.90625 z M 179.20898 255.79688 L 199.30664 255.79688 C 210.12464 255.79687 218.89453 264.56372 218.89453 275.38672 C 218.89453 286.20572 210.12464 294.97852 199.30664 294.97852 L 199.13281 294.97852 L 199.13281 288.28125 C 199.13281 282.82925 194.71091 278.40625 189.25391 278.40625 C 183.79891 278.40625 179.375 282.82925 179.375 288.28125 L 179.375 294.97852 L 179.20898 294.97852 C 168.38798 294.97852 159.61719 286.20472 159.61719 275.38672 C 159.61719 264.56372 168.38898 255.79688 179.20898 255.79688 z "
transform="translate(-35.902053,-4.406215)"
id="path26" />
</g>
</g>
</g><g
id="g44"
transform="translate(35.902053,4.406215)">
<path
style="fill:#b24b04"
inkscape:connector-curvature="0"
d="m 157.426,318.381 c -2.355,0.246 -5.695,-0.187 -6.623,-0.102 -14.828,1.422 -48.367,-9.643 -53.473,-55.847 -0.5,3.405 -0.725,7.083 -0.613,11.064 1.506,53.746 38.344,66.304 54.086,64.794 0.928,-0.085 4.268,0.348 6.623,0.102 16.484,0.581 51.104,-12.833 52.566,-64.896 0.111,-3.985 -0.113,-7.667 -0.615,-11.075 -4.935,44.675 -36.453,56.507 -51.951,55.96 z"
id="path42" />
</g><g
id="g52-0"
transform="translate(35.90205,4.4062134)"><g
id="g50-1"><g
id="g48-3" /></g></g></g><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="hat"><g
style=""
id="g8"
transform="translate(35.902053,4.406215)">
<g
id="g6">
<g
id="g4">
<path
style="fill:#231f20"
inkscape:connector-curvature="0"
d="m 235.405,144.066 h -164.1 v -33.467 c 0,-43.835 35.535,-79.37 79.371,-79.37 h 5.359 c 43.836,0 79.369,35.535 79.369,79.37 v 33.467 z"
id="path2" />
</g>
</g>
</g><g
style=""
id="g16"
transform="translate(35.902053,4.406215)">
<g
id="g14">
<g
id="g12">
<path
style="fill:#ffffff"
inkscape:connector-curvature="0"
d="m 122.516,75.256 c -12.99,7.393 -22.58,14.545 -27.373,11.127 -4.789,-3.415 -3.287,-16.879 11.949,-28.604 15.238,-11.729 30.242,-10.71 34.088,-5.591 4.479,5.957 -1.564,13.335 -18.664,23.068 z"
id="path10" />
</g>
</g>
</g><g
style=""
id="g24"
transform="translate(35.902053,4.406215)">
<g
id="g22">
<g
id="g20">
<path
style="fill:#231f20"
inkscape:connector-curvature="0"
d="m 264.145,166.489 c -15.203,-1.225 -64.404,-1.256 -110.791,-0.963 -46.383,-0.293 -95.588,-0.262 -110.793,0.963 -31.145,2.511 -19.09,35.165 -5.023,45.72 5.125,3.845 28.699,6.485 43.82,8.292 V 199.123 H 225.354 V 220.5 c 15.119,-1.807 38.691,-4.447 43.818,-8.292 14.065,-10.554 26.12,-43.208 -5.027,-45.719 z"
id="path18" />
</g>
</g>
</g></g><g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Bouche"
style="display:inline"><g
id="g60"
transform="translate(35.902053,4.406215)">
<g
id="g58">
<g
id="g56">
<path
style="fill:#231f20"
inkscape:connector-curvature="0"
d="m 168.956,266.961 h -31.203 c -2.217,0 -4.018,-1.799 -4.018,-4.018 0,-2.218 1.801,-4.016 4.018,-4.016 h 31.203 c 2.219,0 4.02,1.798 4.02,4.016 -0.001,2.22 -1.802,4.018 -4.02,4.018 z"
id="path54" />
</g>
</g>
</g></g></svg>
\ No newline at end of file
themes/default/public/img/lstu120p.png

4.19 KB | W: | H:

themes/default/public/img/lstu120p.png

13.7 KB | W: | H:

themes/default/public/img/lstu120p.png
themes/default/public/img/lstu120p.png
themes/default/public/img/lstu120p.png
themes/default/public/img/lstu120p.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu144.png

5.23 KB | W: | H:

themes/default/public/img/lstu144.png

14.1 KB | W: | H:

themes/default/public/img/lstu144.png
themes/default/public/img/lstu144.png
themes/default/public/img/lstu144.png
themes/default/public/img/lstu144.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu16.png

417 Bytes | W: | H:

themes/default/public/img/lstu16.png

2.17 KB | W: | H:

themes/default/public/img/lstu16.png
themes/default/public/img/lstu16.png
themes/default/public/img/lstu16.png
themes/default/public/img/lstu16.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu180.png

7.83 KB | W: | H:

themes/default/public/img/lstu180.png

15.4 KB | W: | H:

themes/default/public/img/lstu180.png
themes/default/public/img/lstu180.png
themes/default/public/img/lstu180.png
themes/default/public/img/lstu180.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu192.png

8.63 KB | W: | H:

themes/default/public/img/lstu192.png

15.8 KB | W: | H:

themes/default/public/img/lstu192.png
themes/default/public/img/lstu192.png
themes/default/public/img/lstu192.png
themes/default/public/img/lstu192.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu32.png

705 Bytes | W: | H:

themes/default/public/img/lstu32.png

3.5 KB | W: | H:

themes/default/public/img/lstu32.png
themes/default/public/img/lstu32.png
themes/default/public/img/lstu32.png
themes/default/public/img/lstu32.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu36.png

748 Bytes | W: | H:

themes/default/public/img/lstu36.png

11.3 KB | W: | H:

themes/default/public/img/lstu36.png
themes/default/public/img/lstu36.png
themes/default/public/img/lstu36.png
themes/default/public/img/lstu36.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu48.png

1.01 KB | W: | H:

themes/default/public/img/lstu48.png

9.28 KB | W: | H:

themes/default/public/img/lstu48.png
themes/default/public/img/lstu48.png
themes/default/public/img/lstu48.png
themes/default/public/img/lstu48.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu72.png

1.78 KB | W: | H:

themes/default/public/img/lstu72.png

12.1 KB | W: | H:

themes/default/public/img/lstu72.png
themes/default/public/img/lstu72.png
themes/default/public/img/lstu72.png
themes/default/public/img/lstu72.png
  • 2-up
  • Swipe
  • Onion skin
themes/default/public/img/lstu96.png

2.73 KB | W: | H:

themes/default/public/img/lstu96.png

11.1 KB | W: | H:

themes/default/public/img/lstu96.png
themes/default/public/img/lstu96.png
themes/default/public/img/lstu96.png
themes/default/public/img/lstu96.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -11,14 +11,13 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="manifest" href="<%= url_for('/manifest.json') %>">
<link rel="shortcut icon" href="<%= url_for('/img/favicon.ico') %>">
<link rel="shortcut icon" href="<%= url_for('/favicon.ico') %>">
<link rel="mask-icon" href="<%= url_for('/img/lstu-small.svg') %>" color="#9b4dca">
<link rel="icon" type="image/png" href="<%= url_for('/img/favicon.png') %>">
<link rel="icon" sizes="16x16" href="<%= url_for('/img/lstu16.png') %>">
<link rel="icon" sizes="32x32" href="<%= url_for('/img/lstu32.png') %>">
<link rel="icon" sizes="128x128" href="<%= url_for('/img/lstu128.png') %>">
<link rel="icon" sizes="192x192" href="<%= url_for('/img/lstu192.png') %>">
<link rel="icon" sizes="196x196" href="<%= url_for('/img/lstu196.png') %>">
<link rel="apple-touch-icon" href="<%= url_for('/img/lstu60.png') %>">
<link rel="apple-touch-icon" sizes="76x76" href="<%= url_for('/img/lstu76.png') %>">
<link rel="apple-touch-icon" sizes="120x120" href="<%= url_for('/img/lstu120.png') %>">
......@@ -30,20 +29,24 @@
<meta name="msapplication-TileImage" content="<%= url_for('/img/mstile-lstu144.png') %>">
<meta name="msapplication-config" content="<%= url_for('/browserconfig.xml') %>">
% if ($self->app->mode eq 'production') {
%= stylesheet '/css/bootstrap-lstu.min.css'
% } else {
%= stylesheet '/css/bootstrap.min.css'
%= stylesheet '/css/lstu.css'
%= stylesheet '/css/fontelico.css'
%= stylesheet '/css/material-components-web.min.css'
% } else {
% }
</head>
<body>
<div class="container">
<h1 class="hidden">Let's Shorten That URL</h1>
<h1 class="oswald hidden-sm hidden-md hidden-lg">
<a href="<%= url_for('/') %>">
Let's Shorten That URL
</a>
</h1>
<div class="hidden-xs logo">
<%= link_to url_for('/') => (class => 'link_nocol') => begin %>
<img class="logo-img" src="<%= url_for('/img/logo+type.svg') %>" alt="lstu logo" width="auto" height="200">
<% end %>
<%= link_to url_for('/') => (class => 'link_nocol') => begin %>
<img class="logo-img" src="<%= url_for('/img/logo+type.svg') %>" alt="lstu logo" width="auto" height="200">
<% end %>
</div>
<p>
<small>&copy; 2013 — <%= $year %> <%= link_to 'Luc Didry' => 'https://fiat-tux.fr' %> —
......@@ -65,7 +68,6 @@
</p>
<%= content %>
</div>
<%= javascript url_for('button_so.js') %>
% if (defined(stash('short')) && defined(stash('url'))) {
%= javascript url_for('lstu.js')
% }
......
// Add event to button.
var go_button = document.querySelector(".allons-y");
go_button.addEventListener('mousedown', function (event){
go_button.style.cssText = "box-shadow: none; transform: translate(2px, 2px); transition: all 0.3;";
});
go_button.addEventListener('mouseup', function (event){
go_button.style.cssText = "box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.3); transform: none; transition: all 0.8;";
});
\ No newline at end of file
......@@ -4,6 +4,20 @@
font-weight: 400;
src: local('Henny Penny'), local('HennyPenny-Regular'), url('../font/hennypenny.woff2') format('woff2');
}
@font-face {
font-family: 'Oswald';
font-style: bold;
font-weight: 400;
src: local('Oswald'), url('../font/Oswald-Bold.ttf')
}
@font-face {
font-family: 'OpenSans';
font-style: normal;
font-weight: 200;
src: local('OpenSans'), url('../font/OpenSans-Regular.ttf')
}
body {
padding-top: 40px;
padding-bottom: 40px;
......@@ -12,6 +26,10 @@ body {
padding: 15px;
margin: 0 auto;
}
.oswald {
font-family: 'Oswald';
font-size: 42px;
}
.hennypenny {
font-family: 'Henny_Penny', cursive;
font-size: 42px;
......@@ -51,3 +69,44 @@ ul.pager li {
dd > strong {
padding-left: 15px;
}
.allons-y {
border-style: none;
background: linear-gradient(to right, rgba(255, 255, 255, 0.3) 0%, rgba(255,255,255, 0.5) 100%, transparent 25px) no-repeat, #9B4DCA;
background-repeat: no-repeat, no-repeat;
border-radius: 5px;
box-shadow: 2px 2px 1px 1px rgba(0,0,0,0.3);
padding: 8px;
margin-right: 9px;
color: white;
font-family: 'OpenSans';
font-size: 14px;
background-size: 0 100%, 100% 100%;
transition: background-size 0.3s;
}
.allons-y:hover {
background-size: 101% 100%;
background-color: #9B4DCA !important;
}
.allons-y:active {
box-shadow: none; transform: translate(2px, 2px); transition: all 0.1s;
}
@media (max-width:767px) {
.hidden-xs{
display:none !important
}
}
@media (min-width:768px) and (max-width:991px) {
.hidden-sm{
display:none !important
}
}
@media (min-width:992px) and (max-width:1199px) {
.hidden-md{
display:none !important
}
}
@media (min-width:1200px) {
.hidden-lg{display:none !important
}
}
......@@ -6,7 +6,7 @@
<input type="url" name="lsturl" id="lsturl" class="form-control" placeholder="<%= l('URL to shorten') %>" required>
<label class="sr-only" for="lsturl-custom"><%= l('Custom shortened text') %></label>
<input type="text" name="lsturl-custom" id="lsturl-custom" class="form-control" placeholder="<%= l('Custom shortened text') %>">
<%= submit_button l('Go!'), class => 'button' %>
<%= submit_button l('Go!'), class => 'button allons-y' %>
</fieldset>
</form>
......
......@@ -10,23 +10,38 @@
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="manifest" href="<%= url_for('/manifest.json') %>">
<link rel="shortcut icon" href="<%= url_for('/favicon.ico') %>">
<link rel="mask-icon" href="<%= url_for('/img/lstu-small.svg') %>" color="#9b4dca">
<link rel="icon" type="image/png" href="<%= url_for('/img/favicon.png') %>">
<link rel="icon" sizes="16x16" href="<%= url_for('/img/lstu16.png') %>">
<link rel="icon" sizes="32x32" href="<%= url_for('/img/lstu32.png') %>">
<link rel="icon" sizes="128x128" href="<%= url_for('/img/lstu128.png') %>">
<link rel="icon" sizes="196x196" href="<%= url_for('/img/lstu196.png') %>">
<link rel="icon" sizes="192x192" href="<%= url_for('/img/lstu192.png') %>">
<link rel="apple-touch-icon" href="<%= url_for('/img/lstu60.png') %>">
<link rel="apple-touch-icon" sizes="76x76" href="<%= url_for('/img/lstu76.png') %>">
<link rel="apple-touch-icon" sizes="120x120" href="<%= url_for('/img/lstu120.png') %>">
<link rel="apple-touch-icon" sizes="152x152" href="<%= url_for('/img/lstu152.png') %>">
<link rel="apple-touch-icon" sizes="128x128" href="<%= url_for('/img/lstu128.png') %>">
<link rel="apple-touch-icon" sizes="152x152" href="<%= url_for('/img/lstu152.png') %>">
<link rel="apple-touch-icon" sizes="180x180" href="<%= url_for('/img/lstu180.png') %>">
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="<%= url_for('/img/lstu120p.png') %>">
<meta name="msapplication-TileColor" content="#ffc40d">
<meta name="msapplication-TileImage" content="<%= url_for('/img/mstile-lstu144.png') %>">
<meta name="msapplication-config" content="<%= url_for('/browserconfig.xml') %>">
</head>
<body>
<div class="container">
<h1 class="hidden">Let's Shorten That URL</h1>
<%= link_to url_for('/') => (class => 'link_nocol') => begin %>
<h1 class="oswald hidden-sm hidden-md hidden-lg">
<a href="<%= url_for('/') %>">
Let's Shorten That URL
</a>
</h1>
<div class="hidden-xs logo">
<img src="<%= url_for('/img/logo+type.svg') %>" alt="lstu logo" width="auto" height="200">
<%= link_to url_for('/') => (class => 'link_nocol') => begin %>
<img class="logo-img" src="<%= url_for('/img/logo+type.svg') %>" alt="lstu logo" width="auto" height="200">
<% end %>
</div>
<% end %>
<p>
<small>&copy; 2013 — <%= $year %> <%= link_to 'Luc Didry' => 'https://fiat-tux.fr' %> —
<%= l('License:') %> <%= link_to 'WTFPL' => 'http://www.wtfpl.net/' %> —
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment