Mercurial > urweb
annotate tests/crud1.html @ 2265:a647a1560628
Hard-code Sqlcache module (in Ur/Web) as effectful and reorder sqlcache.sml.
author | Ziv Scully <ziv@mit.edu> |
---|---|
date | Wed, 14 Oct 2015 00:07:00 -0400 |
parents | 728aaeea12fd |
children |
rev | line source |
---|---|
adam@2164 | 1 <?xml version="1.0" encoding="utf-8" ?> |
adam@2164 | 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
adam@2164 | 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head></head><body> |
adam@2164 | 4 <p>Inserted with ID 1.</p> |
adam@2164 | 5 |
adam@2164 | 6 <table border="1"> |
adam@2164 | 7 <tr> |
adam@2164 | 8 <th>ID</th> |
adam@2164 | 9 <th>A</th> |
adam@2164 | 10 <th>B</th> |
adam@2164 | 11 <th>C</th> |
adam@2164 | 12 <th>D</th> |
adam@2164 | 13 </tr> |
adam@2164 | 14 |
adam@2164 | 15 <tr> |
adam@2164 | 16 <td>1</td> |
adam@2164 | 17 <td>1</td> |
adam@2164 | 18 <td>2</td> |
adam@2164 | 19 <td>3</td> |
adam@2164 | 20 <td>True</td> |
adam@2164 | 21 <td> |
adam@2164 | 22 <a href="/Demo/Crud1/upd/1">[Update]</a> |
adam@2164 | 23 <a href="/Demo/Crud1/confirm/1">[Delete]</a> |
adam@2164 | 24 </td> |
adam@2164 | 25 </tr> |
adam@2164 | 26 |
adam@2164 | 27 </table> |
adam@2164 | 28 <br /><hr /><br /> |
adam@2164 | 29 |
adam@2164 | 30 <form method="post" action="/Demo/Crud1/create"> |
adam@2164 | 31 <li> A: <input type="text" name="A" /></li> |
adam@2164 | 32 <li> B: <input type="text" name="B" /></li> |
adam@2164 | 33 <li> C: <input type="text" name="C" /></li> |
adam@2164 | 34 <li> D: <input type="checkbox" name="D" /></li> |
adam@2164 | 35 <input type="submit" /> |
adam@2164 | 36 </form> |
adam@2164 | 37 |
adam@2164 | 38 </body></html> |