aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/editlink.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-02-21 14:16:48 +0100
committerArthurHoaro <arthur@hoa.ro>2017-02-27 20:01:54 +0100
commit7040169069322d72cec4276b7b812291b57a0d40 (patch)
treed038b8d560873852c2cbf0ef147ed71543b255a6 /tpl/default/editlink.html
parent430ff0710265ff281727ef6824cf292d1dfc50f1 (diff)
downloadShaarli-7040169069322d72cec4276b7b812291b57a0d40.tar.gz
Shaarli-7040169069322d72cec4276b7b812291b57a0d40.tar.zst
Shaarli-7040169069322d72cec4276b7b812291b57a0d40.zip
Multiple minor improvements and bugfixes regarding the new templates:
* Add API settings in `configure.html` * Fix textarea autoresize * Load user.css from data folder * Move fold/expand all button to the right and fix an issue with already folded items * Reset datetime display to international datetime * Temporarilly remove JS login panel (need improvement and integration with the plugin system) * Body background is slightly lighter * Fix an issue where thumbnails were hidden by description * Fix an issue where private orange bar wasn't displayed with thumbnails * Remove the gradient bar behind titles * Fix empty bookmarklet name in Firefox
Diffstat (limited to 'tpl/default/editlink.html')
-rw-r--r--tpl/default/editlink.html15
1 files changed, 4 insertions, 11 deletions
diff --git a/tpl/default/editlink.html b/tpl/default/editlink.html
index 4f10ffb2..d6f81f96 100644
--- a/tpl/default/editlink.html
+++ b/tpl/default/editlink.html
@@ -33,8 +33,7 @@
33 <label for="lf_description">{'Description'|t}</label> 33 <label for="lf_description">{'Description'|t}</label>
34 </div> 34 </div>
35 <div> 35 <div>
36 <textarea name="lf_description" id="lf_description" onkeyup="textAreaAdjust(this)" 36 <textarea name="lf_description" id="lf_description">{$link.description}</textarea>
37 >{$link.description}</textarea>
38 </div> 37 </div>
39 <div> 38 <div>
40 <label for="lf_tags">{'Tags'|t}</label> 39 <label for="lf_tags">{'Tags'|t}</label>
@@ -46,7 +45,7 @@
46 45
47 <div> 46 <div>
48 <input type="checkbox" name="lf_private" id="lf_private" 47 <input type="checkbox" name="lf_private" id="lf_private"
49 {if="($link_is_new && $default_private_links) || $link.private == true"} 48 {if="($link_is_new && $default_private_links || $link.private == true)"}
50 checked="checked" 49 checked="checked"
51 {/if}> 50 {/if}>
52 &nbsp;<label for="lf_private">{'Private'|t}</label> 51 &nbsp;<label for="lf_private">{'Private'|t}</label>
@@ -62,7 +61,7 @@
62 <div class="submit-buttons center"> 61 <div class="submit-buttons center">
63 <input type="submit" value="{'Save'|t}" name="save_edit" class=""> 62 <input type="submit" value="{'Save'|t}" name="save_edit" class="">
64 {if="!$link_is_new"} 63 {if="!$link_is_new"}
65 <a href="?delete_link&amp;lf_linkdate={$value.id}&amp;token={$token}" 64 <a href="?delete_link&amp;lf_linkdate={$link.id}&amp;token={$token}"
66 title="" name="delete_link" class="button button-red confirm-delete"> 65 title="" name="delete_link" class="button button-red confirm-delete">
67 {'Delete'|t} 66 {'Delete'|t}
68 </a> 67 </a>
@@ -75,7 +74,7 @@
75 {/if} 74 {/if}
76 </form> 75 </form>
77 </div> 76 </div>
78 {if="$source !== 'firefoxsocialapi'"} 77 {if="$source !== 'firefoxsocialapi' && $source !== 'bookmarklet'"}
79 {include="page.footer"} 78 {include="page.footer"}
80 {/if} 79 {/if}
81<script> 80<script>
@@ -87,12 +86,6 @@
87 } else { 86 } else {
88 document.linkform.lf_tags.focus(); 87 document.linkform.lf_tags.focus();
89 } 88 }
90 function textAreaAdjust(el) {
91 el.style.height = (el.scrollHeight > el.clientHeight) ? (el.scrollHeight) + "px" : (el.clientHeight - 18) + "px";
92 }
93 (function (window, document) {
94 textAreaAdjust(document.linkform.lf_description)
95 })(this, this.document);
96</script> 89</script>
97</body> 90</body>
98</html> 91</html>