aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2019-08-03 11:08:29 +0200
committerArthurHoaro <arthur@hoa.ro>2019-08-03 11:08:29 +0200
commitb14687036b9b800681197f51fdc47e62f0c88e2e (patch)
tree0863bba0081fd20256bc3fc8eb9f6365b2e3ff3b /tpl/default
parent1b8ed48a0d3964186f4d66d443783f4d250e7147 (diff)
parentd63ff87a009313141ae684ec447b902562ff6ee7 (diff)
downloadShaarli-b14687036b9b800681197f51fdc47e62f0c88e2e.tar.gz
Shaarli-b14687036b9b800681197f51fdc47e62f0c88e2e.tar.zst
Shaarli-b14687036b9b800681197f51fdc47e62f0c88e2e.zip
Merge branch 'v0.11' into latest
Diffstat (limited to 'tpl/default')
-rw-r--r--tpl/default/configure.html2
-rw-r--r--tpl/default/import.html2
-rw-r--r--tpl/default/install.html2
-rw-r--r--tpl/default/linklist.html24
-rw-r--r--tpl/default/page.footer.html2
-rw-r--r--tpl/default/page.header.html24
-rw-r--r--tpl/default/picwall.html6
-rw-r--r--tpl/default/tag.cloud.html4
-rw-r--r--tpl/default/tag.list.html12
9 files changed, 39 insertions, 39 deletions
diff --git a/tpl/default/configure.html b/tpl/default/configure.html
index 83033624..c1a6a6bc 100644
--- a/tpl/default/configure.html
+++ b/tpl/default/configure.html
@@ -199,7 +199,7 @@
199 <div class="pure-g"> 199 <div class="pure-g">
200 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}"> 200 <div class="pure-u-lg-{$ratioLabel} pure-u-{$ratioLabelMobile}">
201 <div class="form-label"> 201 <div class="form-label">
202 <label for="hidePublicLinks"> 202 <label for="updateCheck">
203 <span class="label-name">{'Check updates'|t}</span><br> 203 <span class="label-name">{'Check updates'|t}</span><br>
204 <span class="label-desc">{'Notify me when a new release is ready'|t}</span> 204 <span class="label-desc">{'Notify me when a new release is ready'|t}</span>
205 </label> 205 </label>
diff --git a/tpl/default/import.html b/tpl/default/import.html
index 20f854d1..c41afcdb 100644
--- a/tpl/default/import.html
+++ b/tpl/default/import.html
@@ -69,7 +69,7 @@
69 </div> 69 </div>
70 <div class="pure-u-lg-2-3 pure-u-1"> 70 <div class="pure-u-lg-2-3 pure-u-1">
71 <div class="form-input"> 71 <div class="form-input">
72 <input type="text" name="default_tags" id="default_tags" placeholder="{'Tag'|t}"> 72 <input type="text" name="default_tags" id="default_tags" aria-label="{'Tag'|t}" placeholder="{'Tag'|t}">
73 </div> 73 </div>
74 </div> 74 </div>
75 </div> 75 </div>
diff --git a/tpl/default/install.html b/tpl/default/install.html
index f0e7040e..c6f501f0 100644
--- a/tpl/default/install.html
+++ b/tpl/default/install.html
@@ -17,7 +17,7 @@
17 <h2 class="window-title">{'Install Shaarli'|t}</h2> 17 <h2 class="window-title">{'Install Shaarli'|t}</h2>
18 18
19 <div class="center"> 19 <div class="center">
20 {'It looks like it\'s the first time you run Shaarli. Please configure it.'|t} 20 <p>{'It looks like it\'s the first time you run Shaarli. Please configure it.'|t}</p>
21 </div> 21 </div>
22 22
23 <div class="pure-g"> 23 <div class="pure-g">
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html
index a025d53c..ffc236c7 100644
--- a/tpl/default/linklist.html
+++ b/tpl/default/linklist.html
@@ -19,19 +19,19 @@
19<div id="search-linklist" class="searchform-block search-linklist"> 19<div id="search-linklist" class="searchform-block search-linklist">
20 20
21 <form method="GET" class="pure-form searchform" name="searchform"> 21 <form method="GET" class="pure-form searchform" name="searchform">
22 <input type="text" tabindex="1" name="searchterm" class="searchterm" placeholder="{'Search text'|t}" 22 <input type="text" name="searchterm" class="searchterm" aria-label="{'Search text'|t}" placeholder="{'Search text'|t}"
23 {if="!empty($search_term)"} 23 {if="!empty($search_term)"}
24 value="{$search_term}" 24 value="{$search_term}"
25 {/if} 25 {/if}
26 > 26 >
27 <input type="text" tabindex="2" name="searchtags" class="searchtags" placeholder="{'Filter by tag'|t}" 27 <input type="text" name="searchtags" class="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}"
28 {if="!empty($search_tags)"} 28 {if="!empty($search_tags)"}
29 value="{$search_tags}" 29 value="{$search_tags}"
30 {/if} 30 {/if}
31 autocomplete="off" data-multiple data-autofirst data-minChars="1" 31 autocomplete="off" data-multiple data-autofirst data-minChars="1"
32 data-list="{loop="$tags"}{$key}, {/loop}" 32 data-list="{loop="$tags"}{$key}, {/loop}"
33 > 33 >
34 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 34 <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
35 </form> 35 </form>
36</div> 36</div>
37 37
@@ -94,7 +94,7 @@
94 {'tagged'|t} 94 {'tagged'|t}
95 {loop="$exploded_tags"} 95 {loop="$exploded_tags"}
96 <span class="label label-tag" title="{'Remove tag'|t}"> 96 <span class="label label-tag" title="{'Remove tag'|t}">
97 <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times" aria-hidden="true"></i></span></a> 97 <a href="?removetag={function="urlencode($value)"}" aria-label="{'Remove tag'|t}">{$value}<span class="remove"><i class="fa fa-times" aria-hidden="true"></i></span></a>
98 </span> 98 </span>
99 {/loop} 99 {/loop}
100 {/if} 100 {/if}
@@ -136,11 +136,11 @@
136 {if="$thumbnails_enabled && !empty($value.thumbnail)"} 136 {if="$thumbnails_enabled && !empty($value.thumbnail)"}
137 <div class="linklist-item-thumbnail" style="width:{$thumbnails_width}px;height:{$thumbnails_height}px;"> 137 <div class="linklist-item-thumbnail" style="width:{$thumbnails_width}px;height:{$thumbnails_height}px;">
138 <div class="thumbnail"> 138 <div class="thumbnail">
139 <a href="{$value.real_url}">
140 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} 139 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
140 <a href="{$value.real_url}" aria-hidden="true" tabindex="-1">
141 <img data-src="{$value.thumbnail}#" class="b-lazy" 141 <img data-src="{$value.thumbnail}#" class="b-lazy"
142 src="" 142 src=""
143 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> 143 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" />
144 </a> 144 </a>
145 </div> 145 </div>
146 </div> 146 </div>
@@ -158,9 +158,9 @@
158 <h2> 158 <h2>
159 <a href="{$value.real_url}"> 159 <a href="{$value.real_url}">
160 {if="strpos($value.url, $value.shorturl) === false"} 160 {if="strpos($value.url, $value.shorturl) === false"}
161 <i class="fa fa-external-link"></i> 161 <i class="fa fa-external-link" aria-hidden="true"></i>
162 {else} 162 {else}
163 <i class="fa fa-sticky-note"></i> 163 <i class="fa fa-sticky-note" aria-hidden="true"></i>
164 {/if} 164 {/if}
165 165
166 <span class="linklist-link">{$value.title}</span> 166 <span class="linklist-link">{$value.title}</span>
@@ -177,7 +177,7 @@
177 <div class="linklist-item-infos clear"> 177 <div class="linklist-item-infos clear">
178 {if="$value.tags"} 178 {if="$value.tags"}
179 <div class="linklist-item-tags"> 179 <div class="linklist-item-tags">
180 <i class="fa fa-tags"></i> 180 <i class="fa fa-tags" aria-hidden="true"></i>
181 {$tag_counter=count($value.taglist)} 181 {$tag_counter=count($value.taglist)}
182 {loop="value.taglist"} 182 {loop="value.taglist"}
183 <span class="label label-tag" title="{$strAddTag}"> 183 <span class="label label-tag" title="{$strAddTag}">
@@ -216,7 +216,7 @@
216 <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible"> 216 <div class="linklist-item-infos-controls-group pure-u-0 pure-u-lg-visible">
217 <span class="linklist-item-infos-controls-item ctrl-pin"> 217 <span class="linklist-item-infos-controls-item ctrl-pin">
218 <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible"> 218 <span title="{$strSticky}" class="pin-link pinned-link pure-u-0 pure-u-lg-visible">
219 <i class="fa fa-thumb-tack"></i> 219 <i class="fa fa-thumb-tack" aria-hidden="true"></i>
220 </span> 220 </span>
221 </span> 221 </span>
222 </div> 222 </div>
@@ -226,7 +226,7 @@
226 {if="!$hide_timestamps || $is_logged_in"} 226 {if="!$hide_timestamps || $is_logged_in"}
227 {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink} 227 {$updated=$value.updated_timestamp ? $strEdited. format_date($value.updated) : $strPermalink}
228 <span class="linkdate" title="{$updated}"> 228 <span class="linkdate" title="{$updated}">
229 <i class="fa fa-clock-o"></i> 229 <i class="fa fa-clock-o" aria-hidden="true"></i>
230 {$value.created|format_date} 230 {$value.created|format_date}
231 {if="$value.updated_timestamp"}*{/if} 231 {if="$value.updated_timestamp"}*{/if}
232 &middot; 232 &middot;
@@ -248,7 +248,7 @@
248 </div><div 248 </div><div
249 {ignore}do not add space or line break between these div - Firefox issue{/ignore} 249 {ignore}do not add space or line break between these div - Firefox issue{/ignore}
250 class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1"> 250 class="linklist-item-infos-url pure-u-lg-5-12 pure-u-1">
251 <a href="{$value.real_url}" title="{$value.title}"> 251 <a href="{$value.real_url}" aria-label="{$value.title}" title="{$value.title}">
252 <i class="fa fa-link" aria-hidden="true"></i> {$value.url} 252 <i class="fa fa-link" aria-hidden="true"></i> {$value.url}
253 </a> 253 </a>
254 <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible"> 254 <div class="linklist-item-buttons pure-u-0 pure-u-lg-visible">
diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html
index ce858e8c..0899826b 100644
--- a/tpl/default/page.footer.html
+++ b/tpl/default/page.footer.html
@@ -1,4 +1,4 @@
1</div> 1</main>
2 2
3<div class="pure-g"> 3<div class="pure-g">
4 <div class="pure-u-2-24"></div> 4 <div class="pure-u-2-24"></div>
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html
index 0ba1993f..4f063dc3 100644
--- a/tpl/default/page.header.html
+++ b/tpl/default/page.header.html
@@ -7,7 +7,7 @@
7 {$shaarlititle} 7 {$shaarlititle}
8 </a> 8 </a>
9 </header> 9 </header>
10 <a href="#" class="menu-toggle" id="menu-toggle" aria-label="Menu"><s class="bar" aria-hidden="true"></s><s class="bar" aria-hidden="true"></s></a> 10 <a href="#" class="menu-toggle" id="menu-toggle" aria-label="{'Menu'|t}"><s class="bar" aria-hidden="true"></s><s class="bar" aria-hidden="true"></s></a>
11 </div> 11 </div>
12 </div> 12 </div>
13 <div class="pure-u-1"> 13 <div class="pure-u-1">
@@ -99,37 +99,37 @@
99 </div> 99 </div>
100</div> 100</div>
101 101
102<div id="content" class="container"> 102<main id="content" class="container" role="main">
103 <div id="search" class="subheader-form searchform-block header-search"> 103 <div id="search" class="subheader-form searchform-block header-search">
104 <form method="GET" class="pure-form searchform" name="searchform"> 104 <form method="GET" class="pure-form searchform" name="searchform">
105 <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" 105 <input type="text" id="searchform_value" name="searchterm" aria-label="{'Search text'|t}" placeholder="{'Search text'|t}"
106 {if="!empty($search_term)"} 106 {if="!empty($search_term)"}
107 value="{$search_term}" 107 value="{$search_term}"
108 {/if} 108 {/if}
109 > 109 >
110 <input type="text" tabindex="2" name="searchtags" id="tagfilter_value" placeholder="{'Filter by tag'|t}" 110 <input type="text" name="searchtags" id="tagfilter_value" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}"
111 {if="!empty($search_tags)"} 111 {if="!empty($search_tags)"}
112 value="{$search_tags}" 112 value="{$search_tags}"
113 {/if} 113 {/if}
114 autocomplete="off" data-multiple data-autofirst data-minChars="1" 114 autocomplete="off" data-multiple data-autofirst data-minChars="1"
115 data-list="{loop="$tags"}{$key}, {/loop}" 115 data-list="{loop="$tags"}{$key}, {/loop}"
116 > 116 >
117 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 117 <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
118 </form> 118 </form>
119 </div> 119 </div>
120 <div id="actions" class="subheader-form"> 120 <div id="actions" class="subheader-form">
121 <div class="pure-g"> 121 <div class="pure-g">
122 <div class="pure-u-1"> 122 <div class="pure-u-1">
123 <a href="" id="actions-delete" class="button"> 123 <a href="" id="actions-delete" class="button">
124 <i class="fa fa-trash"></i> 124 <i class="fa fa-trash" aria-hidden="true"></i>
125 {'Delete'|t} 125 {'Delete'|t}
126 </a>&nbsp; 126 </a>&nbsp;
127 <a href="" class="actions-change-visibility button" data-visibility="public"> 127 <a href="" class="actions-change-visibility button" data-visibility="public">
128 <i class="fa fa-globe"></i> 128 <i class="fa fa-globe" aria-hidden="true"></i>
129 {'Set public'|t} 129 {'Set public'|t}
130 </a>&nbsp; 130 </a>&nbsp;
131 <a href="" class="actions-change-visibility button" data-visibility="private"> 131 <a href="" class="actions-change-visibility button" data-visibility="private">
132 <i class="fa fa-user-secret"></i> 132 <i class="fa fa-user-secret" aria-hidden="true"></i>
133 {'Set private'|t} 133 {'Set private'|t}
134 </a> 134 </a>
135 </div> 135 </div>
@@ -138,15 +138,15 @@
138 {if="!$is_logged_in"} 138 {if="!$is_logged_in"}
139 <form method="post" name="loginform"> 139 <form method="post" name="loginform">
140 <div class="subheader-form header-login-form" id="header-login-form"> 140 <div class="subheader-form header-login-form" id="header-login-form">
141 <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> 141 <input type="text" name="login" aria-label="{'Username'|t}" placeholder="{'Username'|t}" >
142 <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> 142 <input type="password" name="password" aria-label="{'Password'|t}" placeholder="{'Password'|t}" >
143 <div class="remember-me"> 143 <div class="remember-me">
144 <input type="checkbox" name="longlastingsession" id="longlastingsession" tabindex="6" checked> 144 <input type="checkbox" name="longlastingsession" id="longlastingsession" checked>
145 <label for="longlastingsession">{'Remember me'|t}</label> 145 <label for="longlastingsession">{'Remember me'|t}</label>
146 </div> 146 </div>
147 <input type="hidden" name="token" value="{$token}"> 147 <input type="hidden" name="token" value="{$token}">
148 <input type="hidden" name="returnurl"> 148 <input type="hidden" name="returnurl">
149 <input type="submit" value="Login" tabindex="7"> 149 <input type="submit" value="Login">
150 </div> 150 </div>
151 </form> 151 </form>
152 {/if} 152 {/if}
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html
index 5a959244..73359949 100644
--- a/tpl/default/picwall.html
+++ b/tpl/default/picwall.html
@@ -32,13 +32,13 @@
32 {/loop} 32 {/loop}
33 </div> 33 </div>
34 34
35 <div id="picwall-container" class="picwall-container"> 35 <div id="picwall-container" class="picwall-container" role="list">
36 {loop="$linksToDisplay"} 36 {loop="$linksToDisplay"}
37 <div class="picwall-pictureframe"> 37 <div class="picwall-pictureframe" role="listitem">
38 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} 38 {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore}
39 <img data-src="{$value.thumbnail}#" class="b-lazy" 39 <img data-src="{$value.thumbnail}#" class="b-lazy"
40 src="" 40 src=""
41 alt="thumbnail" width="{$thumbnails_width}" height="{$thumbnails_height}" /> 41 alt="" width="{$thumbnails_width}" height="{$thumbnails_height}" />
42 <a href="{$value.real_url}"><span class="info">{$value.title}</span></a> 42 <a href="{$value.real_url}"><span class="info">{$value.title}</span></a>
43 {loop="$value.picwall_plugin"} 43 {loop="$value.picwall_plugin"}
44 {$value} 44 {$value}
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html
index bedf3f8c..b9c0b162 100644
--- a/tpl/default/tag.cloud.html
+++ b/tpl/default/tag.cloud.html
@@ -26,14 +26,14 @@
26 <div class="pure-u-1 pure-u-lg-1-2"> 26 <div class="pure-u-1 pure-u-lg-1-2">
27 <form method="GET"> 27 <form method="GET">
28 <input type="hidden" name="do" value="tagcloud"> 28 <input type="hidden" name="do" value="tagcloud">
29 <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}" 29 <input type="text" name="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}"
30 {if="!empty($search_tags)"} 30 {if="!empty($search_tags)"}
31 value="{$search_tags}" 31 value="{$search_tags}"
32 {/if} 32 {/if}
33 autocomplete="off" data-multiple data-autofirst data-minChars="1" 33 autocomplete="off" data-multiple data-autofirst data-minChars="1"
34 data-list="{loop="$tags"}{$key}, {/loop}" 34 data-list="{loop="$tags"}{$key}, {/loop}"
35 > 35 >
36 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 36 <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
37 </form> 37 </form>
38 </div> 38 </div>
39 <div class="pure-u-lg-1-4"></div> 39 <div class="pure-u-lg-1-4"></div>
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html
index 41eab246..d5777465 100644
--- a/tpl/default/tag.list.html
+++ b/tpl/default/tag.list.html
@@ -26,14 +26,14 @@
26 <div class="pure-u-1 pure-u-lg-1-2"> 26 <div class="pure-u-1 pure-u-lg-1-2">
27 <form method="GET"> 27 <form method="GET">
28 <input type="hidden" name="do" value="taglist"> 28 <input type="hidden" name="do" value="taglist">
29 <input type="text" name="searchtags" placeholder="{'Filter by tag'|t}" 29 <input type="text" name="searchtags" aria-label="{'Filter by tag'|t}" placeholder="{'Filter by tag'|t}"
30 {if="!empty($search_tags)"} 30 {if="!empty($search_tags)"}
31 value="{$search_tags}" 31 value="{$search_tags}"
32 {/if} 32 {/if}
33 autocomplete="off" data-multiple data-autofirst data-minChars="1" 33 autocomplete="off" data-multiple data-autofirst data-minChars="1"
34 data-list="{loop="$tags"}{$key}, {/loop}" 34 data-list="{loop="$tags"}{$key}, {/loop}"
35 > 35 >
36 <button type="submit" class="search-button"><i class="fa fa-search"></i></button> 36 <button type="submit" class="search-button" aria-label="{'Search'|t}"><i class="fa fa-search" aria-hidden="true"></i></button>
37 </form> 37 </form>
38 </div> 38 </div>
39 <div class="pure-u-lg-1-4"></div> 39 <div class="pure-u-lg-1-4"></div>
@@ -50,9 +50,9 @@
50 <div class="tag-list-item pure-g" data-tag="{$key}"> 50 <div class="tag-list-item pure-g" data-tag="{$key}">
51 <div class="pure-u-1"> 51 <div class="pure-u-1">
52 {if="$is_logged_in===true"} 52 {if="$is_logged_in===true"}
53 <a href="#" class="delete-tag"><i class="fa fa-trash"></i></a>&nbsp;&nbsp; 53 <a href="#" class="delete-tag" aria-label="{'Delete'|t}"><i class="fa fa-trash" aria-hidden="true"></i></a>&nbsp;&nbsp;
54 <a href="?do=changetag&fromtag={$key|urlencode}" class="rename-tag"> 54 <a href="?do=changetag&fromtag={$key|urlencode}" class="rename-tag" aria-label="{'Rename tag'|t}">
55 <i class="fa fa-pencil-square-o {$key}"></i> 55 <i class="fa fa-pencil-square-o {$key}" aria-hidden="true"></i>
56 </a> 56 </a>
57 {/if} 57 {/if}
58 58
@@ -66,7 +66,7 @@
66 {if="$is_logged_in===true"} 66 {if="$is_logged_in===true"}
67 <div class="rename-tag-form pure-u-1"> 67 <div class="rename-tag-form pure-u-1">
68 <input type="text" name="{$key}" value="{$key}" class="rename-tag-input" /> 68 <input type="text" name="{$key}" value="{$key}" class="rename-tag-input" />
69 <a href="#" class="validate-rename-tag"><i class="fa fa-check"></i></a> 69 <a href="#" class="validate-rename-tag"><i class="fa fa-check" aria-hidden="true"></i></a>
70 </div> 70 </div>
71 {/if} 71 {/if}
72 </div> 72 </div>