##TODO
* HOT
- * History (!)
- * Reference integrity
* Write some assistants for basic workflows
- * CSS
* Features
* INSERT/UPDATE to multiple tables (so brand new item can be inserted with model at once)
+ * DB
+ * Reference integrity
* UI
+ * CSS
* Templating system
* Stateless barcode scanner interface (php-cli?)
* Security
* XSS (none fixed)
* Code refactoring
* Optimize magic quotes usage
- * Separate classes to single files
+ * Move classes to separate files
* Make sure that every method is in the class that it belongs to
+ * Move CSS and Javascript to separate files
* Use GetText
* English and Czech locales
* Release engineering
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<h1><a href="$script/">SystémSklad</a><small>$title</small></h1>
+
+<style type="text/css">
+.menu li, .menu * li {
+ float: left;
+ margin: 0.2em;
+}
+
+.menu * menu {
+ position: absolute;
+ background-color: yellow;
+}
+
+.menu, .menu * menu {
+ list-style: none;
+}
+
+.menu * menu {
+ display: none;
+ margin: 0;
+}
+
+.menu li:hover menu {
+ display: block;
+}
+</style>
+
<div>
- <menu>
+ <menu class="menu">
<li><a href="?logout">Logout</a></li>
<li><a href="$script/">Home</a></li>
+ <li><a href="#">Assistants</A>
+ <menu>
+ <li><a href="$script/assistant/new-item">new-item</a></li>
+ </menu>
+ </li>
+ <li><a href="#">List</a>
+ <menu>
+ <li><a href="$script/item">item</a></li>
+ <li><a href="$script/model">model</a></li>
+ <li><a href="$script/category">category</a></li>
+ <li><a href="$script/producer">producer</a></li>
+ <li><a href="$script/vendor">vendor</a></li>
+ <li><a href="$script/room">room</a></li>
+ <li><a href="$script/status">status</a></li>
+ </menu>
+ </li>
+ <li><a href="#">New</a>
+ <menu>
+ <li><a href="$script/item/new">item</a></li>
+ <li><a href="$script/model/new">model</a></li>
+ <li><a href="$script/category/new">category</a></li>
+ <li><a href="$script/producer/new">producer</a></li>
+ <li><a href="$script/vendor/new">vendor</a></li>
+ <li><a href="$script/room/new">room</a></li>
+ <li><a href="$script/status/new">status</a></li>
+ </menu>
+ </li>
</menu>
- <form action="?" method="GET">
- <input type="text" name="q" placeholder="regexp..." value="$search" />
- <input type="submit" value="filter" />
- </form>
- <!-- form action="$script/" method="GET">
- <input type="text" name="q" placeholder="regexp..." value="$search" />
- <input type="submit" value="search items" />
- </form -->
+
+ <div style="float: right;">
+ <form action="?" method="GET">
+ <input type="text" name="q" placeholder="regexp..." value="$search" />
+ <input type="submit" value="filter" />
+ </form>
+ <!-- form action="$script/" method="GET">
+ <input type="text" name="q" placeholder="regexp..." value="$search" />
+ <input type="submit" value="search items" />
+ </form -->
+ </div>
</div>
+<hr style="clear: both;" />
<div style="background-color:#FFDDDD;">
<font color="red">$message</font>
</div>