RoadFlow2.1 临时演示

SortUsers.aspx 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SortUsers.aspx.cs" Inherits="WebForm.Platform.Members.SortUsers" %>
  2. <!DOCTYPE html>
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head runat="server">
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  6. <title></title>
  7. </head>
  8. <body>
  9. <form id="form1" runat="server">
  10. <div style="width:82%; margin:0 auto; height:auto;" id="sortdiv">
  11. <%
  12. foreach (var user in Users)
  13. {
  14. %>
  15. <ul class="sortul">
  16. <input type="hidden" value="<%=user.ID %>" name="sort" />
  17. <%=user.Name %>
  18. </ul>
  19. <%}%>
  20. </div>
  21. <div style="width:90%; text-align:center; margin:0 auto; margin-top:10px;">
  22. <input type="submit" class="mybutton" value="保存排序" onclick="" />
  23. <input type="button" class="mybutton" value="返回" onclick="re();" />
  24. </div>
  25. </form>
  26. <script type="text/javascript">
  27. var win = new RoadUI.Window();
  28. $(function ()
  29. {
  30. new RoadUI.DragSort($("#sortdiv"));
  31. });
  32. function re()
  33. {
  34. window.location = "User.aspx" + '<%=Request.Url.Query%>';
  35. }
  36. </script>
  37. </body>
  38. </html>