blob: b89697f45b413e693e08e1b9716979b026990dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="AvailableSlips.aspx.cs" Inherits="Marina.Web.UI.AvailableSlips" Title="Untitled Page" %>
<%@ Import namespace="Marina.Web.Views"%>
<%@ Import namespace="Marina.Presentation"%>
<%@ Import namespace="Marina.Presentation.DTO"%>
<%@ Import namespace="Marina.Infrastructure"%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<div>
<h1>Available Slips</h1>
<table>
<thead>
<tr>
<td>Location Name</td>
<td>Dock Name</td>
<td>Slip Width</td>
<td>Slip Length</td>
</tr>
</thead>
<tbody>
<% foreach ( SlipDisplayDTO item in ViewLuggage.ClaimFor(ViewLuggageTickets.AvailableSlips) ) {%>
<tr>
<td><%= item.LocationName %></td>
<td>
<a href='<%= WebViews.DockView.Name( ) %>?<%= PayloadKeys.DockId %>=<%= item.DockId %>'>
<%= item.DockName %>
</a>
</td>
<td><%= item.Width %></td>
<td><%= item.Length %></td>
</tr>
<% } %>
</tbody>
</table>
</div>
</asp:Content>
|