Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove requirement for non ajax from some pages
- Loading branch information
Showing
12 changed files
with
68 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Web; | ||
using System.Web.Mvc; | ||
|
||
namespace Yom.Web.Controllers | ||
{ | ||
public class OweController : Controller | ||
{ | ||
// | ||
// GET: /Owe/ | ||
|
||
public ActionResult Index() | ||
{ | ||
return View(); | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,14 @@ | ||
@{ | ||
Layout = "~/Views/Shared/_Layout.Mobile.cshtml"; | ||
ViewBag.Title = "Details"; | ||
} | ||
<!-- Start of first page: #one --> | ||
<div data-role="page" > | ||
<div data-role="header"> | ||
@RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml") | ||
<fieldset class="ui-grid-a"> | ||
<legend></legend> | ||
<div class="ui-block-a"> | ||
@Html.ActionLink("Owe", "Index", "Owe", null, new { data_role = "button" }) | ||
</div> | ||
<!-- /header --> | ||
<div data-role="content"> | ||
<fieldset class="ui-grid-a"> | ||
<legend></legend> | ||
<div class="ui-block-a"> | ||
<a href="#owe" data-role="button">Owe</a> | ||
</div> | ||
<div class="ui-block-b"> | ||
<a href="#pay" data-role="button">Pay</a> | ||
</div> | ||
<div class="ui-block-a"> | ||
<a href="#report" data-role="button">Report</a></div> | ||
</fieldset> | ||
<div class="ui-block-b"> | ||
<a href="#pay" data-role="button">Pay</a> | ||
</div> | ||
<!-- /content --> | ||
<div data-role="footer" data-theme="d"> | ||
<h4> | ||
Page Footer</h4> | ||
</div> | ||
<!-- /footer --> | ||
</div> | ||
<!-- /page one --> | ||
<!-- Start of second page: #two --> | ||
<div data-role="page" id="owe" > | ||
<div data-role="header"> | ||
@RenderPage("~/Views/Shared/DefaultHeader.Mobile.cshtml") | ||
</div> | ||
<!-- /header --> | ||
<div data-role="content" > | ||
<ul data-role="listview" data-inset="true"> | ||
<li>@Html.ActionLink("You Owe Me Money","Create","YouOweMe")</li> | ||
<li>@Html.ActionLink("I Owe You Money","Create","IOweYou")</li> | ||
</ul> | ||
@*@Html.ActionLink("You Owe Me", "Create", "YouOweMe", null, new { data_role = "button" })*@ | ||
</div> | ||
<!-- /content --> | ||
<div data-role="footer"> | ||
<h4> | ||
Page Footer</h4> | ||
</div> | ||
<!-- /footer --> | ||
</div> | ||
<!-- /page two --> | ||
<!-- Start of third page: #popup --> | ||
|
||
<div class="ui-block-a"> | ||
<a href="#report" data-role="button">Report</a></div> | ||
</fieldset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
@{ | ||
ViewBag.Title = "Success"; | ||
Layout = "~/Views/Shared/_Layout.Result.Mobile.cshtml"; | ||
ViewBag.DataUrl = "/IOweYou/Success"; | ||
} | ||
<div class="append-bottom"> | ||
|
||
Success | ||
|
||
Success | ||
</div> | ||
|
||
<ul data-role="listview" data-inset="true"> | ||
<li>@Html.ActionLink("Create another", "Create")</li> | ||
<li>@Html.ActionLink("Back to main menu", "Index","Home")</li> | ||
<li>@Html.ActionLink("Create another", "Create")</li> | ||
<li>@Html.ActionLink("Back to main menu", "Index", "Home")</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@{ | ||
ViewBag.Title = "Owe"; | ||
} | ||
@Html.ActionLink("You Owe Me Money", "Create", "YouOweMe", null, new { data_role = "button" }) | ||
@Html.ActionLink("I Owe You Money", "Create", "IOweYou", null, new { data_role = "button" }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,12 @@ | ||
@{ | ||
ViewBag.Title = "Success"; | ||
Layout = "~/Views/Shared/_Layout.Result.Mobile.cshtml"; | ||
ViewBag.DataUrl = "/YouOweMe/Success"; | ||
} | ||
<div class="append-bottom"> | ||
|
||
Success | ||
|
||
Success | ||
</div> | ||
|
||
<ul data-role="listview" data-inset="true"> | ||
<li>@Html.ActionLink("Create another", "Create")</li> | ||
<li>@Html.ActionLink("Back to main menu", "Index","Home")</li> | ||
<li>@Html.ActionLink("Create another", "Create")</li> | ||
<li>@Html.ActionLink("Back to main menu", "Index", "Home")</li> | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters