Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.39 KB | None | 0 0
  1. @{
  2. ViewBag.Title = "Transactions";
  3. if (ViewBag.Page == null)
  4. {
  5. ViewBag.Page = 1;
  6. }
  7. }
  8.  
  9. <!DOCTYPE html>
  10. <html lang="en">
  11. <head>
  12. <meta charset="utf-8">
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  14. <meta name="viewport" content="width=device-width, initial-scale=1">
  15. <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  16. <title>FLIR DTS Transactions</title>
  17. <link rel="shortcut icon" href="http://www.flir.com/favicon.ico">
  18.  
  19. <!-- Bootstrap -->
  20. <link href="@Url.Content("/Views/css/bootstrap.min.css")" rel="stylesheet" type="text/css">
  21. <!-- Font Awesome -->
  22. <!--<link href="/Home/views/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
  23. <link href="@Url.Content("/Views/css/font-awesome.min.css")" rel="stylesheet" type="text/css">
  24.  
  25. <!-- Main CSS -->
  26. <!-- <link href="/Home/views/css/flir-dts.css" rel="stylesheet" type="text/css"> -->
  27. <link href="@Url.Content("/Views/css/flir-dts.css")" rel="stylesheet" type="text/css">
  28. <link href="~/Style/StyleSheet.css" rel="stylesheet" />
  29. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  30. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  31. <!--[if lt IE 9]>
  32. <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  33. <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
  34. <![endif]-->
  35. </head>
  36.  
  37. <body>
  38. <nav class="navbar navbar-inverse">
  39. <div class="container clearfix">
  40. <div class="navbar-header pull-left">
  41. <a class="navbar-brand" href="@Url.Action("Index","Home")">
  42. <img src="/Content/img/flir-dts-logo.png" alt="FLIR DTS" />
  43. </a>
  44. </div>
  45. </div><!-- .container -->
  46. <div class="container">
  47. <hr class="nav-hr">
  48. </div>
  49. </nav>
  50.  
  51. <section class="dts-section">
  52. <div class="container">
  53. <div class="section-header row">
  54. <div class="search clearfix">
  55.  
  56. <input type="text" class="form-control" placeholder="Search Transactions..." style="margin-bottom:5px">
  57.  
  58. <button type="submit" class="btn btn-primary" style="margin-bottom:5px">Search</button>
  59.  
  60. <div class="section-header row">
  61. <div class="col-sm-3">
  62. <select class="form-control">
  63. <option>Sort By</option>
  64. <option disabled>---</option>
  65. <option>1</option>
  66. <option>2</option>
  67. <option>3</option>
  68. <option>4</option>
  69. <option>5</option>
  70. </select>
  71. </div>
  72. <div><a href="@Url.Action("NextPage","Home")" class="btn btn-default pull-right" style="margin-right:10px">Next Page</a></div>
  73. <div><a href="@Url.Action("LastPage","Home")" class="btn btn-default pull-right">Last Page</a></div>
  74. </div>
  75. </div>
  76. </div>
  77. </div>
  78. </section>
  79. <section class="dts-section">
  80. <div class="container">
  81. <div class="scrollingtable" style="height:400px">
  82. <div>
  83. <div>
  84. <table>
  85. <thead>
  86. <tr>
  87. <th><div><div>Transaction ID</div><div>Transaction ID</div></div></th>
  88. <th><div><div>Date</div><div>Date</div></div></th>
  89. <th><div><div>Status</div><div>Status</div></div></th>
  90. <th><div><div>Count</div><div>Count</div></div></th>
  91. <th class="scrollbarhead"></th> <!--ALWAYS ADD THIS EXTRA CELL AT END OF HEADER ROW-->
  92. </tr>
  93. </thead>
  94. <tbody>
  95. @for (int i = 0; i < ViewBag.TranIDArray.Length; i++)
  96. {
  97. if (ViewBag.TranIDArray[i] != "Unknown")
  98. {
  99. <tr><td>@ViewBag.TranIDArray[i]</td><td>@ViewBag.TranDateArray[i]</td><td><p id="status">@ViewBag.TranStatusArray[i]</p><p id="slide"><br />test</p></td><td>@ViewBag.TranCountArray[i]</td></tr>
  100. }
  101. }
  102. </tbody>
  103. </table>
  104. </div>
  105. <p id="localtime"></p>
  106. </div>
  107. </div>
  108. </div>
  109. </section>
  110.  
  111. <script>
  112. $(document).ready(function() {
  113. $("#status").click(function () {
  114. //$("slide").slideToggle("slow");
  115. alert("click");
  116. })
  117. });
  118. </script>
  119.  
  120. <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
  121. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  122. <!-- Include all compiled plugins (below), or include individual files as needed -->
  123. <script src="/Views/css/bootstrap.min.js"></script>
  124. </body>
  125. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement