PageRenderTime 28ms CodeModel.GetById 8ms RepoModel.GetById 0ms app.codeStats 0ms

/BlogEngine/BlogEngine.NET/Templates/users.htm

#
HTML | 37 lines | 37 code | 0 blank | 0 comment | 0 complexity | d7b89ee7670221d91a59a39fccb844f7 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. {#if $T.d.length == 0}
  2. <div class="info">
  3. You haven't added any user so far. To add a new user use the link in the top right corner of the page.
  4. </div>
  5. {#else}
  6. <table id="UserService" class="beTable rounded">
  7. <thead>
  8. <tr>
  9. <th width="20"><input type="checkbox" id="selectall" onclick="toggleAllChecks(this)" /></th>
  10. <th width="220">Name</th>
  11. <th width="auto">Email</th>
  12. <th width="120">&nbsp;</th>
  13. </tr>
  14. </thead>
  15. <tbody>
  16. {#foreach $T.d as post}
  17. <tr class="{#cycle values=['','alt']}">
  18. <td><input type="checkbox" name="chk"{$T.post.UserName} class="chk"/></td>
  19. <td class="username">{$T.post.UserName}</td>
  20. <td class="editable">{$T.post.Email}</td>
  21. <td>
  22. <ul class="rowTools">
  23. <li>
  24. <a class="toolsAction" href="#"><span class="">Tools</span></a>
  25. <ul class="rowToolsMenu">
  26. <li><a href="#" class="editButton editAction">Edit</a></li>
  27. <li><a href="#" class="deleteButton deleteAction">Delete</a></li>
  28. <li><a class="profileAction" href="Profile.aspx?id={$T.post.UserName}">Profile</a></li>
  29. </ul>
  30. </li>
  31. </ul>
  32. </td>
  33. </tr>
  34. {#/for}
  35. </tbody>
  36. </table>
  37. {#/if}