lists.php 1005 B

1234567891011121314151617
  1. <div class='element'>
  2. <div class='avatar' style='height:0px;'></div>
  3. <div class='post notimeline' style='text-align:left;'>
  4. <div style='padding:15px; text-align:left; display:inline-block;' id="settings">
  5. <h1><span class='fontello' style='font-size:inherit;'>&#xe80b;</span> List Management</h1>
  6. <ul>
  7. <?php
  8. $lists = api_get("/lists");
  9. foreach ($lists as $list) {
  10. echo "<li id='".$list['id']."' style='display:block; width:250px; height:35px;'><span style='float:left;'><span class='fontello' style='margin-right:5px;'>&#xe832;</span>" . $list['title'] . "</span><span style='float:right;' class='fontello listdelete cursor' id='".$list['id']."'>&#xe80e;</span></li>";
  11. }
  12. ?>
  13. <li style='display:block; width:250px; height:35px;><span style='float:left;'><span class='fontello' style='margin-right:5px;'>&#xe832;</span><input type="text" name="name" placeholder="New list"> <span class='fontello listnew cursor'>&#xe811;</span></span></li>
  14. </ul>
  15. </div>
  16. </div>
  17. </div>