|
Wersja 752, 1.0 KB
(wprowadzona przez marek, 17 years temu)
|
|
wiersz
|
| Line | |
|---|
| 1 | <%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
|
|---|
| 2 |
|
|---|
| 3 | <asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
|
|---|
| 4 | Wierszówki - strona startowa
|
|---|
| 5 | </asp:Content>
|
|---|
| 6 |
|
|---|
| 7 | <asp:Content ID="indexContent" ContentPlaceHolderID="MainContent" runat="server">
|
|---|
| 8 | <h2><%= Html.Encode(ViewData["Message"]) %></h2>
|
|---|
| 9 |
|
|---|
| 10 | <%
|
|---|
| 11 | if (Request.IsAuthenticated) {
|
|---|
| 12 | %>
|
|---|
| 13 | <ul>
|
|---|
| 14 | <li><%= Html.ActionLink("Dodaj wierszówkę", "Create", "MagazineItem") %></li>
|
|---|
| 15 | <li><%= Html.ActionLink("Wierszówki do wyceny", "ToPrice", "Report") %></li>
|
|---|
| 16 | <li><%= Html.ActionLink("Raporty", "Index", "Report")%></li>
|
|---|
| 17 | <li><%= Html.ActionLink("Autorzy", "Index", "Author")%></li>
|
|---|
| 18 | </ul>
|
|---|
| 19 | <%
|
|---|
| 20 | } else {
|
|---|
| 21 | %>
|
|---|
| 22 | <p>
|
|---|
| 23 | Proszę się <%= Html.ActionLink("zalogować", "Login", "Account")%> aby w zacząć korzystać z wszystkich funkcji tej aplikacji.
|
|---|
| 24 | </p>
|
|---|
| 25 | <%
|
|---|
| 26 | }
|
|---|
| 27 | %>
|
|---|
| 28 |
|
|---|
| 29 | </asp:Content>
|
|---|
Notatka: Zobacz
TracBrowser
aby uzyskać więcej informacji.