Added a new style menu with 16x16 icons. Shiny.

git-svn-id: file:///home/svn/framework3/trunk@3962 4d416f70-5f16-0410-b530-b9f4589650da
unstable
lmh 2006-09-26 03:17:46 +00:00
parent c097ea949a
commit 7c36b292a5
10 changed files with 12 additions and 59 deletions

View File

@ -15,36 +15,15 @@
</head>
<body>
<div id="topmenu" class="dojoMenu">
<div id="topmenu">
<ul>
<li>Exploits
<ul>
<li>List available</li>
<li>Search</li>
</ul>
</li>
<li>Payloads
<ul>
<li>List available</li>
<li>Search</li>
</ul>
</li>
<li>Encoders
<ul>
<li>List available</li>
<li>Search</li>
</ul>
</li>
<li>Nops</li>
<li>Sessions</li>
<li>Jobs</li>
<li>Help
<ul>
<li>About</li>
<li>Metasploit Project</li>
<li>Info-pull.com</li>
</ul>
</li>
<li><img src="/images/bug.png" alt="" />Exploits</li>
<li><img src="/images/bomb.png" alt="" />Payloads</li>
<li><img src="/images/encoder.png" alt="" />Encoders</li>
<li><img src="/images/lightbulb-off.png" alt="" />Nops</li>
<li><img src="/images/terminal.png" alt="" />Sessions</li>
<li><img src="/images/jobs.png" alt="" />Jobs</li>
<li><img src="/images/help.png" alt="" />Help</li>
</ul>
</div>

View File

@ -1,5 +0,0 @@
To be removed once menubar works as it should:
<script>
var wind = new Window('exploi', {className: "mac_os_x", title: "Exploits List", top:70, left:100, width:300, height:200, resizable: true, url: "/exploits/list", showEffectOptions: {duration:3}})
</script>
<input type="button" value="Exploits list" onClick="wind.show();">

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 774 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.6 KiB

After

Width:  |  Height:  |  Size: 786 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 612 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 700 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 525 B

View File

@ -15,13 +15,12 @@ body {
background: #444444 url(/images/metasploit-graf.jpg) fixed center no-repeat;
}
/* inspired by http://alistapart.com/articles/dropdowns/ */
#topmenu {
margin:0;
padding:0;
width: 100%;
list-style-type:none;
height: 31px;
height: 35px;
background-color:#f4f4f4;
font-size: 8pt;
}
@ -37,6 +36,7 @@ body {
position: relative;
white-space: nowrap;
padding: 8px;
border-left: 1px solid #ddd;
font: menu;
color: WindowText;
}
@ -49,31 +49,10 @@ body {
color: HighlightText;
}
#topmenu li ul { /* second-level lists */
display: none;
position: relative;
top: 1em;
left: 0;
#topmenu img {
padding-right: 5px;
}
#topmenu li>ul {
top: auto;
left: auto;
}
#topmenu li:hover ul, li.over ul {
display: block;
position: absolute;
border-color: ThreeDHighlight ThreeDShadow ThreeDShadow ThreeDHighlight;
list-style-type: none;
margin: 0;
top: 32px;
background-color: ThreeDFace;
font-size: 8pt;
}
#maincontent {
position: relative;
min-height: 100%;