]> source.dussan.org Git - nextcloud-server.git/commitdiff
Make appeareance of the bookmarklet a bit nicer, still room for improvement left
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 25 Aug 2011 10:15:03 +0000 (12:15 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Thu, 25 Aug 2011 10:15:03 +0000 (12:15 +0200)
apps/bookmarks/css/bookmarks.css
apps/bookmarks/templates/list.php

index aa28424c0b2a1a124833bfb5c59376e209bcc06b..0fa4a3b6b2d15a0fb0f7665e3c01b64b63d67bb4 100644 (file)
        display: none;
 }
 
+.bookmarks_addBml {
+       text-decoration: underline;
+}
+
 .bookmarks_label {
        width: 7em;
        display: inline-block;
index d7d37257a8a0b11a3367dca8c05479890e734855..203b48e1cb6807b53769f4697392a04031bebe5c 100644 (file)
@@ -1,8 +1,8 @@
 <input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag']); ?>" />
 <h2 class="bookmarks_headline"><?php echo isset($_GET["tag"]) ? 'Bookmarks with tag: ' . urldecode($_GET["tag"]) : 'All bookmarks'; ?></h2>
 <div class="bookmarks_menu">
-       <input type="button" class="bookmarks_addBtn" value="Add Bookmark" />
-       <a type="button" class="bookmarks_addBml" href="javascript:var url = encodeURI(location.href);window.open('<?php echo (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . OC_Helper::linkTo('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks');" title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Bookmarklet</a>
+       <input type="button" class="bookmarks_addBtn" value="Add Bookmark"/>&nbsp;
+       <a class="bookmarks_addBml" href="javascript:var url = encodeURI(location.href);window.open('<?php echo (isset($_SERVER['HTTPS']) ? 'https://' : 'http://') . $_SERVER['HTTP_HOST'] . OC_Helper::linkTo('bookmarks', 'addBm.php'); ?>?url='+url, 'owncloud-bookmarks');" title="Drag this to your browser bookmarks and click it, when you want to bookmark a webpage.">Add page to ownCloud</a>
 </div>
 <div class="bookmarks_add">
        <p><label class="bookmarks_label">Address</label><input type="text" id="bookmark_add_url" class="bookmarks_input" /></p>