summaryrefslogtreecommitdiff
path: root/data/home.html
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-08 02:38:18 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-10 22:15:10 +0200
commit667bd0a8450835f9b95b8ce83fb4f04a7df6d4ca (patch)
treea202cb184a88313c24c407d94d5c3147d144a57e /data/home.html
parentrekonq 0.2.56 with session management (recover on crash) (diff)
downloadrekonq-667bd0a8450835f9b95b8ce83fb4f04a7df6d4ca.tar.xz
HUGE HUGE HUGE COMMIT!
First implementation of "rekonq home page" - Added icons && htmls for it - fixed pics places && CMakeLists.txt - Added a HomePage class to create the "rekonq home Page" - Modified setting to load on new tab start 1) rekonq home page (default) 2) blank page 3) an url (to set) - removed home page button - fixed WebPage && loadUrl slot to load "home:" scheme - Added a toolbar method in BookmarksProvider to load bookmarks in the homepage The page needs a lot of love, but I think this is a really good starting point for. Hope you like it :)
Diffstat (limited to 'data/home.html')
-rw-r--r--data/home.html116
1 files changed, 116 insertions, 0 deletions
diff --git a/data/home.html b/data/home.html
new file mode 100644
index 00000000..d1a200cf
--- /dev/null
+++ b/data/home.html
@@ -0,0 +1,116 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+
+<head>
+<title>rekonq home page</title>
+<style type="text/css">
+
+html{
+margin:0;
+padding:0;
+}
+
+body{
+margin:0;
+padding:0;
+font-family: sans-serif;
+font-size: 100%;
+}
+
+/* ------------------------------------------------------- */
+
+div#container{
+margin: 0;
+}
+
+div#header{
+margin: 0;
+padding: 2px;
+background-color:#00f;
+color: #ff0;
+text-align: center;
+}
+
+div#footer{
+background-color:#00f;
+color: #ff0;
+text-align: center;
+}
+
+/* ------------------------------------------------------- */
+
+h2{
+color: #00f;
+}
+
+td{
+padding: 2em;
+vertical-align: top;
+}
+
+td.bookmarks{
+ border-left: 2px solid #0000FF;
+ border-top-width: 0px;
+ border-bottom-width: 0px;
+}
+
+.indent {
+margin-left: 2em;
+}
+</style>
+
+<!-- =================================================================================== -->
+
+<script type="text/javascript">
+function ToggleVisibility(image, element)
+{
+ // Find the image.
+ var image = document.getElementById(image)
+
+ // Find the element to hide/unhide.
+ var element = document.getElementById(element)
+
+ // Check the element's current state.
+ if (element.style.display == "none")
+ {
+ // If hidden, unhide it.
+ element.style.display = "block";
+ image.src = "%1open.png";
+ }
+ else
+ {
+ // If not hidden, hide it.
+ element.style.display = "none";
+ image.src = "%1closed.png";
+ }
+}
+</script>
+
+<!-- =================================================================================== -->
+
+</head>
+
+<body>
+
+<div id="header">
+<h1>rekonq home page</h1>
+</div>
+
+<table width="100%">
+<tr>
+<td width="40%"><h2>History</h2></td>
+<td width="60%"><h2>Bookmarks</h2></td>
+</tr>
+
+<tr>
+<td>%2</td>
+<td class="bookmarks">%3</td>
+</tr>
+</table>
+
+<div id="footer">
+rekonq, lightweight Web Browser for KDE based on Webkit.
+</div>
+
+</body>
+</html>