summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2010-08-15 21:29:25 +0200
committerAlex Legler <alex@a3li.li>2010-08-15 21:29:25 +0200
commit37095f7e5d7a0c3e6cfa87cc91de9645180484e7 (patch)
treeb2b2d518c482ba8d12eae6edd8145783f036b817 /public
parentUpdate a couple of images (diff)
downloadglsamaker-37095f7e5d7a0c3e6cfa87cc91de9645180484e7.tar.gz
glsamaker-37095f7e5d7a0c3e6cfa87cc91de9645180484e7.tar.bz2
glsamaker-37095f7e5d7a0c3e6cfa87cc91de9645180484e7.zip
Starting the CVETool \o/
Diffstat (limited to 'public')
-rw-r--r--public/images/cvetool-logo.pngbin0 -> 5036 bytes
-rwxr-xr-x[-rw-r--r--]public/images/icons/bug.pngbin774 -> 704 bytes
-rwxr-xr-x[-rw-r--r--]public/images/icons/bug_add.pngbin806 -> 773 bytes
-rw-r--r--public/javascripts/glsamaker.js9
-rw-r--r--public/stylesheets/screen.css20
5 files changed, 28 insertions, 1 deletions
diff --git a/public/images/cvetool-logo.png b/public/images/cvetool-logo.png
new file mode 100644
index 0000000..2546cc7
--- /dev/null
+++ b/public/images/cvetool-logo.png
Binary files differ
diff --git a/public/images/icons/bug.png b/public/images/icons/bug.png
index 2d5fb90..242d539 100644..100755
--- a/public/images/icons/bug.png
+++ b/public/images/icons/bug.png
Binary files differ
diff --git a/public/images/icons/bug_add.png b/public/images/icons/bug_add.png
index ced7817..fe12b19 100644..100755
--- a/public/images/icons/bug_add.png
+++ b/public/images/icons/bug_add.png
Binary files differ
diff --git a/public/javascripts/glsamaker.js b/public/javascripts/glsamaker.js
index aa025e4..d9c4b2b 100644
--- a/public/javascripts/glsamaker.js
+++ b/public/javascripts/glsamaker.js
@@ -113,6 +113,15 @@ function generateDescription() {
$('description').value = "Multiple vulnerabilities have been discovered in " + name + ". Please view the CVE identifiers referenced below for details.";
}
+
+function cveinfo(cveid) {
+ Modalbox.show("/cve/info/" + cveid, {title: cveid, width: 800});
+}
+
+function cvepopup(cveid) {
+ window.open("/cve/info/" + cveid, "cvepopup-" + cveid, "width=500, height=400,status=no,menubar=no,toolbar=no,resizable=no");
+}
+
//document.observe('dom:loaded', function() {
//});
diff --git a/public/stylesheets/screen.css b/public/stylesheets/screen.css
index 5461fe0..7d6c74c 100644
--- a/public/stylesheets/screen.css
+++ b/public/stylesheets/screen.css
@@ -115,7 +115,8 @@ body#new #menu li a.new,
body#requests #menu li a.requests,
body#drafts #menu li a.drafts,
body#archive #menu li a.archive,
-body#secunia #menu li a.secunia {
+body#secunia #menu li a.secunia,
+body#cve #menu li a.cve {
background: #fff;
color: #555;
opacity: 1;
@@ -442,4 +443,21 @@ textarea.nice, input.nice {
background-color: #7E9557;
}
+/** cve tool **/
+div#cve-sidebar {
+ float: right;
+ width: 20%;
+ padding: .5em;
+}
+
+div#cve-sidebar div.section {
+ font-size: 120%;
+ padding: .5em;
+ border-bottom: 1px solid #8875B0;
+}
+
+table#cvetable {
+ cursor: default;
+}
+
@import url("/stylesheets/screen.css"); \ No newline at end of file