Added global layout (basic "mockup"), we need the basic work to change colors and improve the style but overall looks well.

git-svn-id: file:///home/svn/framework3/trunk@3939 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
lmh 2006-09-24 02:16:46 +00:00
parent 501df01365
commit 00912197ee
11 changed files with 293 additions and 12 deletions

View File

@ -1,4 +1,5 @@
class PayloadsController < ApplicationController
layout 'msfweb'
def list
end

View File

@ -0,0 +1,68 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="robots" content="none" />
<meta name="Author" content="" />
<meta name="description" content="" />
<meta name="keywords" content=" " />
<title>MSFWEB</title>
<%= stylesheet_link_tag "msfweb" %>
</head>
<body>
<div id="content">
<div id="header">
<h1>Boo</h1>
</div>
<ul id="nav">
<li><a href="index.html">Exploits</a></li>
</ul>
<div class="navbar">
<span class="navbartitle">You are at:</span> <a href="index.html">Blue Style 1</a>
</div>
<div id="mainmenu">
<div class="menu1">
<div class="menutitle">Sub Menu 1</div>
<ul>
<li><a href="index.html" >sub menu link</a></li>
<li><a href="index.html">sub menu link</a></li>
</ul>
</div>
<div class="menu2">
<div class="menutitle">Sub Menu 2</div>
<ul>
<li><a href="index.html" >sub menu link</a></li>
<li><a href="index.html">sub menu link</a></li>
</ul>
</div>
<div class="menu3">
<div class="menutitle">Sub Menu 3</div>
<ul>
<li><a href="index.html" >sub menu link</a></li>
<li><a href="index.html">sub menu link</a></li>
</ul>
</div>
</div>
<div id="main">
<%= @content_for_layout %>
</div>
<div id="footer">
<a href="index.html">Bottom Link</a>
</div>
<div id="end">YOUR WEBSITE NAME | &copy; 2003</div>
</div>
</body>
</html>

View File

@ -1,11 +1,5 @@
<html>
<head>
<title>Payloads</title>
</head>
<body>
<h1>Payloads</h1>
<table border="1">
<h2>Payloads</h2>
<table border="0">
<tr>
<td><p align="center"><i><b>Module</b></i></td>
<td><p align="center"><i><b>Title</b></i></td>
@ -20,6 +14,3 @@
</tr>
<% end %>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 112 B

View File

