marked phpMyAdmin Designer as own package (phpMyAdmin-Designer)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -1,10 +1,20 @@
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
if (!window.all) // if IE
|
||||
{
|
||||
{
|
||||
document.attachEvent("onreadystatechange", // document load
|
||||
function ()
|
||||
{
|
||||
if (document.readyState == "complete")
|
||||
{
|
||||
function ()
|
||||
{
|
||||
if (document.readyState == "complete")
|
||||
{
|
||||
var el = document.getElementById("canvas");
|
||||
var outerHTML = el.outerHTML;
|
||||
var newEl = document.createElement(outerHTML);
|
||||
@@ -17,7 +27,7 @@ if (!window.all) // if IE
|
||||
|
||||
el.style.width = el.attributes.width.nodeValue + "px";
|
||||
el.style.height = el.attributes.height.nodeValue + "px";
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
@@ -30,23 +40,23 @@ if (!window.all) // if IE
|
||||
m[i] = (m[i]*1).toString(16).length < 2 ? '0' + (m[i]*1).toString(16) : (m[i]*1).toString(16);
|
||||
return ['#' + m[1] + m[2] + m[3], 1];
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
//------------------------------------------------------------------------------
|
||||
function PMD_2D(th) {
|
||||
this.element_ = th;
|
||||
this.pmd_arr = Array();
|
||||
this.strokeStyle;
|
||||
this.fillStyle;
|
||||
this.lineWidth;
|
||||
|
||||
|
||||
this.closePath = function() {
|
||||
this.pmd_arr.push({type: "close"});
|
||||
}
|
||||
|
||||
|
||||
this.clearRect = function() {
|
||||
this.element_.innerHTML = "";
|
||||
this.pmd_arr = [];
|
||||
}
|
||||
|
||||
|
||||
this.beginPath = function() {
|
||||
this.pmd_arr = [];
|
||||
}
|
||||
@@ -111,7 +121,7 @@ if (!window.all) // if IE
|
||||
|
||||
for (var i = 0; i < this.pmd_arr.length; i++) {
|
||||
var p = this.pmd_arr[i];
|
||||
|
||||
|
||||
if (p.type == "moveTo") {
|
||||
Str.push(" m ");
|
||||
Str.push(Math.floor(p.x), ",",Math.floor(p.y));
|
||||
@@ -130,10 +140,10 @@ if (!window.all) // if IE
|
||||
Math.floor(p.xEnd), ",", Math.floor(p.yEnd));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Str.push(' ">');
|
||||
Str.push("</v:shape>");
|
||||
|
||||
|
||||
this.element_.insertAdjacentHTML("beforeEnd", Str.join(""));
|
||||
this.pmd_arr = Array();
|
||||
}
|
||||
|
@@ -2,6 +2,7 @@
|
||||
/**
|
||||
* @version $Id$
|
||||
* @author Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -1,4 +1,8 @@
|
||||
/* $Id$ */
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/**
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
body{ font-family:Arial, Helvetica, sans-serif; font-size:12px; background-color:#EAEEF0; margin:0px; }
|
||||
.input_tab { background-color:#A6C7E1;}
|
||||
@@ -41,14 +45,14 @@ input,select,textarea{ font-family:Arial, Helvetica, sans-serif; font-size:12px;
|
||||
.L_butt2_2{ font-size:12px; padding:0px; border:#0099CC solid 1px; background:#FFEE99; text-decoration: none; color:#000000; cursor:default;}
|
||||
/* -----------------------------------------------------------------------------------------------------------*/
|
||||
.bor{ width:10px; height:10px;}
|
||||
#frams1 { background: url(images/1.png) no-repeat right bottom; }
|
||||
#frams1 { background: url(images/1.png) no-repeat right bottom; }
|
||||
#frams2 { background: url(images/2.png) no-repeat left bottom; }
|
||||
#frams3 { background: url(images/3.png) no-repeat left top; }
|
||||
#frams3 { background: url(images/3.png) no-repeat left top; }
|
||||
#frams4 { background: url(images/4.png) no-repeat right top; }
|
||||
#frams5 { background: url(images/5.png) repeat-x center bottom; }
|
||||
#frams6 { background: url(images/6.png) repeat-y left; }
|
||||
#frams5 { background: url(images/5.png) repeat-x center bottom; }
|
||||
#frams6 { background: url(images/6.png) repeat-y left; }
|
||||
#frams7 { background: url(images/7.png) repeat-x top; }
|
||||
#frams8 { background: url(images/8.png) repeat-y right; }
|
||||
#frams8 { background: url(images/8.png) repeat-y right; }
|
||||
|
||||
#osn_tab { background-color:#FFFFFF; border:#A9A9A9 solid 1px;}
|
||||
|
||||
@@ -63,13 +67,13 @@ ul.header {
|
||||
position: fixed;
|
||||
margin: 0;
|
||||
z-index:1001;
|
||||
|
||||
|
||||
padding:0px;
|
||||
|
||||
|
||||
background-image:url(images/top_panel.png);
|
||||
background-position:top;
|
||||
background-repeat:repeat-x;
|
||||
|
||||
|
||||
border-right:#999999 solid 1px;
|
||||
/*border-bottom:#999999 solid 1px;*/
|
||||
border-left:#999999 solid 1px;
|
||||
@@ -126,7 +130,7 @@ cursor: default;
|
||||
background-color: #FFEE99;
|
||||
}
|
||||
|
||||
.M_bord
|
||||
.M_bord
|
||||
{
|
||||
border: 0;
|
||||
margin-left: 2px;
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
* @author Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
* @author Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
* @author Ivan A Kirillov (Ivan.A.Kirillov@gmail.com)
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@@ -3,6 +3,7 @@
|
||||
/**
|
||||
*
|
||||
* @version $Id$
|
||||
* @package phpMyAdmin-Designer
|
||||
*/
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user