RoadFlow2.1 临时演示

Sort.aspx 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sort.aspx.cs" Inherits="WebForm.Platform.RoleApp.Sort" %>
  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. <br />
  11. <div style="padding-left:7px; width:83%; margin:0 auto; height:auto;" id="sortdiv">
  12. <%
  13. foreach (var app in RoleAppList)
  14. {
  15. %>
  16. <ul class="sortul">
  17. <input type="hidden" value="<%=app.ID %>" name="sortapp" />
  18. <%=app.Title %>
  19. </ul>
  20. <%}%>
  21. </div>
  22. <div class="buttondiv">
  23. <input type="submit" class="mybutton" value="保存排序" />
  24. <input type="button" class="mybutton" value="返回" onclick="re();" />
  25. </div>
  26. </form>
  27. <script type="text/javascript">
  28. var win = new RoadUI.Window();
  29. $(function ()
  30. {
  31. new RoadUI.DragSort($("#sortdiv"));
  32. });
  33. function re()
  34. {
  35. window.location = "Body.aspx" + "<%=Request.Url.Query%>";
  36. }
  37. </script>
  38. </body>
  39. </html>