aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-10-20 15:39:04 +0200
committerArthurHoaro <arthur@hoa.ro>2016-11-05 14:29:53 +0100
commit4daf556b72e4c86eb3a95be9cc6d99aaa66ad189 (patch)
treec956f02d48e74d35b2936baa826bcc9bd28e2e7b
parent411726c53a3e29540574c52f3a16edb060eb235e (diff)
downloadShaarli-4daf556b72e4c86eb3a95be9cc6d99aaa66ad189.tar.gz
Shaarli-4daf556b72e4c86eb3a95be9cc6d99aaa66ad189.tar.zst
Shaarli-4daf556b72e4c86eb3a95be9cc6d99aaa66ad189.zip
Use a class for 'window' titles instead of h2
-rw-r--r--tpl/default/addlink.html2
-rw-r--r--tpl/default/changepassword.html2
-rw-r--r--tpl/default/changetag.html2
-rw-r--r--tpl/default/configure.html2
-rw-r--r--tpl/default/css/shaarli.css4
-rw-r--r--tpl/default/daily.html2
-rw-r--r--tpl/default/editlink.html2
-rw-r--r--tpl/default/export.html2
-rw-r--r--tpl/default/import.html2
-rw-r--r--tpl/default/loginform.html2
-rw-r--r--tpl/default/picwall.html2
-rw-r--r--tpl/default/pluginsadmin.html8
-rw-r--r--tpl/default/tagcloud.html2
-rw-r--r--tpl/default/tools.html8
14 files changed, 21 insertions, 21 deletions
diff --git a/tpl/default/addlink.html b/tpl/default/addlink.html
index 05207551..c70e06c7 100644
--- a/tpl/default/addlink.html
+++ b/tpl/default/addlink.html
@@ -8,7 +8,7 @@
8<div class="pure-g"> 8<div class="pure-g">
9 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 9 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4"> 10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
11 <h2>{"Shaare a new link"|t}</h2> 11 <h2 class="window-title">{"Shaare a new link"|t}</h2>
12 <form method="GET" action="" name="addform" class="addform page-form page-form-light autofocus"> 12 <form method="GET" action="" name="addform" class="addform page-form page-form-light autofocus">
13 <div> 13 <div>
14 <input type="text" name="post" placeholder="{'URL or leave empty to post a note'|t}"> 14 <input type="text" name="post" placeholder="{'URL or leave empty to post a note'|t}">
diff --git a/tpl/default/changepassword.html b/tpl/default/changepassword.html
index 69191fad..1eca7e3a 100644
--- a/tpl/default/changepassword.html
+++ b/tpl/default/changepassword.html
@@ -8,7 +8,7 @@
8<div class="pure-g"> 8<div class="pure-g">
9 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 9 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4"> 10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
11 <h2>{"Change password"|t}</h2> 11 <h2 class="window-title">{"Change password"|t}</h2>
12 <form method="POST" action="" name="changepasswordform" id="changepasswordform" 12 <form method="POST" action="" name="changepasswordform" id="changepasswordform"
13 class="addform page-form page-form-light"> 13 class="addform page-form page-form-light">
14 <div> 14 <div>
diff --git a/tpl/default/changetag.html b/tpl/default/changetag.html
index ca2d2dba..cf0e5a9f 100644
--- a/tpl/default/changetag.html
+++ b/tpl/default/changetag.html
@@ -8,7 +8,7 @@
8<div class="pure-g"> 8<div class="pure-g">
9 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 9 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4"> 10 <div id="addlink-form" class="page-form pure-u-lg-1-3 pure-u-3-4">
11 <h2>{"Manage tags"|t}</h2> 11 <h2 class="window-title">{"Manage tags"|t}</h2>
12 <form method="POST" action="" name="changetag" id="changetag" 12 <form method="POST" action="" name="changetag" id="changetag"
13 class="addform page-form page-form-light"> 13 class="addform page-form page-form-light">
14 <div> 14 <div>
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index 0d1bd6ff..e872a4d2 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -15,7 +15,7 @@
15 <div class="pure-g"> 15 <div class="pure-g">
16 <div class="pure-u-lg-1-6 pure-u-1-8"></div> 16 <div class="pure-u-lg-1-6 pure-u-1-8"></div>
17 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-form-complete"> 17 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-form-complete">
18 <h2>{'Configure'|t}</h2> 18 <h2 class="window-title">{'Configure'|t}</h2>
19 <div class="pure-g"> 19 <div class="pure-g">
20 <div class="pure-u-lg-{$ratioLabel} pure-u-1"> 20 <div class="pure-u-lg-{$ratioLabel} pure-u-1">
21 <div class="form-label"> 21 <div class="form-label">
diff --git a/tpl/default/css/shaarli.css b/tpl/default/css/shaarli.css
index ad7bcabd..debd25ea 100644
--- a/tpl/default/css/shaarli.css
+++ b/tpl/default/css/shaarli.css
@@ -608,7 +608,7 @@ pre {
608 color: #b0ddce; 608 color: #b0ddce;
609} 609}
610 610
611.page-form h2 { 611.page-form .window-title {
612 margin: 0 0 10px 0; 612 margin: 0 0 10px 0;
613 padding: 10px 0; 613 padding: 10px 0;
614 width: 100%; 614 width: 100%;
@@ -619,7 +619,7 @@ pre {
619 border-bottom: 1px solid #797979; 619 border-bottom: 1px solid #797979;
620} 620}
621 621
622.page-form h3 { 622.page-form .window-subtitle {
623 text-align: center; 623 text-align: center;
624} 624}
625 625
diff --git a/tpl/default/daily.html b/tpl/default/daily.html
index 9efe3fd1..b5d8928e 100644
--- a/tpl/default/daily.html
+++ b/tpl/default/daily.html
@@ -9,7 +9,7 @@
9<div class="pure-g"> 9<div class="pure-g">
10 <div class="pure-u-lg-1-6 pure-u-1-8"></div> 10 <div class="pure-u-lg-1-6 pure-u-1-8"></div>
11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor" id="daily"> 11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor" id="daily">
12 <h2> 12 <h2 class="window-title">
13 The Daily Shaarli 13 The Daily Shaarli
14 <a href="?do=dailyrss" title="1 RSS entry per day"><i class="fa fa-rss"></i></a> 14 <a href="?do=dailyrss" title="1 RSS entry per day"><i class="fa fa-rss"></i></a>
15 </h2> 15 </h2>
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index 95e60cc1..19154d87 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -10,7 +10,7 @@
10 <div id="editlinkform" class="pure-g"> 10 <div id="editlinkform" class="pure-g">
11 <div class="pure-u-lg-1-5 pure-u-1-8"></div> 11 <div class="pure-u-lg-1-5 pure-u-1-8"></div>
12 <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-3-4 page-form page-form-light"> 12 <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-3-4 page-form page-form-light">
13 <h2>{'Shaare'|t}</h2> 13 <h2 class="window-title">{'Shaare'|t}</h2>
14 <input type="hidden" name="lf_linkdate" value="{$link.linkdate}"> 14 <input type="hidden" name="lf_linkdate" value="{$link.linkdate}">
15 <div> 15 <div>
16 <label for="lf_url">{'URL'|t}</label> 16 <label for="lf_url">{'URL'|t}</label>
diff --git a/tpl/default/export.html b/tpl/default/export.html
index f6419763..2567ec0b 100644
--- a/tpl/default/export.html
+++ b/tpl/default/export.html
@@ -16,7 +16,7 @@
16 <div class="pure-u-lg-1-4 pure-u-1-8"></div> 16 <div class="pure-u-lg-1-4 pure-u-1-8"></div>
17 <div class="pure-u-lg-1-2 pure-u-3-4 page-form page-form-complete"> 17 <div class="pure-u-lg-1-2 pure-u-3-4 page-form page-form-complete">
18 <div> 18 <div>
19 <h2>{"Export Database"|t}</h2> 19 <h2 class="window-title">{"Export Database"|t}</h2>
20 </div> 20 </div>
21 <input type="hidden" name="do" value="export"> 21 <input type="hidden" name="do" value="export">
22 <input type="hidden" name="token" value="{$token}"> 22 <input type="hidden" name="token" value="{$token}">
diff --git a/tpl/default/import.html b/tpl/default/import.html
index 3e770110..6c44c0f5 100644
--- a/tpl/default/import.html
+++ b/tpl/default/import.html
@@ -16,7 +16,7 @@
16 <div class="pure-u-lg-1-4 pure-u-1-8"></div> 16 <div class="pure-u-lg-1-4 pure-u-1-8"></div>
17 <div class="pure-u-lg-1-2 pure-u-3-4 page-form page-form-complete"> 17 <div class="pure-u-lg-1-2 pure-u-3-4 page-form page-form-complete">
18 <div> 18 <div>
19 <h2>{"Import Database"|t}</h2> 19 <h2 class="window-title">{"Import Database"|t}</h2>
20 </div> 20 </div>
21 21
22 <input type="hidden" name="token" value="{$token}"> 22 <input type="hidden" name="token" value="{$token}">
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html
index 28c92f3e..b33219b6 100644
--- a/tpl/default/loginform.html
+++ b/tpl/default/loginform.html
@@ -20,7 +20,7 @@
20 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 20 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
21 <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-3-4"> 21 <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-3-4">
22 <form method="post" name="loginform"> 22 <form method="post" name="loginform">
23 <h2>{'Login'|t}</h2> 23 <h2 class="window-title">{'Login'|t}</h2>
24 <div> 24 <div>
25 <input type="text" name="login" placeholder="{'Username'|t}" tabindex="20"> 25 <input type="text" name="login" placeholder="{'Username'|t}" tabindex="20">
26 </div> 26 </div>
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html
index 03f3c949..57669340 100644
--- a/tpl/default/picwall.html
+++ b/tpl/default/picwall.html
@@ -10,7 +10,7 @@
10 <div class="pure-u-lg-1-6 pure-u-1-8"></div> 10 <div class="pure-u-lg-1-6 pure-u-1-8"></div>
11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor"> 11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor">
12 {$countPics=count($linksToDisplay)} 12 {$countPics=count($linksToDisplay)}
13 <h2>{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2> 13 <h2 class="window-title">{'Picture Wall'|t} - {$countPics} {'pics'|t}</h2>
14 14
15 <div id="plugin_zone_start_picwall" class="plugin_zone"> 15 <div id="plugin_zone_start_picwall" class="plugin_zone">
16 {loop="$plugin_start_zone"} 16 {loop="$plugin_start_zone"}
diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html
index f48c6fd0..29f6e15e 100644
--- a/tpl/default/pluginsadmin.html
+++ b/tpl/default/pluginsadmin.html
@@ -20,10 +20,10 @@
20 <div class="pure-g"> 20 <div class="pure-g">
21 <div class="pure-u-lg-1-6 pure-u-1-8"></div> 21 <div class="pure-u-lg-1-6 pure-u-1-8"></div>
22 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-form-complete"> 22 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-form-complete">
23 <h2>{'Plugin administration'|t}</h2> 23 <h2 class="window-title">{'Plugin administration'|t}</h2>
24 24
25 <section id="enabled_plugins"> 25 <section id="enabled_plugins">
26 <h3>{'Enabled Plugins'|t}</h3> 26 <h3 class="window-subtitle">{'Enabled Plugins'|t}</h3>
27 27
28 <div> 28 <div>
29 {if="count($enabledPlugins)==0"} 29 {if="count($enabledPlugins)==0"}
@@ -79,7 +79,7 @@
79 </section> 79 </section>
80 80
81 <section id="disabled_plugins"> 81 <section id="disabled_plugins">
82 <h3>{'Disabled Plugins'|t}</h3> 82 <h3 class="window-subtitle">{'Disabled Plugins'|t}</h3>
83 83
84 <div> 84 <div>
85 {if="count($disabledPlugins)==0"} 85 {if="count($disabledPlugins)==0"}
@@ -146,7 +146,7 @@
146 {loop="$enabledPlugins"} 146 {loop="$enabledPlugins"}
147 {if="count($value.parameters) > 0"} 147 {if="count($value.parameters) > 0"}
148 <div class="plugin_parameters"> 148 <div class="plugin_parameters">
149 <h3>{function="str_replace('_', ' ', $key)"}</h3> 149 <h3 class="window-subtitle">{function="str_replace('_', ' ', $key)"}</h3>
150 {loop="$value.parameters"} 150 {loop="$value.parameters"}
151 <div class="plugin_parameter"> 151 <div class="plugin_parameter">
152 <div class="float_label"> 152 <div class="float_label">
diff --git a/tpl/default/tagcloud.html b/tpl/default/tagcloud.html
index e6f0b164..8d56f957 100644
--- a/tpl/default/tagcloud.html
+++ b/tpl/default/tagcloud.html
@@ -10,7 +10,7 @@
10 <div class="pure-u-lg-1-6 pure-u-1-8"></div> 10 <div class="pure-u-lg-1-6 pure-u-1-8"></div>
11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor"> 11 <div class="pure-u-lg-2-3 pure-u-3-4 page-form page-visitor">
12 {$countTags=count($tags)} 12 {$countTags=count($tags)}
13 <h2>{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2> 13 <h2 class="window-title">{'Tag cloud'|t} - {$countTags} {'tags'|t}</h2>
14 14
15 <div id="plugin_zone_start_tagcloud" class="plugin_zone"> 15 <div id="plugin_zone_start_tagcloud" class="plugin_zone">
16 {loop="$plugin_start_zone"} 16 {loop="$plugin_start_zone"}
diff --git a/tpl/default/tools.html b/tpl/default/tools.html
index 96e7fb10..14a29320 100644
--- a/tpl/default/tools.html
+++ b/tpl/default/tools.html
@@ -9,7 +9,7 @@
9<div class="pure-g"> 9<div class="pure-g">
10 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 10 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
11 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light"> 11 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light">
12 <h2>{'Settings'|t}</h2> 12 <h2 class="window-title">{'Settings'|t}</h2>
13 <div class="tools-item"> 13 <div class="tools-item">
14 <a href="?do=configure" title="{'Change Shaarli settings: title, timezone, etc.'|t}"> 14 <a href="?do=configure" title="{'Change Shaarli settings: title, timezone, etc.'|t}">
15 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Configure your Shaarli'|t}</span> 15 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">{'Configure your Shaarli'|t}</span>
@@ -57,7 +57,7 @@
57<div class="pure-g"> 57<div class="pure-g">
58 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 58 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
59 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light"> 59 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light">
60 <h2>Bookmarklets</h2> 60 <h2 class="window-title">Bookmarklets</h2>
61 <p> 61 <p>
62 {'Drag one of these button to your bookmarks toolbar or right-click it and "Bookmark This Link"'|t}, 62 {'Drag one of these button to your bookmarks toolbar or right-click it and "Bookmark This Link"'|t},
63 {'then click on the bookmarklet in any page you want to share.'|t} 63 {'then click on the bookmarklet in any page you want to share.'|t}
@@ -95,7 +95,7 @@
95<div class="pure-g"> 95<div class="pure-g">
96 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 96 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
97 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light"> 97 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light">
98 <h2>Firefox Social API</h2> 98 <h2 class="window-title">Firefox Social API</h2>
99 <p>{'You need to browse your Shaarli over <strong>HTTPS</strong> to use this functionality.'|t}</p> 99 <p>{'You need to browse your Shaarli over <strong>HTTPS</strong> to use this functionality.'|t}</p>
100 100
101 <div class="tools-item"> 101 <div class="tools-item">
@@ -110,7 +110,7 @@
110<div class="pure-g"> 110<div class="pure-g">
111 <div class="pure-u-lg-1-3 pure-u-1-8"></div> 111 <div class="pure-u-lg-1-3 pure-u-1-8"></div>
112 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light"> 112 <div class="pure-u-lg-1-3 pure-u-3-4 page-form page-form-light">
113 <h2>{'3rd party'|t}</h2> 113 <h2 class="window-title">{'3rd party'|t}</h2>
114 <div class="tools-item"> 114 <div class="tools-item">
115 <a href="https://addons.mozilla.org/fr/firefox/addon/shaarli/" title="Firefox {'Plugin'|t}"> 115 <a href="https://addons.mozilla.org/fr/firefox/addon/shaarli/" title="Firefox {'Plugin'|t}">
116 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Firefox {'plugin'|t}</span> 116 <span class="pure-button pure-u-lg-2-3 pure-u-3-4">Firefox {'plugin'|t}</span>