@ -0,0 +1,221 @@
body { padding: 0; margin: 0; font: 90% Verdana, arial, helvetica, sans-serif; background: #fcfcfc; color: #454545;}
a, a:visited { color: #06c; background: inherit; }
a:active { background: inherit; color: #990000; text-decoration: none; }
a:hover { color: #993333 ; background: inherit; text-decoration: underline; }
acronym{ border-bottom: 1px #26488F dashed; cursor: help;}
h1 {
background: inherit;
color:#26488F ;
font: normal 218% 'arial narrow', Verdana,georgia, Sans-Serif;
letter-spacing: 1px;
padding: 20px 0 0 0;
margin: 0;
text-transform:uppercase;
}
h2, h3, h4, h5 {
background: inherit;
color: #993333;
margin: 25px 0 4px 30px;
padding: 0;
font:normal 160% Georgia, Arial, Verdana, Helvetica, sans-serif;
letter-spacing: 1px;
}
#content { margin: 4px auto 20px auto; width: 96%;}
#header { background: #fcfcfc; color: #000; height: 68px; padding: 2px 0 4px 0; margin:0;}
#header h1 a, h1 a:visited { background: inherit; color:#26488F; margin: 0px 0 0 6px; text-decoration:none; }
#header h1 a:hover { background: inherit;color: #000; text-decoration:none;}
#nav { width:100%; float:left; }
ul#nav{ list-style:none; padding:0; margin: 16px 0 0px 0px;}
ul#nav li {
background: #5A83BA;
display:block;
float:left;
background-image: url(/images/tr.gif) ;
background-position: top right ;
background-repeat: no-repeat;
margin: 0px 0 0 0;
color:#fff;
border-right:1px solid #fff; border-bottom:1px solid #fff;
padding-right:10px;
}
ul#nav li a {
display:block;
float:left;
background-color: #5A83BA;
background-image: url(/images/tl.gif);
background-position: top left;
background-repeat: no-repeat;
letter-spacing: 0px;
color:#fff;
text-decoration:none;
margin:0;
padding:6px 0 6px 10px;
}
ul#nav li a:hover {
color:#F8C400;
background-color: #5A83BA;
background-image: url(/images/tl.gif);
background-position: top left;
background-repeat: no-repeat;
margin:0;
text-decoration: underline;
padding:6px 0 6px 10px
}
.navbar {
float:left;
background: #5A83BA;
color: #fff;
margin: 0px;
padding: 5px 2px 5px 0;
width: 100%;
}
.navbartitle {
background:inherit;
color: #fff;
padding: 0px 2px 0px 9px;
}
.navbar a, .navbar a:visited {
background: #5A83BA;
color: #fff;
padding: 2px 2px 2px 0px;
text-decoration: none;
}
.navbar a:hover {
background: #5A83BA;
color: #F8C400;
text-decoration: underline;
}
#main {
float: left;
display: inline;
background: #fcfcfc;
color: #000;
width: 100%;
border-left: solid 1px;
border-right: solid 1px;
border-color: #b0c4de;
padding: 0 0 20px 0;
}
#main p{ padding: 0px 32px 4px 32px; margin:10px 0 0 0; word-spacing:1px; line-height: 1.45;}
#main ul {padding: 0 0 0 36px; margin: 12px 0 0 0;}
#main li {padding: 0px 0 4px 0px; margin: 6px 0 0 0px; list-style-type:square;list-style-position: inside;}
#searchcontainer{
margin: 0 4px 0 4px;
padding: 1px 0 1px 0;
line-height: 1.75;
background-color: #fcfcfc;
color:#333;
text-align:center;
}
.searchform {
float: left;
display: inline;
background: #fcfcfc;
border: solid 1px#d1d1d1;
text-align: center;
font: normal 100% arial, Verdana,Helvetica, sans-serif;
color: #000;
letter-spacing:1px;
margin-left:0.6%;
width:98.9%;
padding: 5px 0 0px 0px;
}
form {background-color: #fcfcfc; color: #000; padding: 3px 0 4px 0; margin: 2px 0 2px 0;}
input { background-color: #fff; color: #333; border: 1px solid #ddd; padding: 2px;}
.button { cursor: pointer; padding: 1px; background: #eee; color: #000; border: 1px solid #ddd;}
#mainmenu { background: #b0c4de; color:#000; float:left; padding:6px 2px 6px 0; width:100%;}
#bottommenu { background: #b0c4de; color:#000; float:left; padding:6px 2px 6px 0; width:100%;}
.menu1 { background: #fcfcfc; border: solid 1px; border-color: #d1d1d1; color: #749C40;
float: left; line-height: 1.1em;
width: 32%; padding: 0 0 10px 0;
margin-left: 0.7%; display: inline;}
.menu2 { background: #fcfcfc; border: solid 1px; border-color: #d1d1d1; color: #749C40;
float: left; line-height: 1.1em;
width: 32%; padding: 0px 0 10px 0px;
margin-left: 1%; }
.menu3 { background: #fcfcfc; border: solid 1px; border-color: #d1d1d1; color: #749C40;
float: left; line-height: 1.1em;
width: 32%; padding: 0px 0 10px 0px;
margin-left: 1%; }
.menu1 ul, .menu2 ul, .menu3 ul, .menua ul{ margin: 0; padding: 0;}
.menu1 li, .menu2 li, .menu3 li, .menua li{ line-height: 0.9em; list-style-type:none; margin: 8px 0 0 12px;}
.menu1 li a, .menu2 li a, .menu3 li a, .menu1 li a:visited, .menu2 li a:visited, .menu3 li a:visited{ text-decoration:none; color:#06c ; background:inherit;}
.menu1 li a:hover , .menu2 li a:hover , .menu3 li a:hover{ text-decoration:underline; color:#993333; background:inherit;}
.menutitle {
color: #333;
background-image: url(/images/graybck.jpg);
background-color: #E6E6E6;
font: bold 100% tahoma,veranda, arial,helvetica, sans-serif;
letter-spacing:1px;
margin: 0;
padding: 2px 0 2px 6px;
text-transform: lowercase;
}
#dirbox {
float: left;
display: inline;
background: #fcfcfc;
color: #000;
width: 100%;
padding: 5px 0 5px 0;
border-left: solid 1px;
border-right: solid 1px;
border-color: #b0c4de;
}
#dirbox p{ padding: 0 0 10px 0; margin:6px 0 0 0; }
.halfleft {float: left; width: 45%; padding: 0.2em; margin: 12px 0 0 12px; font-size: small;}
.halfright {float: right; width: 45%; padding: 0.2em; margin: 12px 8px 0 0; font-size: small;}
.dirtitle{ font:normal 150% Georgia, "Arial Narrow", Verdana, sans-serif; letter-spacing:1px;
color: #990000; background:inherit; border-bottom: 1px solid #DCDCDC; margin: 24px 0 0 0; padding:0 0 3px 0;}
.paragraph {line-height: 1.5em; margin-left: 6px; margin-right:6px;}
.quarterleft{ width:49%; float:left; margin: 5px 0 0 0;}
.quarterright{ width:48%; float:right; margin: 5px 0 0 0;}
.quarterleft ul, .quarterright ul{ margin: 5px 0 30px 6px; padding:0; list-style:none;}
.quarterleft li, .quarterright li{ margin:0 0 6px 0; padding:0 3px 0 0; list-style:none;}
.quarterleft a, .quarterright a{ margin:0 0 0 10px; text-decoration:none;}
#footer { background:#5A83BA; color:#fff; float:left; margin: 0 0 10px 0; padding: 6px 2px 6px 0; text-align:center; width:100%;}
#footer a, #footer a:visited{ background: #5A83BA; color: #fff; letter-spacing: 1px; margin: 0 2px 0 2px; text-decoration:none; }
#footer a:hover { background:inherit; color: #F8C400; text-decoration: underline;}
#end {
width: 100%;
background: #fcfcfc;
font-size: 90%;
color: #233543;
float: left;
padding:0 0 6px 0;
text-align: center;
}