[oe-commits] org.oe.dev feed-browser: move section list to end of page source, fixed 2 column layout CSS
hrw commit
openembedded-commits at lists.openembedded.org
Fri Aug 25 07:03:13 UTC 2006
feed-browser: move section list to end of page source, fixed 2 column layout CSS
Author: hrw at openembedded.org
Branch: org.openembedded.dev
Revision: fdb9a519afc1b5f6f32e7d89898b855791c91fdd
ViewMTN: http://monotone.openembedded.org/revision.psp?id=fdb9a519afc1b5f6f32e7d89898b855791c91fdd
Files:
1
contrib/feed-browser/css/feed.css
contrib/feed-browser/index.php
Diffs:
#
# mt diff -rac2124fc98391df1b17c8e6b7041eecdfa7543ed -rfdb9a519afc1b5f6f32e7d89898b855791c91fdd
#
#
#
# patch "contrib/feed-browser/css/feed.css"
# from [88543e00b688400bb5cd58adf23d2c137ca79ca1]
# to [3e6ae6da86feaf8dcfb3d826ace83a218049a469]
#
# patch "contrib/feed-browser/index.php"
# from [decc21c5dc2467dd466639fa0f12be224cd7111b]
# to [fc5ff2a42b7da156c38b69304afe3cabf8f962be]
#
============================================================
--- contrib/feed-browser/css/feed.css 88543e00b688400bb5cd58adf23d2c137ca79ca1
+++ contrib/feed-browser/css/feed.css 3e6ae6da86feaf8dcfb3d826ace83a218049a469
@@ -1,12 +1,36 @@ body
body
{
color: #000;
background-color: #fff;
font-family: Sans;
- padding: 0;
+ padding: 10px;
margin: 0;
}
+#left
+{
+ position: absolute;
+ left:10px;
+ top:10px;
+ width:200px;
+ background:#fff;
+}
+
+#right
+{
+ background:#fff;
+ margin-left: 199px;
+ margin-right: 0;
+ voice-family: "\"}\"";
+ voice-family: inherit;
+ margin-left: 201px;
+ margin-right:0;
+}
+html>body #right {
+ margin-left: 201px;
+ margin-right:0;
+}
+
a
{
text-decoration: none;
@@ -37,6 +61,7 @@ h1
h1
{
+ padding-top: 1em;
font-size: 125%;
}
@@ -45,12 +70,6 @@ h2
font-size: 105%;
}
-#menu, #menu li
-{
- display: inline;
- list-style: none;
-}
-
dt
{
padding-top: 0.5em;
@@ -58,6 +77,7 @@ dt
#sections
{
+ padding-top: 1em;
list-style: none;
font-size: 0.8em;
}
@@ -67,18 +87,13 @@ dt
list-style: none;
margin-left: -1em;
}
-
-#page
-{
-}
-
-#left
+.download:before
{
- float: left;
- width: 20%;
+ content: url("http://ewi546.ewi.utwente.nl/tmp/hrw/fb/img/package-x-generic.png");
+ padding: 0 2px;
}
-#right
+#download
{
- width: 79%;
+ list-style: none;
}
============================================================
--- contrib/feed-browser/index.php decc21c5dc2467dd466639fa0f12be224cd7111b
+++ contrib/feed-browser/index.php fc5ff2a42b7da156c38b69304afe3cabf8f962be
@@ -80,10 +80,11 @@ switch($action)
<style type="text/css" media="all">@import "css/feed.css";</style>
</head>
<body >
- <div id="page">
- <div id="left"><?php echo sectionslist(); ?></div>
<div id="right"><?php echo searchletter(); echo $ipkgoutput; ?></div>
- </div>
+ <div id="left">
+ <h1>Sections list</h1>
+ <?php echo sectionslist(); ?>
+ </div>
</body>
</html>
<?php
More information about the Openembedded-commits
mailing list