Guest User

Untitled

a guest
Jun 13th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 39.15 KB | None | 0 0
  1. @using DAL.Models
  2. @using DAL.Models.Generated
  3. @using Resources
  4. @using Notification = Resources.Notification
  5. @model PTS41.Models.Content.BaseContent
  6.  
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <meta charset="utf-8"/>
  11. <title>@ViewBag.Title</title>
  12. @Scripts.Render("~/bundles/modernizr")
  13. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  14. <!-- Tell the browser to be responsive to screen width -->
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16.  
  17.  
  18. <!-- Favicon icon -->
  19. <link rel="icon" type="image/png" sizes="16x16" href="@Url.Content("~/Content/")../../Content/assets/images/favicon.png">
  20. <!-- Bootstrap Core CSS -->
  21. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/bootstrap/css/bootstrap.min.css" rel="stylesheet">
  22.  
  23. <!-- chartist CSS -->
  24. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/chartist-js/dist/chartist.min.css" rel="stylesheet">
  25. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/chartist-js/dist/chartist-init.css" rel="stylesheet">
  26. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.css" rel="stylesheet">
  27. <!--This page css - Morris CSS -->
  28. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/c3-master/c3.min.css" rel="stylesheet">
  29. <!-- Custom CSS -->
  30. <link href="@Url.Content("~/Content/")../../Content/css/style.css" rel="stylesheet">
  31. <!-- You can change the theme colors from here -->
  32. <link href="@Url.Content("~/Content/")../../Content/css/colors/blue.css" id="theme" rel="stylesheet">
  33. <!-- agenda -->
  34. <link href="@Url.Content("~/Content/")../../Content/assets/plugins/calendar/dist/fullcalendar.css" rel="stylesheet">
  35.  
  36. <link href="@Url.Content("~/Content/")../../Content/agenda/fullcalendar.css" rel="stylesheet">
  37. <link href="@Url.Content("~/Content/")../../Content/agenda/jquery-ui.css" rel="stylesheet">
  38. <link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css" rel="stylesheet">
  39.  
  40. <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
  41. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  42. <!--[if lt IE 9]>
  43. <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
  44. <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
  45. <![endif]-->
  46. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  47.  
  48. </head>
  49. <body class="fix-header fix-sidebar card-no-border" onload="showNotifications()">
  50. <script>
  51. function getCookie(name) {
  52. const dc = document.cookie;
  53. const prefix = name + "=";
  54. var begin = dc.indexOf(`; ${prefix}`);
  55. if (begin == -1) {
  56. begin = dc.indexOf(prefix);
  57. if (begin != 0) return null;
  58. } else {
  59. begin += 2;
  60. var end = document.cookie.indexOf(";", begin);
  61. if (end == -1) {
  62. end = dc.length;
  63. }
  64. }
  65. return decodeURI(dc.substring(begin + prefix.length, end));
  66. }
  67.  
  68. function showNotifications() {
  69.  
  70. const words = ['success', 'info', 'warn', 'error'];
  71.  
  72. for (var i = 0, len = words.length; i < len; i++) {
  73. // here words[i] is the array element
  74.  
  75. const myCookie = getCookie(words[i]);
  76. if (myCookie != null) {
  77. // do cookie exists stuff
  78. $.notify(myCookie, words[i]);
  79. delete_cookie(words[i]);
  80. }
  81. }
  82. }
  83.  
  84. var delete_cookie = function(name) {
  85. document.cookie = name + '=;expires=Thu, 01 Jan 1970 00:00:01 GMT;';
  86. };
  87.  
  88. function succesMsg(msg) {
  89. $.notify(msg, "success");
  90. }
  91.  
  92. function infoMsg(msg) {
  93. $.notify(msg, "info");
  94. }
  95.  
  96. function warnMsg(msg) {
  97. $.notify(msg, "warn");
  98. }
  99.  
  100. function errorMsg(msg) {
  101. $.notify(msg, "error");
  102. }
  103. </script>
  104. <style>
  105. #search { margin-top: 18px; }
  106.  
  107. #search input[type="text"] {
  108. -moz-border-radius: 25px;
  109. -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
  110. -moz-transition: all 0.7s ease 0s;
  111. -o-transition: all 0.7s ease 0s;
  112. -webkit-border-radius: 25px;
  113. -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
  114. -webkit-transition: all 0.7s ease 0s;
  115. background: url(search-white.png) no-repeat 15px 10px #fcfcfc;
  116. border: 1px solid #d1d1d1;
  117. border-radius: 25px;
  118. box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15) inset;
  119. color: #bebebe;
  120. font: bold 12px Arial, Helvetica, Sans-serif;
  121. margin-left: 12px;
  122. text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  123. transition: all 0.7s ease 0s;
  124. width: 150px;
  125. }
  126.  
  127. #search input[type="text"]:focus { width: 200px; }
  128.  
  129. /* Tooltip container */
  130.  
  131. .tooltip {
  132. border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
  133. display: inline-block;
  134. position: relative;
  135. }
  136.  
  137. /* Tooltip text */
  138.  
  139. .tooltip .tooltiptext {
  140. background-color: black;
  141. border-radius: 6px;
  142. color: #fff;
  143. padding: 5px 0;
  144. /* Position the tooltip text - see examples below! */
  145. position: absolute;
  146. text-align: center;
  147. visibility: hidden;
  148. width: 120px;
  149. z-index: 1;
  150. }
  151.  
  152. /* Show the tooltip text when you mouse over the tooltip container */
  153.  
  154. .tooltip:hover .tooltiptext { visibility: visible; }
  155. </style>
  156.  
  157. <!-- ============================================================== -->
  158. <!-- Preloader - style you can find in spinners.css -->
  159. <!-- ============================================================== -->
  160. <div class="preloader">
  161. <svg class="circular" viewBox="25 25 50 50">
  162. <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10"/>
  163. </svg>
  164. </div>
  165. <!-- ============================================================== -->
  166. <!-- Main wrapper - style you can find in pages.scss -->
  167. <!-- ============================================================== -->
  168. <div id="main-wrapper">
  169. <!-- ============================================================== -->
  170. <!-- Topbar header - style you can find in pages.scss -->
  171. <!-- ============================================================== -->
  172. <header class="topbar">
  173. <nav class="navbar top-navbar navbar-expand-md navbar-light">
  174. <!-- ============================================================== -->
  175. <!-- Logo -->
  176. <!-- ============================================================== -->
  177. <div class="navbar-header">
  178. <a class="navbar-brand" href="@Url.Action("Index", "Login")">
  179. <!-- Logo icon -->
  180. <b>
  181. <!-- Light Logo icon -->
  182. <img width = 32 src="@Url.Content("~/Content/")../../Content/assets/images/logo-light-icon.png" alt="homepage" class="light-logo"/>
  183. </b>
  184. <!--End Logo icon -->
  185. <!-- Logo text -->
  186. <span>
  187. <!-- Light Logo text -->
  188. <img src="@Url.Content("~/Content/")../../Content/assets/images/logo-light-text.png" class="light-logo" alt="homepage"/>
  189. </span>
  190. </a>
  191. </div>
  192. <!-- ============================================================== -->
  193. <!-- End Logo -->
  194. <!-- ============================================================== -->
  195. <div class="navbar-collapse">
  196. <!-- ============================================================== -->
  197. <!-- toggle and nav items -->
  198. <!-- ============================================================== -->
  199. <ul class="navbar-nav mr-auto mt-md-0">
  200. <!-- This is -->
  201. <li class="nav-item">
  202. <a class="nav-link hidden-md-up text-muted waves-effect" href="javascript:void(0)">
  203. <i class="mdi mdi-menu"></i>
  204. </a>
  205. </li>
  206. <li class="nav-item">
  207. <a class="nav-link hidden-sm-down text-muted waves-effect" href="javascript:void(0)" title="@Resources.Global.EXPAND">
  208. <i class="ti-menu"></i>
  209. </a>
  210. </li>
  211. <!-- ============================================================== -->
  212. <!-- Messages -->
  213. <!-- ============================================================== -->
  214. <li class="nav-item dropdown mega-dropdown" title="@Resources.Global.PRACTICE">
  215. <a class="nav-link dropdown-toggle text-muted waves-effect" href="" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  216. <i class="mdi mdi-view-grid"></i>
  217. </a>
  218. <div class="dropdown-menu scale-up-left">
  219. <ul class="row">
  220. <li class="col-lg-4 col-xlg-2 m-b-30">
  221. <h4 class="m-b-20">@Main.OUR_TEAM</h4>
  222. <!-- CAROUSEL -->
  223. <div id="carouselExampleControls" class="carousel" data-ride="carousel">
  224. <div class="carousel-inner" role="listbox">
  225. <div class="carousel-item active">
  226. <div class="container">
  227. <img class="d-block img-fluid" src="@Url.Content("~/Content/")../../Content/assets/images/big/img1.jpg" alt="First slide">
  228. </div>
  229. </div>
  230. <div class="carousel-item">
  231. <div class="container">
  232. <img class="d-block img-fluid" src="@Url.Content("~/Content/")../../Content/assets/images/big/img2.jpg" alt="Second slide">
  233. </div>
  234. </div>
  235. <div class="carousel-item">
  236. <div class="container">
  237. <img class="d-block img-fluid" src="@Url.Content("~/Content/")../../Content/assets/images/big/img3.jpg" alt="Third slide">
  238. </div>
  239. </div>
  240. </div>
  241. <a class="carousel-control-prev" href="#carouselExampleControls" role="button" data-slide="prev">
  242. <span class="carousel-control-prev-icon" aria-hidden="true"></span> <span class="sr-only">Previous</span>
  243. </a>
  244. <a class="carousel-control-next" href="#carouselExampleControls" role="button" data-slide="next">
  245. <span class="carousel-control-next-icon" aria-hidden="true"></span> <span class="sr-only">Next</span>
  246. </a>
  247. </div>
  248. <!-- End CAROUSEL -->
  249. </li>
  250. <li class="col-lg-4 m-b-30">
  251. <h4 class="m-b-20">@Main.PRACTICE_INFORMATION</h4>
  252. <!-- Accordian -->
  253. <div id="accordion" class="nav-accordion" role="tablist" aria-multiselectable="true">
  254. <div class="card">
  255. <div class="card-header" role="tab" id="headingOne">
  256. <h5 class="mb-0">
  257. <a data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
  258. @Main.BUSINESS_HOURS
  259. </a>
  260. </h5>
  261. </div>
  262. <div id="collapseOne" class="collapse show" role="tabpanel" aria-labelledby="headingOne">
  263. <div class="card-body">
  264. @Resources.Main.OPENING<br/><br/>
  265. Van Huisartsweg 46<br/><br/>
  266. 5612 GE Eindhoven<br/><br/>
  267. 040 123 4567
  268. </div>
  269. </div>
  270. </div>
  271. <div class="card">
  272. <div class="card-header" role="tab" id="headingTwo">
  273. <h5 class="mb-0">
  274. <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
  275. @Agenda.NEW_APPOINTMENT
  276. </a>
  277. </h5>
  278. </div>
  279. <div id="collapseTwo" class="collapse" role="tabpanel" aria-labelledby="headingTwo">
  280. <div class="card-body">
  281. @Main.LINE2 <br/>
  282. @Main.LINE3 <br/>
  283. </div>
  284. </div>
  285. </div>
  286. <div class="card">
  287. <div class="card-header" role="tab" id="headingThree">
  288. <h5 class="mb-0">
  289. <a class="collapsed" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
  290. @Main.HOUSE_VISIT
  291. </a>
  292. </h5>
  293. </div>
  294. <div id="collapseThree" class="collapse" role="tabpanel" aria-labelledby="headingThree">
  295. <div class="card-body">
  296. @Resources.Main.LINE4<br/><br/>
  297. </div>
  298. </div>
  299. </div>
  300. </div>
  301. </li>
  302. <li class="col-lg-4 m-b-30">
  303. <h4 class="m-b-20">@Main.CONTACT</h4>
  304. <!-- Contact -->
  305. <form action="@Url.Action("SendContactMessage", "Notification")" method="post">
  306. <div class="form-group">
  307. <input type="text" class="form-control" id="exampleInputname1" placeholder="@Global.NAME" name="name" required>
  308. </div>
  309. <div class="form-group">
  310. <input type="email" class="form-control" placeholder="@Global.EMAIL" name="email" required>
  311. </div>
  312. <div class="form-group">
  313. <textarea class="form-control" id="exampleTextarea" rows="3" placeholder="@Global.MESSAGE" name="message" required></textarea>
  314. </div>
  315. <button type="submit" class="btn btn-info">@Resources.Main.SEND_MESSAGE</button>
  316. </form>
  317. </li>
  318. </ul>
  319. </div>
  320. </li>
  321. <!-- ============================================================== -->
  322. <!-- End Messages -->
  323. <!-- ============================================================== -->
  324. </ul>
  325. <!-- ============================================================== -->
  326. <!-- User profile and search -->
  327. <!-- ============================================================== -->
  328.  
  329. <ul class="navbar-nav my-lg-0">
  330. @if ((User) Session["User"] != null)
  331. {
  332. var user = (User) Session["User"];
  333. <!-- ============================================================== -->
  334. <!-- Messages -->
  335. <!-- ============================================================== -->
  336. <li class="nav-item dropdown" title="@Resources.Notification.MESSAGES">
  337. <a class="nav-link dropdown-toggle text-muted waves-effect" href="" id="2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  338. <i class="mdi mdi-email"></i>
  339. @if (!Model.ViewedAllNotifications)
  340. {
  341. <div class="notify">
  342. <span class="heartbit"></span>
  343. <span class="point"></span>
  344. </div>
  345. }
  346. </a>
  347. <div class="dropdown-menu mailbox dropdown-menu-right scale-up" aria-labelledby="2">
  348. <ul>
  349. <li>
  350. <div class="drop-title">@Notification.MESSAGES</div>
  351. </li>
  352. <li>
  353. <div class="message-center">
  354. <!-- Messages -->
  355. @foreach (var nd in Model.UnreadNotifications)
  356. {
  357. <a href="@Url.Action("ShowNotificationContent", "Notification", new {id = nd.Id})">
  358. <div class="user-img">
  359. <img src="@nd.SenderImage" alt="user" class="img-circle">
  360. </div>
  361. <div class="mail-content">
  362. <h5>@nd.SenderName</h5><span class="mail-desc">@nd.Message</span> <span class="time">@nd.Time</span>
  363. </div>
  364. </a>
  365. }
  366. </div>
  367. </li>
  368. <li>
  369. <a class="nav-link text-center" href="@Url.Action("NotificationOverview", "Notification")">
  370. <strong>@Global.SEE_ALL_NOTIFICATIONS</strong> <i class="fa fa-angle-right"></i>
  371. </a>
  372. </li>
  373. </ul>
  374. </div>
  375. </li>
  376. <!-- ============================================================== -->
  377. <!-- End Messages -->
  378. <!-- ============================================================== -->
  379. <!-- ============================================================== -->
  380. <!-- Profile -->
  381. <!-- ============================================================== -->
  382. <li class="nav-item dropdown">
  383. <div class="dropdown-menu dropdown-menu-right scale-up">
  384.  
  385. <ul class="dropdown-user">
  386. <li>
  387. <div class="dw-user-box">
  388. <div class="u-img">
  389. <img src="@("data:image;base64," + Convert.ToBase64String(((User) Session["User"]).picture))" alt="ProfielFoto">
  390. </div>
  391. <div class="u-text">
  392. <h4>@user.name</h4>
  393. <p class="text-muted">@user.emailaddress</p>
  394. </div>
  395. </div>
  396. </li>
  397. <li>
  398. <a class="nav-link text-center" href="@Url.Action("NotificationOverview", "Notification")">
  399. <strong>@Resources.Notification.SEE_ALL</strong> <i class="fa fa-angle-right"></i>
  400. </a>
  401. </li>
  402. </ul>
  403. </div>
  404. </li>
  405. <!-- ============================================================== -->
  406. <!-- End Messages -->
  407. <!-- ============================================================== -->
  408. <!-- ============================================================== -->
  409. <!-- Profile -->
  410. <!-- ============================================================== -->
  411. <li class="nav-item dropdown" title="@Resources.Patient.WATCH_PROFILE">
  412. <a class="nav-link dropdown-toggle text-muted waves-effect" href="" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  413. <img src="@("data:image;base64," + Convert.ToBase64String(((User) Session["User"]).picture))" alt="ProfielFoto" class="profile-pic"/>
  414. </a>
  415. <div class="dropdown-menu dropdown-menu-right scale-up">
  416.  
  417. <ul class="dropdown-user">
  418. <li>
  419. <div class="dw-user-box">
  420. <div class="u-img">
  421. <img src="@("data:image;base64," + Convert.ToBase64String(((User) Session["User"]).picture))" alt="ProfielFoto">
  422. </div>
  423. <div class="u-text">
  424. <h4>@user.name</h4>
  425. <p class="text-muted">@user.emailaddress</p>
  426. </div>
  427. </div>
  428. </li>
  429. <li role="separator" class="divider"></li>
  430. <li>
  431. <a href="/Patient/EditProfile">
  432. <i class="ti-user"></i> @Global.MY_PROFILE</a>
  433. </li>
  434. <li role="separator" class="divider"></li>
  435. <li>
  436. <a href="@Url.Action("Index", "Logout")">
  437. <i class="fa fa-power-off"></i> @Global.LOGOUT</a>
  438. </li>
  439. </ul>
  440. </div>
  441. </li>
  442. }
  443. else
  444. {
  445. <li>
  446. <a href="@Url.Action("Index", "Login")">
  447. <button type="button" class="btn btn-rounded btn-block btn-warning">@Resources.Global.LOGIN</button>
  448. </a>
  449. </li>
  450. }
  451. </ul>
  452. <ul class="navbar-nav my-lg-0">
  453. <!-- ============================================================== -->
  454. <!-- Language -->
  455. <!-- ============================================================== -->
  456. <li class="nav-item dropdown" title="@Resources.Patient.CHANGE_LANGUAGE">
  457. <a class="nav-link dropdown-toggle text-muted waves-effect" href="" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
  458. <i id="flagIcon"></i>
  459. </a>
  460. <div class="dropdown-menu dropdown-menu-right scale-up">
  461. <a id="cookieNl" class="dropdown-item" href="#"><i class="flag-icon flag-icon-nl"></i> Nederlands</a>
  462. <a id="cookieEn" class="dropdown-item" href="#"><i class="flag-icon flag-icon-us"></i> English</a>
  463. </div>
  464. </ul>
  465. </div>
  466. </nav>
  467. </header>
  468. <!-- ============================================================== -->
  469. <!-- End Topbar header -->
  470. <!-- ============================================================== -->
  471. <!-- ============================================================== -->
  472. <!-- Left Sidebar - style you can find in sidebar.scss -->
  473. <!-- ============================================================== -->
  474. <aside class="left-sidebar">
  475. <!-- Sidebar scroll-->
  476. <div class="scroll-sidebar">
  477. <!-- User profile -->
  478. <!-- End User profile text-->
  479. <!-- Sidebar navigation-->
  480. <nav class="sidebar-nav">
  481. <ul id="sidebarnav">
  482. <!-- Navigation while user is logged in-->
  483. @if ((User) Session["User"] != null)
  484. {
  485. var user = (User) Session["User"];
  486. <!-- Navigation for patient-->
  487. if (user.usertype == Role.Patient)
  488. {
  489. <li>
  490. <a class=" waves-effect" href="@Url.Action("Patient", "Agenda")" aria-expanded="false">
  491. <i class="mdi mdi-book-open-variant"></i><span class="hide-menu">@Resources.Global.Agenda </span>
  492. </a>
  493. </li>
  494. <li>
  495. <a class=" waves-effect" href="@Url.Action("Dossier", "Dossier")" aria-expanded="false">
  496. <i class="mdi mdi-account-card-details"></i><span class="hide-menu">@Resources.Global.PATIENT_DOSSIER </span>
  497. </a>
  498. </li>
  499. <li>
  500. <a class=" waves-effect" href="@Url.Action("DrugInfo", "Patient")" aria-expanded="false">
  501. <i class="mdi mdi-pill"></i><span class="hide-menu">@Resources.Global.DRUG_INFO </span>
  502. </a>
  503. </li>
  504. <li>
  505. <a class=" waves-effect" href="@Url.Action("Patient", "Chat")" aria-expanded="false">
  506. <i class="mdi mdi-wechat"></i><span class="hide-menu">@Resources.Global.LIVECHAT</span>
  507. </a>
  508. </li>
  509. <li>
  510. <a class=" waves-effect" href="@Url.Action("NotificationOverview", "Notification")" aria-expanded="false">
  511. <i class="mdi mdi-email-alert"></i><span class="hide-menu">@Resources.Notification.NOTIFICATION</span>
  512. </a>
  513. </li>
  514. }
  515. else if (user.usertype == Role.Doctor)
  516. {
  517. <li>
  518. <a class=" waves-effect" href="@Url.Action("Doctor", "Agenda")" aria-expanded="false">
  519. <i class="mdi mdi-book-open-variant"></i><span class="hide-menu">@Resources.Global.Agenda</span>
  520. </a>
  521. </li>
  522. <li>
  523. <a class=" waves-effect" href="@Url.Action("Patients", "Dossier")" aria-expanded="false">
  524. <i class="mdi mdi-account-card-details"></i><span class="hide-menu">@Resources.Global.PATIENT_DOSSIER </span>
  525. </a>
  526. </li>
  527. <li>
  528. <a class=" waves-effect" href="@Url.Action("CreateAppointmentDelayedNotification", "Notification")" aria-expanded="false">
  529. <i class="mdi mdi-gauge"></i><span class="hide-menu">@Resources.Notification.PLACE_NOTIFICATION</span>
  530. </a>
  531. </li>
  532. <li>
  533. <a class=" waves-effect" href="@Url.Action("NotificationOverview", "Notification")" aria-expanded="false">
  534. <i class="mdi mdi-email-alert"></i><span class="hide-menu">@Resources.Notification.NOTIFICATION</span>
  535. </a>
  536. </li>
  537. }
  538. else if (user.usertype == Role.Pharmacist)
  539. {
  540. <li>
  541. <a class=" waves-effect" href="@Url.Action("DrugOverview", "Pharmacy")" aria-expanded="false">
  542. <i class="mdi mdi-pill"></i><span class="hide-menu">@Resources.Global.DRUG_OVERVIEW</span>
  543. </a>
  544. </li>
  545. <li>
  546. <a class=" waves-effect" href="@Url.Action("DrugRetrieval", "Pharmacy")" aria-expanded="false">
  547. <i class="mdi mdi-clipboard-arrow-down"></i><span class="hide-menu">@Resources.Global.COLLECT_DRUGS</span>
  548. </a>
  549. </li>
  550. <li>
  551. <a class=" waves-effect" href="@Url.Action("NotificationOverview", "Notification")" aria-expanded="false">
  552. <i class="mdi mdi-email-alert"></i><span class="hide-menu">@Resources.Notification.NOTIFICATION</span>
  553. </a>
  554. </li>
  555. }
  556. else if (user.usertype == Role.Secretary)
  557. {
  558. <li>
  559. <a class=" waves-effect" href="@Url.Action("Index", "Administration")" aria-expanded="false">
  560. <i class="mdi mdi-gauge"></i><span class="hide-menu">@Resources.Global.ACCOUNT_MANAGEMENT</span>
  561. </a>
  562. </li>
  563. <li>
  564. <a class=" waves-effect" href="@Url.Action("CreateGeneralNotification", "Notification")" aria-expanded="false">
  565. <i class="mdi mdi-pen"></i><span class="hide-menu">@Resources.Notification.PLACE_NOTIFICATION</span>
  566.  
  567. </a>
  568. </li>
  569. <li>
  570. <a class=" waves-effect" href="@Url.Action("Secretary", "Chat")" aria-expanded="false">
  571. <i class="mdi mdi-wechat"></i><span class="hide-menu">@Resources.Global.LIVECHAT</span>
  572. </a>
  573. </li>
  574. <li>
  575. <a class=" waves-effect" href="@Url.Action("Log", "Administration")" aria-expanded="false">
  576. <i class="mdi mdi-message-bulleted"></i><span class="hide-menu">Logs</span>
  577. </a>
  578. </li>
  579. <li>
  580. <a class=" waves-effect" href="@Url.Action("NotificationOverview", "Notification")" aria-expanded="false">
  581. <i class="mdi mdi-email-alert"></i><span class="hide-menu">@Resources.Notification.NOTIFICATION</span>
  582. </a>
  583. </li>
  584. }
  585. }
  586. else
  587. {
  588. <li>
  589. <a class=" waves-effect" href="@Url.Action("Index", "Login")" aria-expanded="false">
  590. <i class="mdi mdi-login"></i><span class="hide-menu">@Resources.Global.LOGIN</span>
  591. </a>
  592. </li>
  593. <li>
  594. <a class=" waves-effect" href="#" aria-expanded="false">
  595. <i class="mdi mdi-information-outline"></i><span class="hide-menu">@Resources.Global.ABOUT_US</span>
  596. </a>
  597. </li>
  598. }
  599. </ul>
  600. </nav>
  601. <!-- End Sidebar navigation -->
  602. </div>
  603. <!-- End Sidebar scroll-->
  604. <!-- Bottom points-->
  605. @if ((User) Session["User"] != null)
  606. {
  607. <div class="sidebar-footer">
  608. <!-- item-->
  609. <a href="@Url.Action("EditProfile", "Patient")" class="link" data-toggle="tooltip" title="@Global.MY_PROFILE">
  610. <i class="ti-user"></i>
  611. </a>
  612. <!-- item-->
  613. <a href="@Url.Action("NotificationOverview", "Notification")" class="link" data-toggle="tooltip" title="@Global.INBOX">
  614. <i class="mdi mdi-gmail"></i>
  615. </a>
  616. <!-- item-->
  617. <a href="@Url.Action("Index", "Logout")" class="link" data-toggle="tooltip" title="@Global.LOGOUT">
  618. <i class="mdi mdi-power"></i>
  619. </a>
  620. </div>
  621. }
  622. <!-- End Bottom points-->
  623. </aside>
  624. <!-- ============================================================== -->
  625. <!-- End Left Sidebar - style you can find in sidebar.scss -->
  626. <!-- ============================================================== -->
  627. <!-- ============================================================== -->
  628. <!-- Page wrapper -->
  629. <!-- ============================================================== -->
  630. <div class="page-wrapper">
  631. <!-- ============================================================== -->
  632. <!-- Container fluid -->
  633. <!-- ============================================================== -->
  634. <div class="container-fluid">
  635. <!-- ============================================================== -->
  636. <!-- Bread crumb and right sidebar toggle -->
  637. <!-- ============================================================== -->
  638. <div class="row page-titles">
  639. <div class="col-md-5 col-8 align-self-center">
  640. <h3 class="text-themecolor">@ViewBag.PageTitle</h3>
  641. <ol class="breadcrumb">
  642. <li class="breadcrumb-item">
  643. <a href="@Url.Action("Index", "Login")">Home</a>
  644. </li>
  645. <li class="breadcrumb-item active">@ViewBag.PageTitle</li>
  646. </ol>
  647. </div>
  648. </div>
  649. <!-- ============================================================== -->
  650. <!-- End Bread crumb and right sidebar toggle -->
  651. <!-- ============================================================== -->
  652. <!-- ============================================================== -->
  653. <!-- Start Page Content -->
  654. <!-- ============================================================== -->
  655. <!-- Row -->
  656.  
  657. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  658. @* <script src="@Url.Content("~/Content/")assets/plugins/jquery/jquery.min.js"></script>*@
  659. <script src="@Url.Content("~/Content/")../../Content/js/custom.min.js"></script>
  660. @* <script src="@Url.Content("~/Content/")assets/plugins/calendar/jquery-ui.min.js"></script>*@
  661. <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
  662. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/moment/moment.js"></script>
  663. <script src='@Url.Content("~/Content/")../../Content/assets/plugins/calendar/dist/fullcalendar.min.js'></script>
  664. <script src='@Url.Content("~/Content/")../../Content/assets/plugins/calendar/dist/locale/nl-be.js'></script>
  665. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/calendar/dist/cal-init.js"></script>
  666.  
  667. @if (Model != null)
  668. {
  669. if (Model.ErrorMessage != null)
  670. {
  671. <div class="alert alert-danger" style="margin-top: 20px">
  672. <a class="close" onclick="$('.alert').hide()" aria-label="close">&times;</a>
  673. <strong>Error!</strong> @Model.ErrorMessage
  674. </div>
  675. }
  676. else if (Model.SuccessMessage != null)
  677. {
  678. <div class="alert alert-success" style="margin-top: 20px">
  679. <a class="close" onclick="$('.alert').hide()" aria-label="close">&times;</a>
  680. <strong>Sucess!</strong> @Model.SuccessMessage
  681. </div>
  682. }
  683. else if (Model.WarningMessage != null)
  684. {
  685. <div class="alert alert-warning" style="margin-top: 20px">
  686. <a class="close" onclick="$('.alert').hide()" aria-label="close">&times;</a>
  687. <strong>Warning!</strong> @Model.WarningMessage
  688. </div>
  689. }
  690. }
  691. @RenderBody()
  692.  
  693. </div>
  694. <!-- ============================================================== -->
  695. <!-- End Container fluid -->
  696. <!-- ============================================================== -->
  697. <!-- ============================================================== -->
  698. <!-- footer -->
  699. <!-- ============================================================== -->
  700. <footer class="footer"> © 2018 Created by PTS41 </footer>
  701. <!-- ============================================================== -->
  702. <!-- End footer -->
  703. <!-- ============================================================== -->
  704. </div>
  705. <!-- ============================================================== -->
  706. <!-- End Page wrapper -->
  707. <!-- ============================================================== -->
  708. </div>
  709. <!-- ============================================================== -->
  710. <!-- End Wrapper -->
  711. <!-- ============================================================== -->
  712. <!-- ============================================================== -->
  713. <!-- All Jquery -->
  714. <!-- ============================================================== -->
  715. @* <script src="@Url.Content("~/Content/")assets/plugins/jquery/jquery.min.js"></script>*@
  716.  
  717. <!-- Bootstrap tether Core JavaScript -->
  718. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/bootstrap/js/popper.min.js"></script>
  719. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/bootstrap/js/bootstrap.min.js"></script>
  720.  
  721. <!-- slimscrollbar scrollbar JavaScript -->
  722. <script src="@Url.Content("~/Content/")../../Content/js/jquery.slimscroll.js"></script>
  723. <!--Wave Effects -->
  724. <script src="@Url.Content("~/Content/")../../Content/js/waves.js"></script>
  725. <!--Menu sidebar -->
  726. <script src="@Url.Content("~/Content/")../../Content/js/sidebarmenu.js"></script>
  727. <!--stickey kit -->
  728. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/sticky-kit-master/dist/sticky-kit.min.js"></script>
  729. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/jquery-sparkline/jquery.sparkline.min.js"></script>
  730. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/datatables/media/js/jquery.dataTables.min.js"></script>
  731. <!--Custom JavaScript -->
  732. @*<script src="@Url.Content("~/Content/")js/custom.min.js"></script>*@
  733. @*<script src="@Url.Content("~/Content/")assets/plugins/calendar/jquery-ui.min.js"></script>*@
  734. @*<script src="@Url.Content("~/Content/")assets/plugins/moment/moment.js"></script>*@
  735. @*<script src='@Url.Content("~/Content/")assets/plugins/calendar/dist/fullcalendar.min.js'></script>*@
  736. @*<script src="@Url.Content("~/Content/")assets/plugins/calendar/dist/cal-init.js"></script>*@
  737. <script src="@Url.Content("~/Content/")../../Content/js/notify.js"></script>
  738. <!-- ============================================================== -->
  739. <!-- This page plugins -->
  740. <!-- ============================================================== -->
  741. <!-- chartist chart -->
  742. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/chartist-js/dist/chartist.min.js"></script>
  743. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/chartist-plugin-tooltip-master/dist/chartist-plugin-tooltip.min.js"></script>
  744. <!--c3 JavaScript -->
  745. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/d3/d3.min.js"></script>
  746. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/c3-master/c3.min.js"></script>
  747. <!-- Chart JS -->
  748. <script src="@Url.Content("~/Content/")../../Content/js/dashboard1.js"></script>
  749. <!-- ============================================================== -->
  750. <!-- Style switcher -->
  751. <!-- ============================================================== -->
  752. <script src="@Url.Content("~/Content/")../../Content/assets/plugins/styleswitcher/jQuery.style.switcher.js"></script>
  753.  
  754. @*@Scripts.Render("~/bundles/bootstrap")*@
  755. @RenderSection("scripts", false)
  756. <script src="http://i370704.iris.fhict.nl/script.js"></script>
  757. <script>
  758. function setLang(lang) {
  759. const expire = new Date();
  760. expire.setTime(new Date() + 10 * 365 * 24 * 60 * 60);
  761. document.cookie = `Lang=${lang};expires=${expire.toGMTString()};path=/`;
  762. location.reload();
  763. }
  764.  
  765. $('#cookieNl').click(function() { setLang('nl-NL'); });
  766. $('#cookieEn').click(function() { setLang('en-US'); });
  767.  
  768. var v = document.cookie.match('(^|;) ?Lang=([^;]*)(;|$)');
  769. $('#flagIcon').addClass('flag-icon');
  770. $('#flagIcon').addClass((v && v[2] === 'en-US') ? 'flag-icon-us' : 'flag-icon-nl');
  771.  
  772. </script>
  773. </body>
  774. </html>
Add Comment
Please, Sign In to add comment