.CSHTML
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<div class="PageTitle">
Eligibility Config - Main
</div>
<div class="BreadCrumb">Eligibility Configuration >> Main</div>
<hr />
<div>
<p>
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
</p>
<br />
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">Do you wish to Subscribe ?</div>
<div class="control">
<input type="checkbox" checked="checked" />
<input type="checkbox" checked="checked" />
</div>
<div style="clear: both"></div>
</div>
<table>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="text" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="text" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="number" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="email" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="date" /></td>
</tr>
</table>
<table>
<tr>
<th>S.No</th>
<th>Heading 1</th>
<th>Heading 2</th>
<th>Heading 3</th>
<th>Heading 4</th>
</tr>
<tr>
<td>1</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>2</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>3</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>4</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
</table>
<div class="control-buttons">
<input type="button" class="CommandButton" value="Save" />
<input type="button" class="CommandButton" value="Cancel" />
<input type="button" class="CommandButton"value="Reset" />
<input type="button" class="CommandButton" value="<< Previous" />
<input type="button" class="CommandButton" value="Next >>" />
</div>
_Layout
@{
ViewBag.Title = "_MainLayout";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title - My ASP.NET MVC Application</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
<link href="~/Content/website.css" rel="stylesheet" />
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="Wrapper">
<div class="PageHeader">
<div class="Menu">
<nav>
<ul id="menu">
<li>@Html.ActionLink("Home", "Index", "Home")</li>
<li>@Html.ActionLink("About", "About", "Home")</li>
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
</ul>
</nav>
</div>
</div>
<div class="Content">
@RenderBody()
</div>
<hr />
<div class="PageFooter">
<p>© @DateTime.Now.Year - Eligibility Configuration</p>
</div>
</div>
</body>
</html>
.CSS
.Wrapper {
background-color: #fff;
padding:10px;
}
.PageHeader {
color: #000;
font-size: 25px;
text-align: left;
vertical-align: middle;
width: 100%;
}
.Menu {
color: #000;
font-size: 15px;
text-align: right;
vertical-align: middle;
width: 100%;
}
.PageTitle {
color: #056af6;
font-size: 20px;
text-align: left;
vertical-align: middle;
width: 100%;
}
.BreadCrumb {
color: #0a84fa;
font-size: 10px;
text-align: left;
vertical-align: middle;
width: 100%;
padding-right:50px;
}
.Content {
background-color: #fff;
width: 100%;
}
.PageFooter {
width: 100%;
background-color: #000;
height: 25px;
color: #fff;
font-size: 10px;
text-align: center;
vertical-align: middle;
}
.lable {
width:200px;
word-wrap:normal;
float:left;
text-align:left;
vertical-align:middle;
height:31px;
}.control {
width:200px;
float:left;
text-align:left;
vertical-align:middle;
}
.control-buttons {
width:98%;
text-align:right;
}
.CommandButton {
background-color:#b2b2b2;
color:black;
}
.CommandButton:hover {
background-color:#f1ecec;
color:black;
}
@{
ViewBag.Title = "Index";
Layout = "~/Views/Shared/_MainLayout.cshtml";
}
<div class="PageTitle">
Eligibility Config - Main
</div>
<div class="BreadCrumb">Eligibility Configuration >> Main</div>
<hr />
<div>
<p>
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text Eligibility Configuration sample text
</p>
<br />
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">What is your name ?</div>
<div class="control">
<input type="text" style="width: 200px" />
</div>
<div style="clear: both"></div>
<div class="lable">Do you wish to Subscribe ?</div>
<div class="control">
<input type="checkbox" checked="checked" />
<input type="checkbox" checked="checked" />
</div>
<div style="clear: both"></div>
</div>
<table>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="text" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="text" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="number" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="email" /></td>
</tr>
<tr>
<td>Lable 1</td>
<td><input type="text" /></td>
<td style="width:10px"></td>
<td>Lable 1</td>
<td><input type="date" /></td>
</tr>
</table>
<table>
<tr>
<th>S.No</th>
<th>Heading 1</th>
<th>Heading 2</th>
<th>Heading 3</th>
<th>Heading 4</th>
</tr>
<tr>
<td>1</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>2</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>3</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
<tr>
<td>4</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
<td>Column Text</td>
</tr>
</table>
<div class="control-buttons">
<input type="button" class="CommandButton" value="Save" />
<input type="button" class="CommandButton" value="Cancel" />
<input type="button" class="CommandButton"value="Reset" />
<input type="button" class="CommandButton" value="<< Previous" />
<input type="button" class="CommandButton" value="Next >>" />
</div>
_Layout
@{
ViewBag.Title = "_MainLayout";
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>@ViewBag.Title - My ASP.NET MVC Application</title>
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<meta name="viewport" content="width=device-width" />
<link href="~/Content/website.css" rel="stylesheet" />
@Styles.Render("~/Content/css")
@Scripts.Render("~/bundles/modernizr")
</head>
<body>
<div class="Wrapper">
<div class="PageHeader">
<div class="Menu">
<nav>
<ul id="menu">
<li>@Html.ActionLink("Home", "Index", "Home")</li>
<li>@Html.ActionLink("About", "About", "Home")</li>
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
</ul>
</nav>
</div>
</div>
<div class="Content">
@RenderBody()
</div>
<hr />
<div class="PageFooter">
<p>© @DateTime.Now.Year - Eligibility Configuration</p>
</div>
</div>
</body>
</html>
.CSS
.Wrapper {
background-color: #fff;
padding:10px;
}
.PageHeader {
color: #000;
font-size: 25px;
text-align: left;
vertical-align: middle;
width: 100%;
}
.Menu {
color: #000;
font-size: 15px;
text-align: right;
vertical-align: middle;
width: 100%;
}
.PageTitle {
color: #056af6;
font-size: 20px;
text-align: left;
vertical-align: middle;
width: 100%;
}
.BreadCrumb {
color: #0a84fa;
font-size: 10px;
text-align: left;
vertical-align: middle;
width: 100%;
padding-right:50px;
}
.Content {
background-color: #fff;
width: 100%;
}
.PageFooter {
width: 100%;
background-color: #000;
height: 25px;
color: #fff;
font-size: 10px;
text-align: center;
vertical-align: middle;
}
.lable {
width:200px;
word-wrap:normal;
float:left;
text-align:left;
vertical-align:middle;
height:31px;
}.control {
width:200px;
float:left;
text-align:left;
vertical-align:middle;
}
.control-buttons {
width:98%;
text-align:right;
}
.CommandButton {
background-color:#b2b2b2;
color:black;
}
.CommandButton:hover {
background-color:#f1ecec;
color:black;
}