@model List<SomeTestClass>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My ASP.NET Application</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<div class="container body-content">
<h3>What you need to do?</h1>
<li>Show Table of items with id 2 and 3.</li>
@foreach(var m in Model.Where(m => m.ID == 1 || m.ID == 2))
<td>@m.OtherTypeValue.ID</td>
<td>@m.OtherTypeValue.Title</td>
<span class="close">×</span>
<form action="" class="login-box">
<label for="">Username</label>
<input type="text" class="name" id="name" required>
<label for="">Password</label>
<input type="password" class="password" id="pass" required>
<button class="login-button">Login</button>
<div class="close-forgot">
<button class="cancel">Cancel</button>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
var closeBut = document.getElementsByClassName('close')[0],
modal = document.getElementsByClassName('modal-cont')[0],
cancelBut = document.getElementsByClassName('cancel')[0],
loginBut = document.getElementsByClassName('login-button')[0];
modal.style.display = "none";
loginBut.onclick = function () {
console.log(document.getElementById('pass').value);
if(document.getElementById('name').value == "test@test.com" && document.getElementById('pass').value == "test")
modal.style.display = "block";
window.onclick = function (e) {
if (e.target.className === 'modal-cont'){
e.target.style.display = 'none';