index.html 1.1 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Document</title>
  6. <link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.min.css">
  7. <link rel="stylesheet" href="bower_components/font-awesome/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="css/style.css">
  9. </head>
  10. <body>
  11. <div class="container">
  12. <div class="page-header">
  13. <h1>x-editable <small>jquery</small></h1>
  14. </div>
  15. <ul class="list-group">
  16. <li class="list-group-item"><strong>Firstname: </strong><span editable="text" onbeforesave="validateText" onaftersave="sendToServer">Tony</span></li>
  17. <li class="list-group-item"><strong>Lastname: </strong><span editable="text" onbeforesave="validateText"></span></li>
  18. <li class="list-group-item"><strong>Age: </strong><span editable="number">25</span></li>
  19. <li class="list-group-item"><strong>Email: </strong><span editable="email">Stark@gmail.com</span></li>
  20. <li class="list-group-item"><strong>Password: </strong><span editable="password">123456789</span></li>
  21. </ul>
  22. </div>
  23. <script src="bower_components/jquery/dist/jquery.min.js"></script>
  24. <script src="js/script.js"></script>
  25. </body>
  26. </html>