From: Gordon P. H. <gph...@us...> - 2004-08-07 10:20:04
|
Update of /cvsroot/phpliteadmin/phpLiteAdmin/style In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27459/style Modified Files: db_structure.css db_structure.xsl main.xsl navbar.xsl Log Message: Code cleanup and GUI formatting. Index: navbar.xsl =================================================================== RCS file: /cvsroot/phpliteadmin/phpLiteAdmin/style/navbar.xsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- navbar.xsl 4 Aug 2004 21:08:54 -0000 1.3 +++ navbar.xsl 7 Aug 2004 10:19:51 -0000 1.4 @@ -10,14 +10,20 @@ </head> <body> <ul> - <xsl:for-each select="databases/database"> + <xsl:for-each select="/databases/database"> <li><a> <xsl:attribute name="href">./db.php5?db=<xsl:value-of select="@name" /></xsl:attribute> <xsl:attribute name="target">main</xsl:attribute> <xsl:value-of select="@name" /> </a> <ul> - <li><xsl:value-of select="table" /></li> + <xsl:for-each select="table"> + <li><a> + <xsl:attribute name="href">./tbl.php5?mode=structure&tbl=<xsl:value-of select="." />&db=<xsl:value-of select="/databases/database/@name" /></xsl:attribute> + <xsl:attribute name="target">main</xsl:attribute> + <xsl:value-of select="." /> + </a></li> + </xsl:for-each> </ul> </li> </xsl:for-each> Index: main.xsl =================================================================== RCS file: /cvsroot/phpliteadmin/phpLiteAdmin/style/main.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- main.xsl 4 Aug 2004 01:53:02 -0000 1.1 +++ main.xsl 7 Aug 2004 10:19:51 -0000 1.2 @@ -10,7 +10,8 @@ </head> <body> <h1>Welcome to phpLiteAdmin</h1> - <strong>SQLite <xsl:value-of select="content/details/version" /></strong> + <p><strong>SQLite <xsl:value-of select="/content/details/version" /></strong></p> + <p>Use the navigation panel on the left to navigate to your desired location.</p> </body> </html> Index: db_structure.css =================================================================== RCS file: /cvsroot/phpliteadmin/phpLiteAdmin/style/db_structure.css,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- db_structure.css 4 Aug 2004 21:06:24 -0000 1.1 +++ db_structure.css 7 Aug 2004 10:19:51 -0000 1.2 @@ -31,98 +31,101 @@ } .table_row { - width: 100%; height: 20px; - border-width: 1px 0px 1px 0px; - border-color: #000000; - border-style: solid; + width: 100%; } .checkbox { float: left; - width: 5%; height: 20px; - border-width: 0px 1px 0px 1px; + border-width: 1px 1px 1px 1px; border-color: #000000; border-style: solid; + padding: 0px 3px; } .table { float: left; - width: 25%; + width: 20%; height: 20px; - border-width: 0px 1px 0px 0px; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: left; + padding: 0px 3px; } .structure { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + width: 10%; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: center; + padding: 0px 3px; } .browse { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + width: 10%; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: center; + padding: 0px 3px; } .input { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + width: 10%; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: center; + padding: 0px 3px; } .empty { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + width: 10%; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: center; + padding: 0px 3px; } .drop { float: left; - width: 8%; height: 20px; - border-width: 0px 1px 0px 0px; + width: 10%; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; text-align: center; + padding: 0px 3px; } .records { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; - text-align: right; + text-align: center; + padding: 0px 3px; } .size { float: left; - width: 10%; height: 20px; - border-width: 0px 1px 0px 0px; + border-width: 1px 1px 1px 0px; border-color: #000000; border-style: solid; - text-align: right; + text-align: center; + padding: 0px 3px; } \ No newline at end of file Index: db_structure.xsl =================================================================== RCS file: /cvsroot/phpliteadmin/phpLiteAdmin/style/db_structure.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- db_structure.xsl 4 Aug 2004 21:06:24 -0000 1.1 +++ db_structure.xsl 7 Aug 2004 10:19:51 -0000 1.2 @@ -9,24 +9,26 @@ <link rel="stylesheet" href="style/db_structure.css" type="text/css" /> </head> <body> - <h1>Database: <xsl:value-of select="tables/table/db" /></h1> + <h1>Database: <xsl:value-of select="/tables/table/db" /></h1> <div id="nav"> <div class="nav_option"> - <a><xsl:attribute name="href">db.php5?db=<xsl:value-of select="tables/table/db" /></xsl:attribute>Structure</a> + <a><xsl:attribute name="href">db.php5?db=<xsl:value-of select="/tables/table/db" /></xsl:attribute>Structure</a> </div> <div class="nav_option"> - <a><xsl:attribute name="href">db.php5?mode=sql&db=<xsl:value-of select="tables/table/db" /></xsl:attribute>SQL</a> + <a><xsl:attribute name="href">db.php5?mode=sql&db=<xsl:value-of select="/tables/table/db" /></xsl:attribute>SQL</a> </div> <div class="nav_option"> - <a><xsl:attribute name="href">db.php5?mode=export&db=<xsl:value-of select="tables/table/db" /></xsl:attribute>Export</a> + <a><xsl:attribute name="href">db.php5?mode=export&db=<xsl:value-of select="/tables/table/db" /></xsl:attribute>Export</a> </div> <div class="nav_option"> - <a><xsl:attribute name="href">db.php5?mode=drop&db=<xsl:value-of select="tables/table/db" /></xsl:attribute>Drop</a> + <a><xsl:attribute name="href">db.php5?mode=drop&db=<xsl:value-of select="/tables/table/db" /></xsl:attribute>Drop</a> </div> </div> + <br /> + <div id="tables"> - <xsl:for-each select="tables/table"> + <xsl:for-each select="/tables/table"> <div class="table_row"> <div class="checkbox"><input type="checkbox"><xsl:attribute name="name"><xsl:value-of select="name" /></xsl:attribute></input></div> <div class="table"><b><xsl:value-of select="name" /></b></div> |