summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-09-13 03:18:45 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-09-13 03:18:45 +0200
commit1cb0ff22c8d9f29bb3a0aee2b1b673efb1d556d6 (patch)
treec08b50a6c7512fc42a4dd913be44badd9ff03202 /data
parentSome "stupid" toolbars fixes (diff)
parentModified rekonq behaviour: (diff)
downloadrekonq-1cb0ff22c8d9f29bb3a0aee2b1b673efb1d556d6.tar.xz
Merge branch 'HomePage'
Diffstat (limited to 'data')
-rw-r--r--data/CMakeLists.txt9
-rw-r--r--data/closed.pngbin0 -> 118 bytes
-rw-r--r--data/home.html116
-rw-r--r--data/open.pngbin0 -> 120 bytes
4 files changed, 118 insertions, 7 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt
index 93b9f83c..062bc138 100644
--- a/data/CMakeLists.txt
+++ b/data/CMakeLists.txt
@@ -1,5 +1,5 @@
INSTALL(
- FILES loading.mng
+ FILES closed.png loading.mng open.png webkit-icon.png
DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics
)
@@ -14,11 +14,6 @@ INSTALL(
)
INSTALL(
- FILES notfound.html
+ FILES notfound.html home.html
DESTINATION ${DATA_INSTALL_DIR}/rekonq/htmls
)
-
-INSTALL(
- FILES webkit-icon.png
- DESTINATION ${DATA_INSTALL_DIR}/rekonq/pics
-)
diff --git a/data/closed.png b/data/closed.png
new file mode 100644
index 00000000..2b1bf01e
--- /dev/null
+++ b/data/closed.png
Binary files differ
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>
diff --git a/data/open.png b/data/open.png
new file mode 100644
index 00000000..fee6f3fb
--- /dev/null
+++ b/data/open.png
Binary files differ