Advertisement
Guest User

Untitled

a guest
Mar 26th, 2020
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 5.93 KB | None | 0 0
  1. @model IEnumerable<Examagram.Entities.Candidate>
  2. @{
  3.     Layout = "~/Areas/Examiner/Views/Shared/_NewLayout.cshtml";
  4.     ViewBag.Title = "Manage Candidates";
  5.     ViewBag.MenuHighlight = Resources.MenuResources.ResourceManager.GetString("CandidatesMenuItem").Replace(" ", "");
  6.     ViewBag.SubMenuHighlight = Resources.MenuResources.ResourceManager.GetString("ManageCandidatesMenuItem").Replace(" ", "");
  7. }
  8.  
  9. <!-- Content Header (Page header) -->
  10. <div class="content-header">
  11.     <div class="container-fluid">
  12.         <div class="row mb-2">
  13.             <div class="col-lg-6">
  14.                 <ol class="breadcrumb">
  15.                     <li><i class="fas fa-clipboard-list"></i></li>
  16.                     <li class="breadcrumb-item"> <a href="#">Candidates</a></li>
  17.                     <li class="breadcrumb-item active">Manage Candidates</li>
  18.                 </ol>
  19.             </div>
  20.         </div><!-- /.Breadcrumb url -->
  21.     </div>
  22. </div>
  23. <!-- /.content-header -->
  24. <!-- Main content -->
  25. <div class="content">
  26.     <div class="container-fluid">
  27.         <!-- Application form -->
  28.         <div class="search-filter mt-5">
  29.             <p class="heading-name">Search filter</p>
  30.             <!-- Search Select with dropdown -->
  31.             <div class="d-flex justify-content-around">
  32.                 <div class="group-filter d-flex align-items-center mx-2">
  33.                     @if (ViewData["GroupID"] != null)
  34.                     {
  35.                         <label for="groupFilter">Group</label>
  36.                         <div class="ml-3">
  37.                             @Html.DropDownList("GroupID", null, "--Select--", new { @class = "form-control" })
  38.                         </div>
  39.                     }
  40.                 </div>
  41.                 <div class="group-filter d-flex align-items-center mx-2">
  42.                     @if (ViewBag.Countries != null)
  43.                     {
  44.                         <label for="countryFilter">Country</label>
  45.                         @Html.DropDownList("CountryID", (SelectList)ViewBag.Countries, "Select a Country", new { @class = "ml-3 form-control" })
  46.                     }
  47.                 </div>
  48.                 <div class="group-status d-flex align-items-center mx-2">
  49.                     <label for="countryFilter">Status</label>
  50.                     <select class="ml-3 form-control" name="select" id="countryFilter">
  51.                         <option value="0">--Select--</option>
  52.                         <option value="1">Complete</option>
  53.                         <option value="2">Pending</option>
  54.                         <option value="3">Expired</option>
  55.                     </select>
  56.                 </div>
  57.                 <div class="group-data-range d-flex align-items-center mx-2">
  58.                     @if (ViewBag.Countries != null)
  59.                     {
  60.                         <label for="countryFilter">Country</label>
  61.                         @Html.DropDownList("CountryID", (SelectList)ViewBag.Countries, "Select a Country", new { @class = "ml-3 form-control" })
  62.                     }
  63.                 </div>
  64.             </div>
  65.             <!-- Buttons for filtering -->
  66.             <div class="buttons d-flex justify-content-center mt-4">
  67.                 <button class="btn-primary mx-2">
  68.                     <i class="fas fa-sort-amount-up"></i>
  69.                     Filter
  70.                 </button>
  71.                 <button class="btn-secondary mx-2">
  72.                     <i class="fas fa-sync-alt">
  73.                         <a href="@Url.Action("ManageCandidates", "Candidate")" class="btn bs-tooltip" data-placement="bottom" data-original-title="Reset search filters">Reset Filter</a>
  74.                     </i>
  75.                 </button>
  76.             </div>
  77.             <!-- Search field box -->
  78.             <div class="search-field mt-4">
  79.                 <div class="row">
  80.                     <div class="col-lg-8 mx-auto">
  81.                         <div class="input-group mb-3">
  82.                             <input id="txtName" type="text" class="form-control" placeholder="Recipient's username" aria-label="Recipient's username" aria-describedby="basic-addon2">
  83.                             <div class="input-group-append">
  84.                                 <a href="#" id="aCandidateSearch" class="btn btn-primary bs-tooltip" data-placement="bottom" data-original-title="You can find candidates by using the search filters. Use the GROUP Filter to find the candidates assigned to that particular GROUP when they were created on the system. You can also filter by the country that the candidate is from. Finally, you can search for candidates by their name or e-mail address. This is the easiest way to find an individual candidate as all e-mail addresses are unique. More than one search filter can be applied at one time, so do not forget to use the clear filter button. NB only active candidates are shown in this section. The ‘show inactive candidates’ button will override this if you choose to look at inactive candidates. Click on this to show the inactive candidates."><i class="fas fa-search"></i>&nbsp;</a>
  85.                             </div>
  86.                         </div>
  87.                     </div>
  88.                 </div>
  89.             </div>
  90.         </div>
  91.         <div id="divManageCandidates">
  92.             @Html.Partial("_CandidateListPartial")
  93.         </div>
  94.         <!-- End of Search filter area -->
  95.         <!-- Table for send tests -->
  96.        
  97.     </div>  <!-- /.container-fluid -->
  98.  
  99. </div> <!-- /.content -->
  100.  
  101. <style>
  102.     a.btn.bs-tooltip {
  103.         color: white;
  104.         font-weight: 500;
  105.         padding: 0px;
  106.         margin: 0px 0px;
  107.         font-size: 21px;
  108.     }
  109.  
  110.     a#aCandidateSearch {
  111.         width: 100%;
  112.         height: 100%;
  113.         background: #00ADB5 !important;
  114.         align-items: center;
  115.         justify-content: center;
  116.         border-top-right-radius: 50px;
  117.         border-bottom-right-radius: 50px;
  118.     }
  119.  
  120.     i.fas.fa-search {
  121.         line-height: 60px;
  122.     }
  123. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement