aboutsummaryrefslogtreecommitdiffstats
path: root/apps/bookmarks
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-08-25 12:15:03 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-08-25 12:15:03 +0200
commit55a8ee34bdf9e4a357f347ae5ab3320e50589a10 (patch)
treecf6eafce6b459bb8966ac785a5b695a7b7d40456 /apps/bookmarks
parent46af991574a3bcec70cb6123f35eb85587d0e0c8 (diff)
downloadnextcloud-server-55a8ee34bdf9e4a357f347ae5ab3320e50589a10.tar.gz
nextcloud-server-55a8ee34bdf9e4a357f347ae5ab3320e50589a10.zip
Make appeareance of the bookmarklet a bit nicer, still room for improvement left
Diffstat (limited to 'apps/bookmarks')
-rw-r--r--apps/bookmarks/css/bookmarks.css4
-rw-r--r--apps/bookmarks/templates/list.php4
2 files changed, 6 insertions, 2 deletions
diff --git a/apps/bookmarks/css/bookmarks.css b/apps/bookmarks/css/bookmarks.css
index aa28424c0b2..0fa4a3b6b2d 100644
--- a/apps/bookmarks/css/bookmarks.css
+++ b/apps/bookmarks/css/bookmarks.css
@@ -27,6 +27,10 @@
display: none;
}
+.bookmarks_addBml {
+ text-decoration: underline;
+}
+
.bookmarks_label {
width: 7em;
display: inline-block;
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php
index d7d37257a8a..203b48e1cb6 100644
--- a/apps/bookmarks/templates/list.php
+++ b/apps/bookmarks/templates/list.php
@@ -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>