diff options
author | ArthurHoaro <arthur@hoa.ro> | 2018-05-10 13:26:11 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2018-05-10 13:26:11 +0200 |
commit | 9d0fc862507e1933e447b3c3e92a438400aad263 (patch) | |
tree | c8131e06337ac4ab07d8b73276759bf540a552e4 /tpl/default | |
parent | c69585f30350876c3f9a9b090ff1165c3ec98b79 (diff) | |
download | Shaarli-9d0fc862507e1933e447b3c3e92a438400aad263.tar.gz Shaarli-9d0fc862507e1933e447b3c3e92a438400aad263.tar.zst Shaarli-9d0fc862507e1933e447b3c3e92a438400aad263.zip |
Add classes to default template to avoid using IDs in SCSS
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/404.html | 2 | ||||
-rw-r--r-- | tpl/default/editlink.html | 2 | ||||
-rw-r--r-- | tpl/default/import.html | 2 | ||||
-rw-r--r-- | tpl/default/linklist.html | 2 | ||||
-rw-r--r-- | tpl/default/loginform.html | 2 | ||||
-rw-r--r-- | tpl/default/page.footer.html | 2 | ||||
-rw-r--r-- | tpl/default/page.header.html | 6 | ||||
-rw-r--r-- | tpl/default/picwall.html | 4 | ||||
-rw-r--r-- | tpl/default/pluginsadmin.html | 2 | ||||
-rw-r--r-- | tpl/default/tag.cloud.html | 2 | ||||
-rw-r--r-- | tpl/default/tag.list.html | 4 |
11 files changed, 15 insertions, 15 deletions
diff --git a/tpl/default/404.html b/tpl/default/404.html index 2de6b6da..fd337cad 100644 --- a/tpl/default/404.html +++ b/tpl/default/404.html | |||
@@ -6,7 +6,7 @@ | |||
6 | <body> | 6 | <body> |
7 | <div id="pageheader"> | 7 | <div id="pageheader"> |
8 | {include="page.header"} | 8 | {include="page.header"} |
9 | <div class="center" id="page404"> | 9 | <div class="center" id="page404" class="page404-container"> |
10 | <h2>{'Sorry, nothing to see here.'|t}</h2> | 10 | <h2>{'Sorry, nothing to see here.'|t}</h2> |
11 | <img src="img/sad_star.png"> | 11 | <img src="img/sad_star.png"> |
12 | <p>{$error_message}</p> | 12 | <p>{$error_message}</p> |
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html index f8e968f1..d8c57155 100644 --- a/tpl/default/editlink.html +++ b/tpl/default/editlink.html | |||
@@ -5,7 +5,7 @@ | |||
5 | </head> | 5 | </head> |
6 | <body> | 6 | <body> |
7 | {include="page.header"} | 7 | {include="page.header"} |
8 | <div id="editlinkform" class="pure-g"> | 8 | <div id="editlinkform" class="edit-link-container" class="pure-g"> |
9 | <div class="pure-u-lg-1-5 pure-u-1-24"></div> | 9 | <div class="pure-u-lg-1-5 pure-u-1-24"></div> |
10 | <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light"> | 10 | <form method="post" name="linkform" class="page-form pure-u-lg-3-5 pure-u-22-24 page-form page-form-light"> |
11 | <h2 class="window-title"> | 11 | <h2 class="window-title"> |
diff --git a/tpl/default/import.html b/tpl/default/import.html index 000a50ac..bdc9086e 100644 --- a/tpl/default/import.html +++ b/tpl/default/import.html | |||
@@ -15,7 +15,7 @@ | |||
15 | </div> | 15 | </div> |
16 | 16 | ||
17 | <input type="hidden" name="token" value="{$token}"> | 17 | <input type="hidden" name="token" value="{$token}"> |
18 | <div class="center" id="import-field"> | 18 | <div class="center import-field-container" id="import-field"> |
19 | <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> | 19 | <input type="hidden" name="MAX_FILE_SIZE" value="{$maxfilesize}"> |
20 | <input type="file" name="filetoupload"> | 20 | <input type="file" name="filetoupload"> |
21 | <p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p> | 21 | <p><br>{'Maximum size allowed:'|t} <strong>{$maxfilesizeHuman}</strong></p> |
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 933c1ef2..d546be0a 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -16,7 +16,7 @@ | |||
16 | </div> | 16 | </div> |
17 | 17 | ||
18 | <input type="hidden" name="token" value="{$token}"> | 18 | <input type="hidden" name="token" value="{$token}"> |
19 | <div id="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" tabindex="1" name="searchterm" class="searchterm" placeholder="{'Search text'|t}" |
diff --git a/tpl/default/loginform.html b/tpl/default/loginform.html index d481f452..3cdab65a 100644 --- a/tpl/default/loginform.html +++ b/tpl/default/loginform.html | |||
@@ -18,7 +18,7 @@ | |||
18 | {else} | 18 | {else} |
19 | <div class="pure-g"> | 19 | <div class="pure-g"> |
20 | <div class="pure-u-lg-1-3 pure-u-1-24"></div> | 20 | <div class="pure-u-lg-1-3 pure-u-1-24"></div> |
21 | <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24"> | 21 | <div id="login-form" class="page-form page-form-light pure-u-lg-1-3 pure-u-22-24 login-form-container"> |
22 | <form method="post" name="loginform"> | 22 | <form method="post" name="loginform"> |
23 | <h2 class="window-title">{'Login'|t}</h2> | 23 | <h2 class="window-title">{'Login'|t}</h2> |
24 | <div> | 24 | <div> |
diff --git a/tpl/default/page.footer.html b/tpl/default/page.footer.html index f4f09e92..34193743 100644 --- a/tpl/default/page.footer.html +++ b/tpl/default/page.footer.html | |||
@@ -2,7 +2,7 @@ | |||
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> |
5 | <div id="footer" class="pure-u-20-24"> | 5 | <div id="footer" class="pure-u-20-24 footer-container"> |
6 | <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong> | 6 | <strong><a href="https://github.com/shaarli/Shaarli">Shaarli</a></strong> |
7 | {if="isLoggedIn()===true"} | 7 | {if="isLoggedIn()===true"} |
8 | {$version} | 8 | {$version} |
diff --git a/tpl/default/page.header.html b/tpl/default/page.header.html index 6f15c1c5..18aa77c8 100644 --- a/tpl/default/page.header.html +++ b/tpl/default/page.header.html | |||
@@ -95,8 +95,8 @@ | |||
95 | </div> | 95 | </div> |
96 | </div> | 96 | </div> |
97 | 97 | ||
98 | <div id="content"> | 98 | <div id="content" class="container"> |
99 | <div id="search" class="subheader-form"> | 99 | <div id="search" class="subheader-form searchform-block header-search"> |
100 | <form method="GET" class="pure-form searchform" name="searchform"> | 100 | <form method="GET" class="pure-form searchform" name="searchform"> |
101 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" | 101 | <input type="text" tabindex="1" id="searchform_value" name="searchterm" placeholder="{'Search text'|t}" |
102 | {if="!empty($search_term)"} | 102 | {if="!empty($search_term)"} |
@@ -122,7 +122,7 @@ | |||
122 | </div> | 122 | </div> |
123 | {if="!isLoggedIn()"} | 123 | {if="!isLoggedIn()"} |
124 | <form method="post" name="loginform"> | 124 | <form method="post" name="loginform"> |
125 | <div class="subheader-form" id="header-login-form"> | 125 | <div class="subheader-form header-login-form" id="header-login-form"> |
126 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> | 126 | <input type="text" name="login" placeholder="{'Username'|t}" tabindex="3"> |
127 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> | 127 | <input type="password" name="password" placeholder="{'Password'|t}" tabindex="5"> |
128 | <div class="remember-me"> | 128 | <div class="remember-me"> |
diff --git a/tpl/default/picwall.html b/tpl/default/picwall.html index 23796ac9..2f7e03dc 100644 --- a/tpl/default/picwall.html +++ b/tpl/default/picwall.html | |||
@@ -18,9 +18,9 @@ | |||
18 | {/loop} | 18 | {/loop} |
19 | </div> | 19 | </div> |
20 | 20 | ||
21 | <div id="picwall_container"> | 21 | <div id="picwall_container" class="picwall-container"> |
22 | {loop="$linksToDisplay"} | 22 | {loop="$linksToDisplay"} |
23 | <div class="picwall_pictureframe"> | 23 | <div class="picwall-pictureframe"> |
24 | {$value.thumbnail}<a href="{$value.real_url}"><span class="info">{$value.title}</span></a> | 24 | {$value.thumbnail}<a href="{$value.real_url}"><span class="info">{$value.title}</span></a> |
25 | {loop="$value.picwall_plugin"} | 25 | {loop="$value.picwall_plugin"} |
26 | {$value} | 26 | {$value} |
diff --git a/tpl/default/pluginsadmin.html b/tpl/default/pluginsadmin.html index fa26c859..8f2597df 100644 --- a/tpl/default/pluginsadmin.html +++ b/tpl/default/pluginsadmin.html | |||
@@ -16,7 +16,7 @@ | |||
16 | <div class="clear"></div> | 16 | <div class="clear"></div> |
17 | </noscript> | 17 | </noscript> |
18 | 18 | ||
19 | <form method="POST" action="?do=save_pluginadmin" name="pluginform" id="pluginform"> | 19 | <form method="POST" action="?do=save_pluginadmin" name="pluginform" id="pluginform" class="pluginform-container"> |
20 | <div class="pure-g"> | 20 | <div class="pure-g"> |
21 | <div class="pure-u-lg-1-8 pure-u-1-24"></div> | 21 | <div class="pure-u-lg-1-8 pure-u-1-24"></div> |
22 | <div class="pure-u-lg-3-4 pure-u-22-24 page-form page-form-complete"> | 22 | <div class="pure-u-lg-3-4 pure-u-22-24 page-form page-form-complete"> |
diff --git a/tpl/default/tag.cloud.html b/tpl/default/tag.cloud.html index 12701465..9e52158d 100644 --- a/tpl/default/tag.cloud.html +++ b/tpl/default/tag.cloud.html | |||
@@ -45,7 +45,7 @@ | |||
45 | {/loop} | 45 | {/loop} |
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | <div id="cloudtag"> | 48 | <div id="cloudtag" class="cloudtag-container"> |
49 | {loop="tags"} | 49 | {loop="tags"} |
50 | <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a | 50 | <a href="?searchtags={$key|urlencode} {$search_tags|urlencode}" style="font-size:{$value.size}em;">{$key}</a |
51 | ><a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> | 51 | ><a href="?addtag={$key|urlencode}" title="{'Filter by tag'|t}" class="count">{$value.count}</a> |
diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html index 7140c67a..772d6ad3 100644 --- a/tpl/default/tag.list.html +++ b/tpl/default/tag.list.html | |||
@@ -21,7 +21,7 @@ | |||
21 | </p> | 21 | </p> |
22 | {/if} | 22 | {/if} |
23 | 23 | ||
24 | <div id="search-tagcloud" class="pure-g"> | 24 | <div id="search-tagcloud" class="pure-g searchform-block search-tagcloud"> |
25 | <div class="pure-u-lg-1-4"></div> | 25 | <div class="pure-u-lg-1-4"></div> |
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"> |
@@ -45,7 +45,7 @@ | |||
45 | {/loop} | 45 | {/loop} |
46 | </div> | 46 | </div> |
47 | 47 | ||
48 | <div id="taglist"> | 48 | <div id="taglist" class="taglist-container"> |
49 | {loop="tags"} | 49 | {loop="tags"} |
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"> |