├── UI
├── Images
│ ├── img01.jpg
│ ├── img02.jpg
│ ├── img03.jpg
│ └── header.jpg
├── Material
│ ├── MVC.zip
│ ├── Asp.Net.zip
│ └── MTT-Logo2.png
├── fonts
│ ├── FontAwesome.otf
│ ├── fontawesome-webfont.eot
│ ├── fontawesome-webfont.ttf
│ ├── fontawesome-webfont.woff
│ ├── fontawesome-social-webfont.eot
│ ├── fontawesome-social-webfont.ttf
│ └── fontawesome-social-webfont.woff
├── Admin
│ ├── images
│ │ ├── header.jpg
│ │ ├── img01.jpg
│ │ ├── img02.jpg
│ │ └── img03.jpg
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ ├── fontawesome-social-webfont.eot
│ │ ├── fontawesome-social-webfont.ttf
│ │ └── fontawesome-social-webfont.woff
│ ├── Home.aspx.cs
│ ├── Student.aspx.cs
│ ├── AdminMasterPage.master.cs
│ ├── Trainer.aspx.cs
│ ├── Student.aspx
│ ├── Home.aspx
│ ├── Approval.aspx.cs
│ ├── Material.aspx.cs
│ ├── Approval.aspx
│ ├── Trainer.aspx
│ ├── Material.aspx
│ ├── AdminMasterPage.master
│ ├── Workshop.aspx
│ ├── Workshop.aspx.cs
│ └── default.css
├── Student
│ ├── images
│ │ ├── header.jpg
│ │ ├── img01.jpg
│ │ ├── img02.jpg
│ │ └── img03.jpg
│ ├── fonts
│ │ ├── FontAwesome.otf
│ │ ├── fontawesome-webfont.eot
│ │ ├── fontawesome-webfont.ttf
│ │ ├── fontawesome-webfont.woff
│ │ ├── fontawesome-social-webfont.eot
│ │ ├── fontawesome-social-webfont.ttf
│ │ └── fontawesome-social-webfont.woff
│ ├── Home.aspx.cs
│ ├── Profile.aspx.cs
│ ├── Request.aspx.cs
│ ├── Workshop.aspx.cs
│ ├── Profile.aspx
│ ├── Request.aspx
│ ├── Workshop.aspx
│ ├── Material.aspx.cs
│ ├── StudentMasterPage.master.cs
│ ├── Home.aspx
│ ├── Material.aspx
│ ├── StudentMasterPage.master
│ └── default.css
├── Common
│ ├── ChangePassword.aspx.cs
│ ├── RecoverPassword.aspx.cs
│ ├── ChangePassword.aspx
│ ├── RecoverPassword.aspx
│ ├── Register.aspx.cs
│ ├── Workshop.aspx.cs
│ ├── Register.aspx
│ └── Workshop.aspx
├── Web.config
├── Default.aspx.cs
├── Default.aspx
├── default.css
└── fonts.css
├── EF
├── packages.config
├── Class1.cs
├── Model1.Designer.cs
├── Model1.cs
├── sysdiagram.cs
├── tbl_Student_WorkShop_Mapping.cs
├── App.Config
├── tbl_Trainer_Workshop_Mapping.cs
├── tbl_Material.cs
├── Model1.Context.cs
├── Properties
│ └── AssemblyInfo.cs
├── tbl_WorkShop.cs
├── Model1.edmx.diagram
├── tbl_User.cs
└── EF.csproj
├── BLL
├── BLLBase.cs
├── MaterialBusiness.cs
├── Properties
│ └── AssemblyInfo.cs
├── UserBusiness.cs
├── WorkshopBusiness.cs
└── BLL.csproj
├── BOL
├── tbl_Role.cs
├── tbl_Student_WorkShop_Mapping.cs
├── WorkShopMaterial.cs
├── WorkShopRequest.cs
├── tbl_Trainer_WorkShop_Mapping.cs
├── tbl_Material.cs
├── tbl_Workshop.cs
├── BOL.sln
├── tbl_User.cs
├── Properties
│ └── AssemblyInfo.cs
└── BOL.csproj
├── DAL
├── DALBase.cs
├── MySettings.settings
├── app.config
├── Properties
│ └── AssemblyInfo.cs
├── MySettings.Designer.cs
├── MaterialDB.cs
├── DAL.csproj
├── UserDb.cs
└── WorkShopDb.cs
├── .gitattributes
├── RealTimeProject.sln
└── .gitignore
/UI/Images/img01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Images/img01.jpg
--------------------------------------------------------------------------------
/UI/Images/img02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Images/img02.jpg
--------------------------------------------------------------------------------
/UI/Images/img03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Images/img03.jpg
--------------------------------------------------------------------------------
/UI/Material/MVC.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Material/MVC.zip
--------------------------------------------------------------------------------
/UI/Images/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Images/header.jpg
--------------------------------------------------------------------------------
/UI/Material/Asp.Net.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Material/Asp.Net.zip
--------------------------------------------------------------------------------
/UI/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/UI/Admin/images/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/images/header.jpg
--------------------------------------------------------------------------------
/UI/Admin/images/img01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/images/img01.jpg
--------------------------------------------------------------------------------
/UI/Admin/images/img02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/images/img02.jpg
--------------------------------------------------------------------------------
/UI/Admin/images/img03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/images/img03.jpg
--------------------------------------------------------------------------------
/UI/Material/MTT-Logo2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Material/MTT-Logo2.png
--------------------------------------------------------------------------------
/UI/Student/images/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/images/header.jpg
--------------------------------------------------------------------------------
/UI/Student/images/img01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/images/img01.jpg
--------------------------------------------------------------------------------
/UI/Student/images/img02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/images/img02.jpg
--------------------------------------------------------------------------------
/UI/Student/images/img03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/images/img03.jpg
--------------------------------------------------------------------------------
/UI/Admin/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/UI/Student/fonts/FontAwesome.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/FontAwesome.otf
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-social-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-social-webfont.eot
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-social-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-social-webfont.ttf
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-webfont.eot
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-webfont.ttf
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-webfont.woff
--------------------------------------------------------------------------------
/UI/fonts/fontawesome-social-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/fonts/fontawesome-social-webfont.woff
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-social-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-social-webfont.eot
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-social-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-social-webfont.ttf
--------------------------------------------------------------------------------
/UI/Admin/fonts/fontawesome-social-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Admin/fonts/fontawesome-social-webfont.woff
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-social-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-social-webfont.eot
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-social-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-social-webfont.ttf
--------------------------------------------------------------------------------
/UI/Student/fonts/fontawesome-social-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/nirzaf/Material_Business/HEAD/UI/Student/fonts/fontawesome-social-webfont.woff
--------------------------------------------------------------------------------
/EF/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/EF/Class1.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace EF
8 | {
9 | public class Class1
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/BLL/BLLBase.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BLL
8 | {
9 | public class BLLBase
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/EF/Model1.Designer.cs:
--------------------------------------------------------------------------------
1 | // Default code generation is disabled for model 'M:\RealTimeProject\EF\Model1.edmx'.
2 | // To enable default code generation, change the value of the 'Code Generation Strategy' designer
3 | // property to an alternate value. This property is available in the Properties Window when the model is
4 | // open in the designer.
--------------------------------------------------------------------------------
/UI/Admin/Home.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Admin_Home : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Student/Home.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Student_Home : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Student/Profile.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Student_Profile : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Student/Request.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Student_Request : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Student/Workshop.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Student_Workshop : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Common/ChangePassword.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Common_ChangePassword : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/UI/Common/RecoverPassword.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Common_RecoverPassword : System.Web.UI.Page
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 |
13 | }
14 | }
--------------------------------------------------------------------------------
/BOL/tbl_Role.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_Role
10 | {
11 | public int RoleId { get; set; }
12 | public string RoleName { get; set; }
13 | public bool Status { get; set; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/UI/Web.config:
--------------------------------------------------------------------------------
1 |
2 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/UI/Student/Profile.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="Profile.aspx.cs" Inherits="Student_Profile" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/UI/Student/Request.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="Request.aspx.cs" Inherits="Student_Request" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/UI/Student/Workshop.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="Workshop.aspx.cs" Inherits="Student_Workshop" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/DAL/DALBase.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using System.Configuration;
7 |
8 | namespace DAL
9 | {
10 | public class DALBase
11 | {
12 | protected string conStr;
13 | public DALBase()
14 | {
15 | conStr = MySettings.Default.ConStr;
16 | }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/UI/Common/ChangePassword.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="Common_ChangePassword" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/UI/Common/RecoverPassword.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="RecoverPassword.aspx.cs" Inherits="Common_RecoverPassword" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/BOL/tbl_Student_WorkShop_Mapping.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_Student_WorkShop_Mapping
10 | {
11 | public int SerialNo { get; set; }
12 | public int StudentId { get; set; }
13 | public int WorkShopId { get; set; }
14 | public bool IsApproved { get; set; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/EF/Model1.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 |
--------------------------------------------------------------------------------
/BOL/WorkShopMaterial.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class WorkShopMaterial
10 | {
11 | public int MaterialId { get; set; }
12 | public string MaterialDescription { get; set; }
13 | public string MaterialPath { get; set; }
14 | public string WorkShopTitle { get; set; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/BOL/WorkShopRequest.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class WorkShopRequest
10 | {
11 | public int UserId { get; set; }
12 | public string UserName_Email { get; set; }
13 | public int WorkShopId { get; set; }
14 | public string WorkShopTitle { get; set; }
15 | public bool IsApproved { get; set; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/DAL/MySettings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Data Source=MTT\SqlExpress;Initial Catalog=WorkShopDB;Integrated Security=True
7 |
8 |
9 |
--------------------------------------------------------------------------------
/BOL/tbl_Trainer_WorkShop_Mapping.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_Trainer_WorkShop_Mapping
10 | {
11 | public int SerialNo { get; set; }
12 | public int TrainerId { get; set; }
13 | public int WorkShopId { get; set; }
14 | public int CreatedBy { get; set; }
15 | public DateTime CreatedDate { get; set; }
16 | public int UpdatedBy { get; set; }
17 | public DateTime UpdatedDate { get; set; }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/BLL/MaterialBusiness.cs:
--------------------------------------------------------------------------------
1 | using BOL;
2 | using DAL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace BLL
10 | {
11 | public class MaterialBusiness:BLLBase
12 | {
13 | public void CreateMaterial(tbl_Material M)
14 | {
15 | MaterialDB MD = new MaterialDB();
16 | MD.CreateMaterial(M);
17 | }
18 | public List GetMaterials()
19 | {
20 | MaterialDB MD = new MaterialDB();
21 | return MD.GetMaterials(); ;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/BOL/tbl_Material.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_Material
10 | {
11 | public int MaterialId { get; set; }
12 | public string MaterialDescription { get; set; }
13 | public string MaterialPath { get; set; }
14 | public int WorkShopId { get; set; }
15 | public int CreatedBy { get; set; }
16 | public DateTime CreatedDate { get; set; }
17 | public int UpdatedBy { get; set; }
18 | public DateTime UpdatedDate { get; set; }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/UI/Admin/Student.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Admin_Student : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 | if (!IsPostBack)
15 | {
16 | GetStudents();
17 | }
18 | }
19 |
20 | private void GetStudents()
21 | {
22 | UserBusiness UB = new UserBusiness();
23 | List Ls = UB.GetStudents();
24 | grdStudents.DataSource = Ls;
25 | grdStudents.DataBind();
26 | }
27 | }
--------------------------------------------------------------------------------
/BOL/tbl_Workshop.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_Workshop
10 | {
11 | public int WorkShopId { get; set; }
12 | public string WorkShopTitle { get; set; }
13 | public DateTime WorkShopDate { get; set; }
14 | public string WorkShopDuration { get; set; }
15 | public string WorkShopTopics { get; set; }
16 | public int CreatedBy { get; set; }
17 | public DateTime CreatedDate { get; set; }
18 | public int UpdatedBy { get; set; }
19 | public DateTime UpdatedDate { get; set; }
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/UI/Student/Material.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Student_Material : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 | if (!IsPostBack)
15 | {
16 | GetMaterials();
17 | }
18 | }
19 |
20 | private void GetMaterials()
21 | {
22 | MaterialBusiness MB = new MaterialBusiness();
23 | List Ls = MB.GetMaterials();
24 | grdMaterial.DataSource = Ls;
25 | grdMaterial.DataBind();
26 | }
27 | }
--------------------------------------------------------------------------------
/UI/Common/Register.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Common_Register : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 |
15 | }
16 | protected void txtSubmit_Click(object sender, EventArgs e)
17 | {
18 | int WorkShopId = Int16.Parse(HttpContext.Current.Request.QueryString["WorkShopId"].ToString());
19 | string email = txtEmail.Text;
20 | tbl_User U = new tbl_User() { UserName_Email = email };
21 | UserBusiness UB = new UserBusiness();
22 | if (UB.CreateUserRequest(U, WorkShopId))
23 | {
24 | Response.Write("Registration Successfull");
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/EF/sysdiagram.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class sysdiagram
16 | {
17 | public string name { get; set; }
18 | public int principal_id { get; set; }
19 | public int diagram_id { get; set; }
20 | public Nullable version { get; set; }
21 | public byte[] definition { get; set; }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/DAL/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | Data Source=MTT\SqlExpress;Initial Catalog=WorkShopDB;Integrated Security=True
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/BOL/BOL.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2012
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BOL", "BOL.csproj", "{C8F5275E-FD67-40D2-A1C3-0A85043768F7}"
5 | EndProject
6 | Global
7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
8 | Debug|Any CPU = Debug|Any CPU
9 | Release|Any CPU = Release|Any CPU
10 | EndGlobalSection
11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
12 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
13 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
14 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
15 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Release|Any CPU.Build.0 = Release|Any CPU
16 | EndGlobalSection
17 | GlobalSection(SolutionProperties) = preSolution
18 | HideSolutionNode = FALSE
19 | EndGlobalSection
20 | EndGlobal
21 |
--------------------------------------------------------------------------------
/UI/Common/Workshop.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Common_Workshop : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 | if (!IsPostBack)
15 | {
16 | GetWorkShops();
17 | }
18 | }
19 | private void GetWorkShops()
20 | {
21 | WorkshopBusiness WB = new WorkshopBusiness();
22 | List Ls = WB.GetWorkshops();
23 | GridView1.DataSource = Ls;
24 | GridView1.DataBind();
25 | }
26 |
27 |
28 | protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
29 | {
30 | int WorkShopId = int.Parse(GridView1.SelectedValue.ToString());
31 | Response.Redirect("Register.aspx?WorkShopId=" + WorkShopId);
32 | }
33 |
34 | }
--------------------------------------------------------------------------------
/EF/tbl_Student_WorkShop_Mapping.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class tbl_Student_WorkShop_Mapping
16 | {
17 | public int SerialNo { get; set; }
18 | public Nullable StudentId { get; set; }
19 | public Nullable WorkShopId { get; set; }
20 | public Nullable IsApproved { get; set; }
21 |
22 | public virtual tbl_User tbl_User { get; set; }
23 | public virtual tbl_WorkShop tbl_WorkShop { get; set; }
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/BOL/tbl_User.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace BOL
8 | {
9 | public class tbl_User
10 | {
11 | public int UserId { get; set; }
12 | public string UserName_Email { get; set; }
13 | public string Password { get; set; }
14 | public string FirstName { get; set; }
15 | public string LastName { get; set; }
16 | public string UserGender { get; set; }
17 | public string Mobile { get; set; }
18 | public string IsActive { get; set; }
19 | public DateTime UserDob { get; set; }
20 | public string SkillsSet { get; set; }
21 | public string Experience { get; set; }
22 | public int RoleId { get; set; }
23 | public int CreatedBy { get; set; }
24 | public DateTime CreatedDate { get; set; }
25 | public int UpdatedBy { get; set; }
26 | public DateTime UpdatedDate { get; set; }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/EF/App.Config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/UI/Admin/AdminMasterPage.master.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Admin_AdminMasterPage : System.Web.UI.MasterPage
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 | if (!IsPostBack)
13 | {
14 | if (Session["UserId"] == null)
15 | {
16 | Response.Redirect("~/Default.aspx");
17 | }
18 | else
19 | {
20 | if (Session["RoleId"].ToString() != "1")
21 | {
22 | Response.Redirect("~/Default.aspx");
23 | }
24 | else
25 | {
26 | lblUser.Text = Session["UserName_Email"].ToString();
27 | }
28 | }
29 | }
30 | }
31 | protected void btnLogOut_Click(object sender, EventArgs e)
32 | {
33 | Session.Clear();
34 | Response.Redirect("~/Default.aspx");
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/UI/Admin/Trainer.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 | using BOL;
8 | using BLL;
9 |
10 |
11 | public partial class Admin_Trainer : System.Web.UI.Page
12 | {
13 | protected void Page_Load(object sender, EventArgs e)
14 | {
15 | if (!IsPostBack)
16 | {
17 | GetTrainers();
18 | }
19 | }
20 | private void GetTrainers()
21 | {
22 | UserBusiness UB = new UserBusiness();
23 | List Ls = UB.GetTrainers();
24 | grdTrainers.DataSource = Ls;
25 | grdTrainers.DataBind();
26 | }
27 | protected void txtSave_Click(object sender, EventArgs e)
28 | {
29 | tbl_User U = new tbl_User();
30 | U.UserName_Email = txtEmail.Text;
31 | U.FirstName = txtTrainerFirstName.Text;
32 | U.LastName = txtLastName.Text;
33 | U.RoleId = 2;
34 | UserBusiness UB = new UserBusiness();
35 | UB.CreateTrainer(U);
36 | GetTrainers();
37 | }
38 | }
--------------------------------------------------------------------------------
/UI/Student/StudentMasterPage.master.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 |
8 | public partial class Student_StudentMasterPage : System.Web.UI.MasterPage
9 | {
10 | protected void Page_Load(object sender, EventArgs e)
11 | {
12 | if (!IsPostBack)
13 | {
14 | if (Session["UserId"] == null)
15 | {
16 | Response.Redirect("~/Default.aspx");
17 | }
18 | else
19 | {
20 | if (Session["RoleId"].ToString() != "3")
21 | {
22 | Response.Redirect("~/Default.aspx");
23 | }
24 | else
25 | {
26 | lblUser.Text = Session["UserName_Email"].ToString();
27 | }
28 | }
29 | }
30 | }
31 |
32 |
33 | protected void btnLogOut_Click(object sender, EventArgs e)
34 | {
35 | Session.Clear();
36 | Response.Redirect("~/Default.aspx");
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/EF/tbl_Trainer_Workshop_Mapping.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class tbl_Trainer_Workshop_Mapping
16 | {
17 | public int SerialNo { get; set; }
18 | public Nullable TrainerId { get; set; }
19 | public Nullable workShopId { get; set; }
20 | public Nullable CreatedDate { get; set; }
21 | public Nullable CreatedBy { get; set; }
22 | public Nullable UpdatedDate { get; set; }
23 | public Nullable UpdatedBy { get; set; }
24 |
25 | public virtual tbl_User tbl_User { get; set; }
26 | public virtual tbl_WorkShop tbl_WorkShop { get; set; }
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/EF/tbl_Material.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class tbl_Material
16 | {
17 | public int MaterialId { get; set; }
18 | public string MaterialDescription { get; set; }
19 | public string MaterialPath { get; set; }
20 | public int WorkShopId { get; set; }
21 | public Nullable CreatedBy { get; set; }
22 | public Nullable CreatedDate { get; set; }
23 | public Nullable UpdatedBy { get; set; }
24 | public Nullable UpdatedDate { get; set; }
25 |
26 | public virtual tbl_User tbl_User { get; set; }
27 | public virtual tbl_WorkShop tbl_WorkShop { get; set; }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/UI/Admin/Student.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Student.aspx.cs" Inherits="Admin_Student" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/UI/Common/Register.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Register.aspx.cs" Inherits="Common_Register" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
19 |
20 |
21 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/UI/Student/Home.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Student_Home" %>
2 |
3 |
4 |
5 |
6 |
7 | Student's Dashboard
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/UI/Default.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 | using BOL;
8 | using BLL;
9 | public partial class _Default : System.Web.UI.Page
10 | {
11 | protected void Page_Load(object sender, EventArgs e)
12 | {
13 |
14 | }
15 | protected void btnLogin_Click(object sender, EventArgs e)
16 | {
17 | tbl_User U = new tbl_User();
18 | U.UserName_Email = txtUserName.Text;
19 | U.Password = txtPassword.Text;
20 | UserBusiness UB = new UserBusiness();
21 | bool flag=UB.ValidateUser(U);
22 | if (flag==true)
23 | {
24 | Session.Add("UserId", U.UserId);
25 | Session.Add("UserName_Email", U.UserName_Email);
26 | Session.Add("RoleId", U.RoleId);
27 |
28 | //Session.Add("User", U);
29 | //tbl_User U = (tbl_User)Session["User"];
30 |
31 | if (U.RoleId == 1)
32 | Response.Redirect("~/Admin/Home.aspx");
33 | else if(U.RoleId == 3)
34 | Response.Redirect("~/Student/Home.aspx");
35 | }
36 | else
37 | {
38 | //System.Threading.Thread.Sleep(3000);
39 | lblMessage.Text="UserName Or Password Is Invalid!";
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/UI/Admin/Home.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Admin_Home" %>
2 |
3 |
4 |
5 |
6 |
7 | Admin's Dashboard
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/EF/Model1.Context.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Data.Entity;
14 | using System.Data.Entity.Infrastructure;
15 |
16 | public partial class WorkShopDBEntities : DbContext
17 | {
18 | public WorkShopDBEntities()
19 | : base("name=WorkShopDBEntities")
20 | {
21 | }
22 |
23 | protected override void OnModelCreating(DbModelBuilder modelBuilder)
24 | {
25 | throw new UnintentionalCodeFirstException();
26 | }
27 |
28 | public DbSet sysdiagrams { get; set; }
29 | public DbSet tbl_Material { get; set; }
30 | public DbSet tbl_Student_WorkShop_Mapping { get; set; }
31 | public DbSet tbl_Trainer_Workshop_Mapping { get; set; }
32 | public DbSet tbl_User { get; set; }
33 | public DbSet tbl_WorkShop { get; set; }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/UI/Admin/Approval.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Admin_Approval : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 | if (!IsPostBack)
15 | {
16 | GetWorkShopRequest();
17 | }
18 | }
19 | private void GetWorkShopRequest()
20 | {
21 | WorkshopBusiness WB = new WorkshopBusiness();
22 | List Ls = WB.GetWorkshopRequest();
23 | grdWorkShopRequest.DataSource = Ls;
24 | grdWorkShopRequest.DataBind();
25 | }
26 | protected void btnSubmit_Click(object sender, EventArgs e)
27 | {
28 | int Sid = int.Parse(grdWorkShopRequest.DataKeys[grdWorkShopRequest.SelectedIndex].Values["UserId"].ToString());
29 | int Wid = int.Parse(grdWorkShopRequest.DataKeys[grdWorkShopRequest.SelectedIndex].Values["WorkShopId"].ToString());
30 | bool IsAppOrRej = bool.Parse(rblApproveReject.SelectedValue.ToString());
31 |
32 | tbl_Student_WorkShop_Mapping swp = new tbl_Student_WorkShop_Mapping();
33 | swp.StudentId = Sid;
34 | swp.WorkShopId = Wid;
35 | swp.IsApproved = IsAppOrRej;
36 |
37 | WorkshopBusiness WB = new WorkshopBusiness();
38 | WB.AppOrRejectWorkshopRequest(swp);
39 | GetWorkShopRequest();
40 | }
41 | }
--------------------------------------------------------------------------------
/EF/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("EF")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("EF")]
13 | [assembly: AssemblyCopyright("Copyright © 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("fa289aa9-cf83-4c3f-a1aa-ef6ad23a34de")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/BLL/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("BLL")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("BLL")]
13 | [assembly: AssemblyCopyright("Copyright © 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("55521f0d-fe42-4ec0-a681-94b31020f0b7")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/BOL/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("BOL")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("BOL")]
13 | [assembly: AssemblyCopyright("Copyright © 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("d559fbc1-0039-4b1d-aa4a-93f1d01f1ff8")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/DAL/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("DAL")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("DAL")]
13 | [assembly: AssemblyCopyright("Copyright © 2013")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("a6f03850-1405-46ed-8966-0f169442706a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/BLL/UserBusiness.cs:
--------------------------------------------------------------------------------
1 | using BOL;
2 | using DAL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace BLL
10 | {
11 |
12 | public class UserBusiness:BLLBase
13 | {
14 | public List GetTrainers()
15 | {
16 | try
17 | {
18 | UserDb UD = new UserDb();
19 | List Ls = UD.GetTrainers();
20 | return Ls;
21 | }
22 | catch
23 | {
24 | throw;
25 | }
26 | }
27 | public bool CreateUserRequest(tbl_User U, int WorkShopId)
28 | {
29 | UserDb UD = new UserDb();
30 | UD.CreateUserRequest(U, WorkShopId);
31 | return true;
32 | }
33 |
34 |
35 | public bool ValidateUser(tbl_User U)
36 | {
37 | UserDb UD = new UserDb();
38 | return UD.ValidateUser(U);
39 | }
40 |
41 | public bool CreateTrainer(tbl_User U)
42 | {
43 | UserDb UD = new UserDb();
44 | return UD.CreateTrainer(U);
45 | }
46 |
47 | public List GetStudents()
48 | {
49 | try
50 | {
51 | UserDb UD = new UserDb();
52 | List Ls = UD.GetStudents();
53 | return Ls;
54 | }
55 | catch
56 | {
57 | throw;
58 | }
59 | }
60 | }
61 | }
62 |
--------------------------------------------------------------------------------
/UI/Common/Workshop.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Workshop.aspx.cs" Inherits="Common_Workshop" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/DAL/MySettings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace DAL {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")]
16 | internal sealed partial class MySettings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static MySettings defaultInstance = ((MySettings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new MySettings())));
19 |
20 | public static MySettings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 |
26 | [global::System.Configuration.ApplicationScopedSettingAttribute()]
27 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
28 | [global::System.Configuration.DefaultSettingValueAttribute("Data Source=MTT\\SqlExpress;Initial Catalog=WorkShopDB;Integrated Security=True")]
29 | public string ConStr {
30 | get {
31 | return ((string)(this["ConStr"]));
32 | }
33 | }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/UI/Admin/Material.aspx.cs:
--------------------------------------------------------------------------------
1 | using BLL;
2 | using BOL;
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Linq;
6 | using System.Web;
7 | using System.Web.UI;
8 | using System.Web.UI.WebControls;
9 |
10 | public partial class Admin_Material : System.Web.UI.Page
11 | {
12 | protected void Page_Load(object sender, EventArgs e)
13 | {
14 | if (!IsPostBack)
15 | {
16 | GetWorkShops();
17 | GetMaterials();
18 | }
19 | }
20 |
21 | private void GetMaterials()
22 | {
23 | MaterialBusiness MB = new MaterialBusiness();
24 | List Ls = MB.GetMaterials();
25 | grdMaterial.DataSource = Ls;
26 | grdMaterial.DataBind();
27 | }
28 | private void GetWorkShops()
29 | {
30 | WorkshopBusiness WB = new WorkshopBusiness();
31 | List Ls = WB.GetWorkshops();
32 | ddlWorkshop.DataSource = Ls;
33 | ddlWorkshop.DataValueField = "WorkShopId";
34 | ddlWorkshop.DataTextField = "WorkShopTitle";
35 | ddlWorkshop.DataBind();
36 | }
37 | protected void btnSave_Click(object sender, EventArgs e)
38 | {
39 | if (fuldMaterial.HasFile)
40 | {
41 | string path = Server.MapPath("~//Material//");
42 | fuldMaterial.SaveAs(path + fuldMaterial.FileName);
43 | tbl_Material M = new tbl_Material();
44 | M.WorkShopId = int.Parse(ddlWorkshop.SelectedValue);
45 | M.MaterialPath = "~//Material//" + fuldMaterial.FileName;
46 | MaterialBusiness MB = new MaterialBusiness();
47 | MB.CreateMaterial(M);
48 | GetMaterials();
49 | }
50 |
51 | }
52 | }
--------------------------------------------------------------------------------
/UI/Admin/Approval.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Approval.aspx.cs" Inherits="Admin_Approval" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | Approve
22 | Reject
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/EF/tbl_WorkShop.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class tbl_WorkShop
16 | {
17 | public tbl_WorkShop()
18 | {
19 | this.tbl_Material = new HashSet();
20 | this.tbl_Student_WorkShop_Mapping = new HashSet();
21 | this.tbl_Trainer_Workshop_Mapping = new HashSet();
22 | }
23 |
24 | public int WorkShopId { get; set; }
25 | public string WorkShopTitle { get; set; }
26 | public Nullable WorkShopDate { get; set; }
27 | public string WorkShopDuration { get; set; }
28 | public string WorkShopTopics { get; set; }
29 | public Nullable CreatedBy { get; set; }
30 | public Nullable CreatedDate { get; set; }
31 | public Nullable UpdatedBy { get; set; }
32 | public string UpdatedDate { get; set; }
33 |
34 | public virtual ICollection tbl_Material { get; set; }
35 | public virtual ICollection tbl_Student_WorkShop_Mapping { get; set; }
36 | public virtual ICollection tbl_Trainer_Workshop_Mapping { get; set; }
37 | public virtual tbl_User tbl_User { get; set; }
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/UI/Student/Material.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Student/StudentMasterPage.master" AutoEventWireup="true" CodeFile="Material.aspx.cs" Inherits="Student_Material" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/EF/Model1.edmx.diagram:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/BLL/WorkshopBusiness.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using BOL;
7 | using DAL;
8 |
9 | namespace BLL
10 | {
11 | public class WorkshopBusiness:BLLBase
12 | {
13 | WorkShopDb WD;
14 | public WorkshopBusiness()
15 | {
16 | WD = new WorkShopDb();
17 | }
18 |
19 | public List GetWorkshopRequest()
20 | {
21 |
22 | return WD.GetWorkshopRequest();
23 | }
24 | public bool AppOrRejectWorkshopRequest(tbl_Student_WorkShop_Mapping swp)
25 | {
26 | return WD.AppOrRejectWorkshopRequest(swp);
27 | }
28 | public bool InsertWorkshop(tbl_Workshop Wp, List Ls)
29 | {
30 | //Workshopdate should be greater than current date
31 | if (Wp.WorkShopDate > DateTime.Now)
32 | {
33 |
34 | WD.InsertWorkshop(Wp, Ls);
35 | return true;
36 | }
37 | else
38 | {
39 | return false;
40 | }
41 | }
42 | public List GetWorkshops()
43 | {
44 |
45 | return WD.GetWorkshops();
46 | }
47 | public tbl_Workshop GetWorkshopById(int WorkShopId)
48 | {
49 |
50 | tbl_Workshop Wp = WD.GetWorkshopById(WorkShopId);
51 | return Wp;
52 | }
53 | public bool UpdateWorkshopById(tbl_Workshop Wp, int WorkShopId)
54 | {
55 |
56 | if (Wp.WorkShopDate > DateTime.Now)
57 | {
58 | WD.UpdateWorkshopById(Wp, WorkShopId);
59 | return true;
60 | }
61 | else
62 | {
63 | return false;
64 | }
65 | }
66 | public bool DeleteWorkshopById(int WorkShopId)
67 | {
68 |
69 | WD.DeleteWorkshopById(WorkShopId);
70 | return true;
71 | }
72 | public bool AssignTrainersToWorkShop(List Ls)
73 | {
74 |
75 | WD.AssignTrainersToWorkShop(Ls);
76 | return true;
77 | }
78 | }
79 | }
80 |
--------------------------------------------------------------------------------
/EF/tbl_User.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated from a template.
4 | //
5 | // Manual changes to this file may cause unexpected behavior in your application.
6 | // Manual changes to this file will be overwritten if the code is regenerated.
7 | //
8 | //------------------------------------------------------------------------------
9 |
10 | namespace EF
11 | {
12 | using System;
13 | using System.Collections.Generic;
14 |
15 | public partial class tbl_User
16 | {
17 | public tbl_User()
18 | {
19 | this.tbl_Material = new HashSet();
20 | this.tbl_Student_WorkShop_Mapping = new HashSet();
21 | this.tbl_Trainer_Workshop_Mapping = new HashSet();
22 | this.tbl_WorkShop = new HashSet();
23 | }
24 |
25 | public int UserId { get; set; }
26 | public string UserName_Email { get; set; }
27 | public string Password { get; set; }
28 | public string FirstName { get; set; }
29 | public string LastName { get; set; }
30 | public string UserGender { get; set; }
31 | public string Mobile { get; set; }
32 | public string IsActive { get; set; }
33 | public Nullable UserDob { get; set; }
34 | public string SkillsSet { get; set; }
35 | public string Experience { get; set; }
36 | public Nullable RoleId { get; set; }
37 | public Nullable CreatedBy { get; set; }
38 | public Nullable CreatedDate { get; set; }
39 | public Nullable UpdatedBy { get; set; }
40 | public Nullable UpdatedDate { get; set; }
41 |
42 | public virtual ICollection tbl_Material { get; set; }
43 | public virtual ICollection tbl_Student_WorkShop_Mapping { get; set; }
44 | public virtual ICollection tbl_Trainer_Workshop_Mapping { get; set; }
45 | public virtual ICollection tbl_WorkShop { get; set; }
46 | }
47 | }
48 |
--------------------------------------------------------------------------------
/DAL/MaterialDB.cs:
--------------------------------------------------------------------------------
1 | using BOL;
2 | using System;
3 | using System.Collections.Generic;
4 | using System.Data.SqlClient;
5 | using System.Linq;
6 | using System.Text;
7 | using System.Threading.Tasks;
8 |
9 | namespace DAL
10 | {
11 | public class MaterialDB:DALBase
12 | {
13 |
14 | public bool CreateMaterial(BOL.tbl_Material M)
15 | {
16 | string cmdStr = @"insert into tbl_Material (MaterialPath,WorkShopId)
17 | values (@MaterialPath,@WorkShopId)";
18 | SqlConnection con = new SqlConnection(conStr);
19 | SqlCommand cmd = new SqlCommand(cmdStr, con);
20 | cmd.Parameters.AddWithValue("@MaterialPath", M.MaterialPath);
21 | cmd.Parameters.AddWithValue("@WorkShopId", M.WorkShopId);
22 | con.Open();
23 | cmd.ExecuteNonQuery();
24 | con.Close();
25 | return true;
26 | }
27 | public List GetMaterials()
28 | {
29 | try
30 | {
31 | List Ls;
32 | Ls = new List();
33 | string cmdStr = @"SELECT M.MaterialId,M.MaterialDescription,M. MaterialPath, W.WorkShopTitle
34 | FROM tbl_Material M join tbl_Workshop W on M.WorkShopId=W.WorkShopId";
35 | SqlConnection con = new SqlConnection(conStr);
36 | SqlCommand cmd = new SqlCommand(cmdStr, con);
37 | con.Open();
38 | SqlDataReader dr = cmd.ExecuteReader();
39 | while (dr.Read())
40 | {
41 | WorkShopMaterial Mt = new WorkShopMaterial();
42 | Mt.MaterialId = int.Parse(dr["MaterialId"].ToString());
43 | Mt.WorkShopTitle = dr["WorkShopTitle"].ToString();
44 | Mt.MaterialDescription = dr["MaterialDescription"].ToString();
45 | Mt.MaterialPath = dr["MaterialPath"].ToString();
46 | Ls.Add(Mt);
47 | }
48 | dr.Close();
49 | con.Close();
50 | return Ls;
51 | }
52 | catch
53 | {
54 | throw;
55 | }
56 | }
57 | }
58 | }
59 |
--------------------------------------------------------------------------------
/UI/Admin/Trainer.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Trainer.aspx.cs" Inherits="Admin_Trainer" %>
2 |
3 |
4 |
9 |
10 |
11 |
12 |
13 | | Trainer's First Name: |
14 |
15 |
16 | |
17 |
18 |
19 | | Trainer's Last Name: |
20 |
21 |
22 | |
23 |
24 |
25 | | Trainer's Email: |
26 |
27 |
28 | |
29 |
30 |
31 | |
32 | |
33 |
34 |
35 | |
36 |
37 |
38 | |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/BOL/BOL.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}
8 | Library
9 | Properties
10 | BOL
11 | BOL
12 | v4.8
13 | 512
14 |
15 |
16 |
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | pdbonly
27 | true
28 | bin\Release\
29 | TRACE
30 | prompt
31 | 4
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
61 |
--------------------------------------------------------------------------------
/BLL/BLL.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {0F8D9DEA-D997-4A82-BD15-62F79B566215}
8 | Library
9 | Properties
10 | BLL
11 | BLL
12 | v4.8
13 | 512
14 |
15 |
16 |
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | pdbonly
27 | true
28 | bin\Release\
29 | TRACE
30 | prompt
31 | 4
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | {c8f5275e-fd67-40d2-a1c3-0a85043768f7}
52 | BOL
53 |
54 |
55 | {69b8b3e6-a3e5-472b-997e-a3ed7c2523cd}
56 | DAL
57 |
58 |
59 |
60 |
67 |
--------------------------------------------------------------------------------
/UI/Default.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
18 |
19 |
20 |
21 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/UI/Admin/Material.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Material.aspx.cs" Inherits="Admin_Material" %>
2 |
3 |
4 |
12 |
13 |
14 |
15 |
16 | | Workshop : |
17 |
18 |
19 | Select
20 |
21 | |
22 |
23 |
24 | | Material : |
25 |
26 |
27 | |
28 |
29 |
30 | |
31 | |
32 |
33 |
34 | |
35 |
36 |
37 | |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | |
59 |
60 |
61 |
62 |
63 |
--------------------------------------------------------------------------------
/UI/Admin/AdminMasterPage.master:
--------------------------------------------------------------------------------
1 | <%@ Master Language="C#" AutoEventWireup="true" CodeFile="AdminMasterPage.master.cs" Inherits="Admin_AdminMasterPage" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
24 |
25 |
26 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/DAL/DAL.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}
8 | Library
9 | Properties
10 | DAL
11 | DAL
12 | v4.8
13 | 512
14 |
15 |
16 |
17 | true
18 | full
19 | false
20 | bin\Debug\
21 | DEBUG;TRACE
22 | prompt
23 | 4
24 |
25 |
26 | pdbonly
27 | true
28 | bin\Release\
29 | TRACE
30 | prompt
31 | 4
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | True
47 | True
48 | MySettings.settings
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | {c8f5275e-fd67-40d2-a1c3-0a85043768f7}
57 | BOL
58 |
59 |
60 |
61 |
62 |
63 | SettingsSingleFileGenerator
64 | MySettings.Designer.cs
65 |
66 |
67 |
68 |
75 |
--------------------------------------------------------------------------------
/RealTimeProject.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 2012
4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BOL", "BOL\BOL.csproj", "{C8F5275E-FD67-40D2-A1C3-0A85043768F7}"
5 | EndProject
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DAL", "DAL\DAL.csproj", "{69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}"
7 | EndProject
8 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BLL", "BLL\BLL.csproj", "{0F8D9DEA-D997-4A82-BD15-62F79B566215}"
9 | EndProject
10 | Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "UI", "http://localhost:16302", "{81F5CD6E-3951-4579-8964-29DC3722B9E7}"
11 | ProjectSection(WebsiteProperties) = preProject
12 | UseIISExpress = "true"
13 | TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5"
14 | ProjectReferences = "{c8f5275e-fd67-40d2-a1c3-0a85043768f7}|BOL.dll;{0f8d9dea-d997-4a82-bd15-62f79b566215}|BLL.dll;{69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}|DAL.dll;"
15 | Debug.AspNetCompiler.VirtualPath = "/localhost_16302"
16 | Debug.AspNetCompiler.PhysicalPath = "UI\"
17 | Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_16302\"
18 | Debug.AspNetCompiler.Updateable = "true"
19 | Debug.AspNetCompiler.ForceOverwrite = "true"
20 | Debug.AspNetCompiler.FixedNames = "false"
21 | Debug.AspNetCompiler.Debug = "True"
22 | Release.AspNetCompiler.VirtualPath = "/localhost_16302"
23 | Release.AspNetCompiler.PhysicalPath = "UI\"
24 | Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_16302\"
25 | Release.AspNetCompiler.Updateable = "true"
26 | Release.AspNetCompiler.ForceOverwrite = "true"
27 | Release.AspNetCompiler.FixedNames = "false"
28 | Release.AspNetCompiler.Debug = "False"
29 | SlnRelativePath = "UI\"
30 | DefaultWebSiteLanguage = "Visual C#"
31 | EndProjectSection
32 | EndProject
33 | Global
34 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
35 | Debug|Any CPU = Debug|Any CPU
36 | Release|Any CPU = Release|Any CPU
37 | EndGlobalSection
38 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
39 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
40 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
41 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
42 | {C8F5275E-FD67-40D2-A1C3-0A85043768F7}.Release|Any CPU.Build.0 = Release|Any CPU
43 | {69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
44 | {69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
45 | {69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
46 | {69B8B3E6-A3E5-472B-997E-A3ED7C2523CD}.Release|Any CPU.Build.0 = Release|Any CPU
47 | {0F8D9DEA-D997-4A82-BD15-62F79B566215}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
48 | {0F8D9DEA-D997-4A82-BD15-62F79B566215}.Debug|Any CPU.Build.0 = Debug|Any CPU
49 | {0F8D9DEA-D997-4A82-BD15-62F79B566215}.Release|Any CPU.ActiveCfg = Release|Any CPU
50 | {0F8D9DEA-D997-4A82-BD15-62F79B566215}.Release|Any CPU.Build.0 = Release|Any CPU
51 | {81F5CD6E-3951-4579-8964-29DC3722B9E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
52 | {81F5CD6E-3951-4579-8964-29DC3722B9E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
53 | {81F5CD6E-3951-4579-8964-29DC3722B9E7}.Release|Any CPU.ActiveCfg = Debug|Any CPU
54 | {81F5CD6E-3951-4579-8964-29DC3722B9E7}.Release|Any CPU.Build.0 = Debug|Any CPU
55 | EndGlobalSection
56 | GlobalSection(SolutionProperties) = preSolution
57 | HideSolutionNode = FALSE
58 | EndGlobalSection
59 | EndGlobal
60 |
--------------------------------------------------------------------------------
/UI/Admin/Workshop.aspx:
--------------------------------------------------------------------------------
1 | <%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="Workshop.aspx.cs" Inherits="Admin_Workshop" %>
2 |
3 |
4 |
9 |
10 |
11 |
12 |
13 | | Workshop Title: |
14 |
15 |
16 | |
17 |
18 |
19 | | Workshop Date: |
20 |
21 |
22 | |
23 |
24 |
25 | | Workshop Duration: |
26 |
27 |
28 | |
29 |
30 |
31 | | Workshop Topics: |
32 |
33 |
34 | |
35 |
36 |
37 | | Trainers: |
38 |
39 |
40 |
41 | |
42 |
43 |
44 | |
45 |
46 | |
47 |
48 |
49 |
50 | |
51 |
52 |
53 | |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 | |
68 |
69 |
70 |
71 | Trainers:
72 |
73 | |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/UI/Student/StudentMasterPage.master:
--------------------------------------------------------------------------------
1 | <%@ Master Language="C#" AutoEventWireup="true" CodeFile="StudentMasterPage.master.cs" Inherits="Student_StudentMasterPage" %>
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
20 |
21 |
22 |
79 |
80 |
81 |
--------------------------------------------------------------------------------
/UI/Admin/Workshop.aspx.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Web;
5 | using System.Web.UI;
6 | using System.Web.UI.WebControls;
7 | using BOL;
8 | using BLL;
9 |
10 | public partial class Admin_Workshop : System.Web.UI.Page
11 | {
12 | #region Events
13 | protected void Page_Load(object sender, EventArgs e)
14 | {
15 | try
16 | {
17 | if (!IsPostBack)
18 | {
19 | GetWorkShops();
20 | GetTrainers();
21 | }
22 | }
23 | catch (Exception Ex)
24 | {
25 | Response.Write(Ex.Message+"Kindly Contact Admin at 00-000-000000");
26 | }
27 | }
28 | protected void btnSave_Click(object sender, EventArgs e)
29 | {
30 | tbl_Workshop Wp = new tbl_Workshop();
31 | Wp.WorkShopTitle = txtWorkShopTitle.Text;
32 | Wp.WorkShopDate = DateTime.Parse(txtWorkShopDate.Text);
33 | Wp.WorkShopTopics = txtWorkShopTopics.Text;
34 | Wp.WorkShopDuration = txtWorkShopDuration.Text;
35 |
36 | List Ls = new List();
37 | foreach (ListItem item in ckbLTrainers.Items)
38 | {
39 | int TrainerId;
40 | if (item.Selected)
41 | {
42 | TrainerId = int.Parse(item.Value);
43 | Ls.Add(TrainerId);
44 | }
45 | }
46 |
47 | WorkshopBusiness WB = new WorkshopBusiness();
48 | WB.InsertWorkshop(Wp, Ls);
49 | GetWorkShops();
50 | }
51 | protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
52 | {
53 | int id = int.Parse(GridView1.SelectedValue.ToString());
54 | WorkshopBusiness WB = new WorkshopBusiness();
55 | tbl_Workshop Wp = WB.GetWorkshopById(id);
56 | txtWorkShopTitle.Text = Wp.WorkShopTitle;
57 | txtWorkShopDate.Text = Wp.WorkShopDate.ToString();
58 | txtWorkShopDuration.Text = Wp.WorkShopDuration;
59 | txtWorkShopTopics.Text = Wp.WorkShopTopics;
60 | ckbLTrainers.ClearSelection();
61 | }
62 | protected void btnUpdate_Click(object sender, EventArgs e)
63 | {
64 | tbl_Workshop Wp = new tbl_Workshop();
65 | Wp.WorkShopTitle = txtWorkShopTitle.Text;
66 | Wp.WorkShopDate = DateTime.Parse(txtWorkShopDate.Text);
67 | Wp.WorkShopTopics = txtWorkShopTopics.Text;
68 | Wp.WorkShopDuration = txtWorkShopDuration.Text;
69 |
70 | WorkshopBusiness WB = new WorkshopBusiness();
71 | int id = int.Parse(GridView1.SelectedValue.ToString());
72 | WB.UpdateWorkshopById(Wp, id);
73 |
74 | GetWorkShops();
75 | }
76 | protected void btnDelete_Click(object sender, EventArgs e)
77 | {
78 |
79 | WorkshopBusiness WB = new WorkshopBusiness();
80 | int id = int.Parse(GridView1.SelectedValue.ToString());
81 | WB.DeleteWorkshopById(id);
82 | GetWorkShops();
83 | }
84 | protected void btnAssign_Click(object sender, EventArgs e)
85 | {
86 | List Ls = new List();
87 |
88 | int WorkShopId = int.Parse(GridView1.SelectedValue.ToString());
89 |
90 | foreach (ListItem item in ckbLTrainers.Items)
91 | {
92 | if (item.Selected)
93 | {
94 | int TrainerId = int.Parse(item.Value);
95 | tbl_Trainer_WorkShop_Mapping twm = new tbl_Trainer_WorkShop_Mapping();
96 | twm.WorkShopId = WorkShopId;
97 | twm.TrainerId = TrainerId;
98 | Ls.Add(twm);
99 | }
100 | }
101 |
102 | if (Ls.Count() > 0)
103 | {
104 | WorkshopBusiness WB = new WorkshopBusiness();
105 | WB.AssignTrainersToWorkShop(Ls);
106 | }
107 | }
108 | #endregion
109 |
110 | #region PrivateMethods
111 | private void GetTrainers()
112 | {
113 | UserBusiness UB = new UserBusiness();
114 | List Ls = UB.GetTrainers();
115 |
116 | ckbLTrainers.DataSource = Ls;
117 | ckbLTrainers.DataTextField = "FirstName";
118 | ckbLTrainers.DataValueField = "UserId";
119 | ckbLTrainers.DataBind();
120 | }
121 | private void GetWorkShops()
122 | {
123 | WorkshopBusiness WB = new WorkshopBusiness();
124 | List Ls = WB.GetWorkshops();
125 | GridView1.DataSource = Ls;
126 | GridView1.DataBind();
127 | }
128 | #endregion
129 |
130 | }
--------------------------------------------------------------------------------
/EF/EF.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {59DE6D33-2D2C-4879-A912-990D295E1F9E}
8 | Library
9 | Properties
10 | EF
11 | EF
12 | v4.5
13 | 512
14 |
15 |
16 | true
17 | full
18 | false
19 | bin\Debug\
20 | DEBUG;TRACE
21 | prompt
22 | 4
23 |
24 |
25 | pdbonly
26 | true
27 | bin\Release\
28 | TRACE
29 | prompt
30 | 4
31 |
32 |
33 |
34 | ..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | True
52 | True
53 | Model1.Context.tt
54 |
55 |
56 | True
57 | True
58 | Model1.tt
59 |
60 |
61 | True
62 | True
63 | Model1.edmx
64 |
65 |
66 |
67 | Model1.tt
68 |
69 |
70 | Model1.tt
71 |
72 |
73 | Model1.tt
74 |
75 |
76 | Model1.tt
77 |
78 |
79 | Model1.tt
80 |
81 |
82 | Model1.tt
83 |
84 |
85 |
86 |
87 | EntityModelCodeGenerator
88 | Model1.Designer.cs
89 |
90 |
91 |
92 |
93 |
94 | TextTemplatingFileGenerator
95 | Model1.edmx
96 | Model1.Context.cs
97 |
98 |
99 | Model1.edmx
100 |
101 |
102 | TextTemplatingFileGenerator
103 | Model1.edmx
104 | Model1.cs
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
119 |
--------------------------------------------------------------------------------
/DAL/UserDb.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using BOL;
7 | using System.Data.SqlClient;
8 |
9 | namespace DAL
10 | {
11 | public class UserDb : DALBase
12 | {
13 | public List GetTrainers()
14 | {
15 | try
16 | {
17 | List Ls;
18 | Ls = new List();
19 | string cmdStr = @"SELECT tbl_User.UserId, tbl_User.FirstName,tbl_User.LastName
20 | FROM tbl_User INNER JOIN
21 | tbl_Role ON tbl_User.RoleId = tbl_Role.RoleId
22 | WHERE (tbl_Role.RoleName = 'Trainer')";
23 | SqlConnection con = new SqlConnection(conStr);
24 | SqlCommand cmd = new SqlCommand(cmdStr, con);
25 | con.Open();
26 | SqlDataReader dr = cmd.ExecuteReader();
27 | while (dr.Read())
28 | {
29 | tbl_User Tr = new tbl_User();
30 | Tr.UserId = int.Parse(dr["UserId"].ToString());
31 | Tr.FirstName = dr["FirstName"].ToString();
32 | Tr.LastName = dr["LastName"].ToString();
33 | Ls.Add(Tr);
34 | }
35 | dr.Close();
36 | con.Close();
37 | return Ls;
38 | }
39 | catch
40 | {
41 | throw;
42 | }
43 |
44 | }
45 |
46 | public bool CreateUserRequest(tbl_User U, int WorkShopId)
47 | {
48 | SqlConnection con = new SqlConnection(conStr);
49 | con.Open();
50 | SqlTransaction SqTrans = con.BeginTransaction();
51 | string cmdStr = @"insert into tbl_User (UserName_Email,RoleId) values(@UserName_Email,3);
52 | select Scope_Identity() as Id";
53 | string cmdStr2 = "insert into tbl_Student_WorkShop_Mapping values(@StudentId,@WorkShopId,NULL) ";
54 | try
55 | {
56 | //Inserting Workshop
57 | SqlCommand cmd = new SqlCommand(cmdStr, con, SqTrans);
58 | cmd.Parameters.AddWithValue("@UserName_Email", U.UserName_Email);
59 | SqlDataReader dr = cmd.ExecuteReader();
60 |
61 | //Reading StudentId returned from Scope_Identity
62 | int StudentId = 0;
63 | if (dr.Read())
64 | {
65 | StudentId = int.Parse(dr[0].ToString());
66 | }
67 | dr.Close();
68 |
69 | //Inserting record in tbl_Student_Workshop_Mapping
70 | //with retrived StudentId from Scope_Identity
71 | SqlCommand cmd2 = new SqlCommand(cmdStr2, con, SqTrans);
72 | cmd2.Parameters.AddWithValue("@StudentId", StudentId);
73 | cmd2.Parameters.AddWithValue("@WorkshopId", WorkShopId);
74 | cmd2.ExecuteNonQuery();
75 |
76 | //If Every thing is successful then commiting the transaction
77 | SqTrans.Commit();
78 | con.Close();
79 | return true;
80 | }
81 | catch
82 | {
83 | SqTrans.Rollback();
84 | return false;
85 | }
86 | }
87 |
88 | public bool ValidateUser(tbl_User U)
89 | {
90 | string cmdStr = @"SELECT * FROM tbl_User
91 | WHERE (UserName_Email=@UserName_Email and Password=@Password)";
92 | SqlConnection con = new SqlConnection(conStr);
93 | SqlCommand cmd = new SqlCommand(cmdStr, con);
94 | cmd.Parameters.AddWithValue("@UserName_Email", U.UserName_Email);
95 | cmd.Parameters.AddWithValue("@Password", U.Password);
96 | con.Open();
97 | SqlDataReader dr = cmd.ExecuteReader();
98 | if (dr.Read())
99 | {
100 | U.UserId = int.Parse(dr["UserId"].ToString());
101 | U.UserName_Email = dr["UserName_Email"].ToString();
102 | U.RoleId = int.Parse(dr["RoleId"].ToString());
103 | }
104 |
105 | dr.Close();
106 | con.Close();
107 | if (U.UserId != 0)
108 | return true;
109 | else
110 | return false;
111 | }
112 |
113 | public bool CreateTrainer(tbl_User U)
114 | {
115 | string cmdStr = @"insert into tbl_User (UserName_Email,FirstName,LastName,RoleId)
116 | values (@UserName_Email,@FirstName,@LastName,@RoleId)";
117 | SqlConnection con = new SqlConnection(conStr);
118 | SqlCommand cmd = new SqlCommand(cmdStr, con);
119 | cmd.Parameters.AddWithValue("@UserName_Email", U.UserName_Email);
120 | cmd.Parameters.AddWithValue("@FirstName", U.FirstName);
121 | cmd.Parameters.AddWithValue("@LastName", U.LastName);
122 | cmd.Parameters.AddWithValue("@RoleId", U.RoleId);
123 | con.Open();
124 | cmd.ExecuteNonQuery();
125 | con.Close();
126 | return true;
127 | }
128 |
129 | public List GetStudents()
130 | {
131 | try
132 | {
133 | List Ls;
134 | Ls = new List();
135 | string cmdStr = @"SELECT *
136 | FROM tbl_User INNER JOIN
137 | tbl_Role ON tbl_User.RoleId = tbl_Role.RoleId
138 | WHERE (tbl_Role.RoleName = 'Student')";
139 | SqlConnection con = new SqlConnection(conStr);
140 | SqlCommand cmd = new SqlCommand(cmdStr, con);
141 | con.Open();
142 | SqlDataReader dr = cmd.ExecuteReader();
143 | while (dr.Read())
144 | {
145 | tbl_User Tr = new tbl_User();
146 | Tr.UserId = int.Parse(dr["UserId"].ToString());
147 | Tr.FirstName = dr["FirstName"].ToString();
148 | Tr.LastName = dr["LastName"].ToString();
149 | Tr.UserName_Email = dr["UserName_Email"].ToString();
150 | Ls.Add(Tr);
151 | }
152 | dr.Close();
153 | con.Close();
154 | return Ls;
155 | }
156 | catch
157 | {
158 | throw;
159 | }
160 | }
161 | }
162 | }
163 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 | ##
4 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
5 |
6 | # User-specific files
7 | *.rsuser
8 | *.suo
9 | *.user
10 | *.userosscache
11 | *.sln.docstates
12 |
13 | # User-specific files (MonoDevelop/Xamarin Studio)
14 | *.userprefs
15 |
16 | # Mono auto generated files
17 | mono_crash.*
18 |
19 | # Build results
20 | [Dd]ebug/
21 | [Dd]ebugPublic/
22 | [Rr]elease/
23 | [Rr]eleases/
24 | x64/
25 | x86/
26 | [Ww][Ii][Nn]32/
27 | [Aa][Rr][Mm]/
28 | [Aa][Rr][Mm]64/
29 | bld/
30 | [Bb]in/
31 | [Oo]bj/
32 | [Oo]ut/
33 | [Ll]og/
34 | [Ll]ogs/
35 |
36 | # Visual Studio 2015/2017 cache/options directory
37 | .vs/
38 | # Uncomment if you have tasks that create the project's static files in wwwroot
39 | #wwwroot/
40 |
41 | # Visual Studio 2017 auto generated files
42 | Generated\ Files/
43 |
44 | # MSTest test Results
45 | [Tt]est[Rr]esult*/
46 | [Bb]uild[Ll]og.*
47 |
48 | # NUnit
49 | *.VisualState.xml
50 | TestResult.xml
51 | nunit-*.xml
52 |
53 | # Build Results of an ATL Project
54 | [Dd]ebugPS/
55 | [Rr]eleasePS/
56 | dlldata.c
57 |
58 | # Benchmark Results
59 | BenchmarkDotNet.Artifacts/
60 |
61 | # .NET Core
62 | project.lock.json
63 | project.fragment.lock.json
64 | artifacts/
65 |
66 | # ASP.NET Scaffolding
67 | ScaffoldingReadMe.txt
68 |
69 | # StyleCop
70 | StyleCopReport.xml
71 |
72 | # Files built by Visual Studio
73 | *_i.c
74 | *_p.c
75 | *_h.h
76 | *.ilk
77 | *.meta
78 | *.obj
79 | *.iobj
80 | *.pch
81 | *.pdb
82 | *.ipdb
83 | *.pgc
84 | *.pgd
85 | *.rsp
86 | *.sbr
87 | *.tlb
88 | *.tli
89 | *.tlh
90 | *.tmp
91 | *.tmp_proj
92 | *_wpftmp.csproj
93 | *.log
94 | *.vspscc
95 | *.vssscc
96 | .builds
97 | *.pidb
98 | *.svclog
99 | *.scc
100 |
101 | # Chutzpah Test files
102 | _Chutzpah*
103 |
104 | # Visual C++ cache files
105 | ipch/
106 | *.aps
107 | *.ncb
108 | *.opendb
109 | *.opensdf
110 | *.sdf
111 | *.cachefile
112 | *.VC.db
113 | *.VC.VC.opendb
114 |
115 | # Visual Studio profiler
116 | *.psess
117 | *.vsp
118 | *.vspx
119 | *.sap
120 |
121 | # Visual Studio Trace Files
122 | *.e2e
123 |
124 | # TFS 2012 Local Workspace
125 | $tf/
126 |
127 | # Guidance Automation Toolkit
128 | *.gpState
129 |
130 | # ReSharper is a .NET coding add-in
131 | _ReSharper*/
132 | *.[Rr]e[Ss]harper
133 | *.DotSettings.user
134 |
135 | # TeamCity is a build add-in
136 | _TeamCity*
137 |
138 | # DotCover is a Code Coverage Tool
139 | *.dotCover
140 |
141 | # AxoCover is a Code Coverage Tool
142 | .axoCover/*
143 | !.axoCover/settings.json
144 |
145 | # Coverlet is a free, cross platform Code Coverage Tool
146 | coverage*.json
147 | coverage*.xml
148 | coverage*.info
149 |
150 | # Visual Studio code coverage results
151 | *.coverage
152 | *.coveragexml
153 |
154 | # NCrunch
155 | _NCrunch_*
156 | .*crunch*.local.xml
157 | nCrunchTemp_*
158 |
159 | # MightyMoose
160 | *.mm.*
161 | AutoTest.Net/
162 |
163 | # Web workbench (sass)
164 | .sass-cache/
165 |
166 | # Installshield output folder
167 | [Ee]xpress/
168 |
169 | # DocProject is a documentation generator add-in
170 | DocProject/buildhelp/
171 | DocProject/Help/*.HxT
172 | DocProject/Help/*.HxC
173 | DocProject/Help/*.hhc
174 | DocProject/Help/*.hhk
175 | DocProject/Help/*.hhp
176 | DocProject/Help/Html2
177 | DocProject/Help/html
178 |
179 | # Click-Once directory
180 | publish/
181 |
182 | # Publish Web Output
183 | *.[Pp]ublish.xml
184 | *.azurePubxml
185 | # Note: Comment the next line if you want to checkin your web deploy settings,
186 | # but database connection strings (with potential passwords) will be unencrypted
187 | *.pubxml
188 | *.publishproj
189 |
190 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
191 | # checkin your Azure Web App publish settings, but sensitive information contained
192 | # in these scripts will be unencrypted
193 | PublishScripts/
194 |
195 | # NuGet Packages
196 | *.nupkg
197 | # NuGet Symbol Packages
198 | *.snupkg
199 | # The packages folder can be ignored because of Package Restore
200 | **/[Pp]ackages/*
201 | # except build/, which is used as an MSBuild target.
202 | !**/[Pp]ackages/build/
203 | # Uncomment if necessary however generally it will be regenerated when needed
204 | #!**/[Pp]ackages/repositories.config
205 | # NuGet v3's project.json files produces more ignorable files
206 | *.nuget.props
207 | *.nuget.targets
208 |
209 | # Microsoft Azure Build Output
210 | csx/
211 | *.build.csdef
212 |
213 | # Microsoft Azure Emulator
214 | ecf/
215 | rcf/
216 |
217 | # Windows Store app package directories and files
218 | AppPackages/
219 | BundleArtifacts/
220 | Package.StoreAssociation.xml
221 | _pkginfo.txt
222 | *.appx
223 | *.appxbundle
224 | *.appxupload
225 |
226 | # Visual Studio cache files
227 | # files ending in .cache can be ignored
228 | *.[Cc]ache
229 | # but keep track of directories ending in .cache
230 | !?*.[Cc]ache/
231 |
232 | # Others
233 | ClientBin/
234 | ~$*
235 | *~
236 | *.dbmdl
237 | *.dbproj.schemaview
238 | *.jfm
239 | *.pfx
240 | *.publishsettings
241 | orleans.codegen.cs
242 |
243 | # Including strong name files can present a security risk
244 | # (https://github.com/github/gitignore/pull/2483#issue-259490424)
245 | #*.snk
246 |
247 | # Since there are multiple workflows, uncomment next line to ignore bower_components
248 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
249 | #bower_components/
250 |
251 | # RIA/Silverlight projects
252 | Generated_Code/
253 |
254 | # Backup & report files from converting an old project file
255 | # to a newer Visual Studio version. Backup files are not needed,
256 | # because we have git ;-)
257 | _UpgradeReport_Files/
258 | Backup*/
259 | UpgradeLog*.XML
260 | UpgradeLog*.htm
261 | ServiceFabricBackup/
262 | *.rptproj.bak
263 |
264 | # SQL Server files
265 | *.mdf
266 | *.ldf
267 | *.ndf
268 |
269 | # Business Intelligence projects
270 | *.rdl.data
271 | *.bim.layout
272 | *.bim_*.settings
273 | *.rptproj.rsuser
274 | *- [Bb]ackup.rdl
275 | *- [Bb]ackup ([0-9]).rdl
276 | *- [Bb]ackup ([0-9][0-9]).rdl
277 |
278 | # Microsoft Fakes
279 | FakesAssemblies/
280 |
281 | # GhostDoc plugin setting file
282 | *.GhostDoc.xml
283 |
284 | # Node.js Tools for Visual Studio
285 | .ntvs_analysis.dat
286 | node_modules/
287 |
288 | # Visual Studio 6 build log
289 | *.plg
290 |
291 | # Visual Studio 6 workspace options file
292 | *.opt
293 |
294 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
295 | *.vbw
296 |
297 | # Visual Studio LightSwitch build output
298 | **/*.HTMLClient/GeneratedArtifacts
299 | **/*.DesktopClient/GeneratedArtifacts
300 | **/*.DesktopClient/ModelManifest.xml
301 | **/*.Server/GeneratedArtifacts
302 | **/*.Server/ModelManifest.xml
303 | _Pvt_Extensions
304 |
305 | # Paket dependency manager
306 | .paket/paket.exe
307 | paket-files/
308 |
309 | # FAKE - F# Make
310 | .fake/
311 |
312 | # CodeRush personal settings
313 | .cr/personal
314 |
315 | # Python Tools for Visual Studio (PTVS)
316 | __pycache__/
317 | *.pyc
318 |
319 | # Cake - Uncomment if you are using it
320 | # tools/**
321 | # !tools/packages.config
322 |
323 | # Tabs Studio
324 | *.tss
325 |
326 | # Telerik's JustMock configuration file
327 | *.jmconfig
328 |
329 | # BizTalk build output
330 | *.btp.cs
331 | *.btm.cs
332 | *.odx.cs
333 | *.xsd.cs
334 |
335 | # OpenCover UI analysis results
336 | OpenCover/
337 |
338 | # Azure Stream Analytics local run output
339 | ASALocalRun/
340 |
341 | # MSBuild Binary and Structured Log
342 | *.binlog
343 |
344 | # NVidia Nsight GPU debugger configuration file
345 | *.nvuser
346 |
347 | # MFractors (Xamarin productivity tool) working folder
348 | .mfractor/
349 |
350 | # Local History for Visual Studio
351 | .localhistory/
352 |
353 | # BeatPulse healthcheck temp database
354 | healthchecksdb
355 |
356 | # Backup folder for Package Reference Convert tool in Visual Studio 2017
357 | MigrationBackup/
358 |
359 | # Ionide (cross platform F# VS Code tools) working folder
360 | .ionide/
361 |
362 | # Fody - auto-generated XML schema
363 | FodyWeavers.xsd
--------------------------------------------------------------------------------
/DAL/WorkShopDb.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 | using BOL;
7 | using System.Data;
8 | using System.Data.SqlClient;
9 |
10 | namespace DAL
11 | {
12 | public class WorkShopDb:DALBase
13 | {
14 | #region Get
15 | public List GetWorkshops()
16 | {
17 | List Ls;
18 | Ls = new List();
19 |
20 | string cmdStr = "select * from tbl_WorkShop";
21 | SqlConnection con = new SqlConnection(conStr);
22 | SqlCommand cmd = new SqlCommand(cmdStr, con);
23 | con.Open();
24 | SqlDataReader dr = cmd.ExecuteReader();
25 | while (dr.Read())
26 | {
27 | tbl_Workshop Wp = new tbl_Workshop();
28 | Wp.WorkShopId = int.Parse(dr["WorkShopId"].ToString());
29 | Wp.WorkShopTitle = dr["WorkShopTitle"].ToString();
30 | Wp.WorkShopDate = DateTime.Parse(dr["WorkShopDate"].ToString());
31 | Wp.WorkShopDuration = dr["WorkShopDuration"].ToString();
32 | Wp.WorkShopTopics = dr["WorkShopTopics"].ToString();
33 |
34 | Ls.Add(Wp);
35 | }
36 | dr.Close();
37 | con.Close();
38 | return Ls;
39 |
40 | }
41 | public List GetWorkshopRequest()
42 | {
43 | List Ls;
44 | Ls = new List();
45 |
46 | string cmdStr = @"SELECT tbl_User.UserId, tbl_User.UserName_Email,tbl_WorkShop.WorkShopId,
47 | tbl_WorkShop.WorkShopTitle, tbl_Student_WorkShop_Mapping.IsApproved
48 | FROM tbl_Student_WorkShop_Mapping Left outer JOIN
49 | tbl_User ON tbl_User.UserId = tbl_Student_WorkShop_Mapping.StudentId Left outer JOIN
50 | tbl_WorkShop ON tbl_Student_WorkShop_Mapping.WorkShopId = tbl_WorkShop.WorkShopId ";
51 | SqlConnection con = new SqlConnection(conStr);
52 | SqlCommand cmd = new SqlCommand(cmdStr, con);
53 | con.Open();
54 | SqlDataReader dr = cmd.ExecuteReader();
55 | while (dr.Read())
56 | {
57 | WorkShopRequest Wp = new WorkShopRequest();
58 | Wp.UserId = int.Parse(dr["UserId"].ToString());
59 | Wp.UserName_Email = dr["UserName_Email"].ToString();
60 | Wp.WorkShopId = int.Parse(dr["WorkShopId"].ToString());
61 | Wp.WorkShopTitle = dr["WorkShopTitle"].ToString();
62 | Wp.IsApproved = (dr["IsApproved"].ToString() == "") ? false : bool.Parse(dr["IsApproved"].ToString());
63 | Ls.Add(Wp);
64 | }
65 | dr.Close();
66 | con.Close();
67 | return Ls;
68 |
69 | }
70 | public tbl_Workshop GetWorkshopById(int WorkShopId)
71 | {
72 | tbl_Workshop Wp = null;
73 | string cmdStr = "select * from tbl_WorkShop where WorkShopId=@WorkShopId";
74 | SqlConnection con = new SqlConnection(conStr);
75 | SqlCommand cmd = new SqlCommand(cmdStr, con);
76 | cmd.Parameters.AddWithValue("@WorkShopId", WorkShopId);
77 | con.Open();
78 | SqlDataReader dr = cmd.ExecuteReader();
79 | if (dr.Read())
80 | {
81 | Wp = new tbl_Workshop();
82 | Wp.WorkShopId = int.Parse(dr["WorkShopId"].ToString());
83 | Wp.WorkShopTitle = dr["WorkShopTitle"].ToString();
84 | Wp.WorkShopDate = DateTime.Parse(dr["WorkShopDate"].ToString());
85 | Wp.WorkShopDuration = dr["WorkShopDuration"].ToString();
86 | Wp.WorkShopTopics = dr["WorkShopTopics"].ToString();
87 | }
88 | dr.Close();
89 | con.Close();
90 | return Wp;
91 |
92 | }
93 | #endregion
94 |
95 | #region Post
96 |
97 | #region Insert
98 | public bool InsertWorkshop(tbl_Workshop Wp, List Ls)
99 | {
100 |
101 | SqlConnection con = new SqlConnection(conStr);
102 |
103 | string cmdStr = @"insert into tbl_WorkShop values(@WorkShopTitle,@WorkShopDate,@WorkShopDuration
104 | ,@WorkshopTopics,null,null,null,null) ;select Scope_Identity() as Id";
105 | string cmdStr2 = "insert into tbl_Trainer_WorkShop_Mapping values(@TrainerId,@WorkShopId,null,null,null,null) ";
106 |
107 | con.Open();
108 | SqlTransaction SqTrans = con.BeginTransaction();
109 | try
110 | {
111 | //Inserting Workshop
112 | SqlCommand cmd = new SqlCommand(cmdStr, con, SqTrans);
113 | cmd.Parameters.AddWithValue("@WorkShopTitle", Wp.WorkShopTitle);
114 | cmd.Parameters.AddWithValue("@WorkShopDate", Wp.WorkShopDate);
115 | cmd.Parameters.AddWithValue("@WorkShopDuration", Wp.WorkShopDuration);
116 | cmd.Parameters.AddWithValue("@WorkshopTopics", Wp.WorkShopTopics);
117 | SqlDataReader dr = cmd.ExecuteReader();
118 |
119 | //Reading WorkshopId returned from Scope_Identity
120 | int WorkShopId = 0;
121 | if (dr.Read())
122 | {
123 | WorkShopId = int.Parse(dr[0].ToString());
124 | }
125 | dr.Close();
126 |
127 | //Inserting multiple records in tbl_Trainer_Workshop_Mapping
128 | //with retrived WorkshopId from Scope_Identity
129 | //And TrainerIds from Ls
130 | if (WorkShopId != 0)
131 | {
132 | foreach (var TrainerId in Ls)
133 | {
134 | SqlCommand cmd2 = new SqlCommand(cmdStr2, con, SqTrans);
135 | cmd2.Parameters.AddWithValue("@TrainerId", TrainerId);
136 | cmd2.Parameters.AddWithValue("@WorkshopId", WorkShopId);
137 | cmd2.ExecuteNonQuery();
138 | }
139 | }
140 |
141 | //If Every thing is successful then commiting the transaction
142 | SqTrans.Commit();
143 | con.Close();
144 | return true;
145 | }
146 | catch
147 | {
148 | //If any thing goes wrong then Rolling back the transaction
149 | SqTrans.Rollback();
150 | return false;
151 | }
152 | }
153 | public bool AssignTrainersToWorkShop(List Ls)
154 | {
155 | SqlConnection con = new SqlConnection(conStr);
156 | con.Open();
157 | SqlTransaction SqTrans = con.BeginTransaction();
158 | try
159 | {
160 | foreach (var item in Ls)
161 | {
162 | string cmdStr = "insert into tbl_Trainer_WorkShop_Mapping values(@TrainerId,@WorkShopId,null,null,null,null) ";
163 | SqlCommand cmd = new SqlCommand(cmdStr, con, SqTrans);
164 | cmd.Parameters.AddWithValue("@TrainerId", item.TrainerId);
165 | cmd.Parameters.AddWithValue("@WorkshopId", item.WorkShopId);
166 | cmd.ExecuteNonQuery();
167 | }
168 | SqTrans.Commit();
169 | con.Close();
170 | return true;
171 | }
172 | catch
173 | {
174 | SqTrans.Rollback();
175 | return false;
176 | }
177 | }
178 | #endregion
179 |
180 | #region Update
181 | public bool UpdateWorkshopById(tbl_Workshop Wp, int WorkShopId)
182 | {
183 | try
184 | {
185 | string cmdStr = @"Update tbl_WorkShop
186 | Set WorkShopTitle=@WorkShopTitle,WorkShopDate=@WorkShopDate,
187 | WorkShopDuration=@WorkShopDuration,WorkshopTopics=@WorkshopTopics
188 | where WorkShopId=@WorkShopId";
189 | SqlConnection con = new SqlConnection(conStr);
190 | SqlCommand cmd = new SqlCommand(cmdStr, con);
191 | cmd.Parameters.AddWithValue("@WorkShopTitle", Wp.WorkShopTitle);
192 | cmd.Parameters.AddWithValue("@WorkShopDate", Wp.WorkShopDate);
193 | cmd.Parameters.AddWithValue("@WorkShopDuration", Wp.WorkShopDuration);
194 | cmd.Parameters.AddWithValue("@WorkshopTopics", Wp.WorkShopTopics);
195 | cmd.Parameters.AddWithValue("@WorkShopId", WorkShopId);
196 | con.Open();
197 | cmd.ExecuteNonQuery();
198 | con.Close();
199 | return true;
200 | }
201 | catch
202 | {
203 | return false;
204 | }
205 | }
206 |
207 | public bool AppOrRejectWorkshopRequest(tbl_Student_WorkShop_Mapping swp)
208 | {
209 | try
210 | {
211 | string cmdStr = @"Update tbl_Student_WorkShop_Mapping
212 | Set IsApproved=@IsApproved
213 | where WorkShopId=@WorkShopId and StudentId=@StudentId";
214 | SqlConnection con = new SqlConnection(conStr);
215 | SqlCommand cmd = new SqlCommand(cmdStr, con);
216 | cmd.Parameters.AddWithValue("@IsApproved", swp.IsApproved == true ? 1 : 0);
217 | cmd.Parameters.AddWithValue("@WorkShopId", swp.WorkShopId);
218 | cmd.Parameters.AddWithValue("@StudentId", swp.StudentId);
219 | con.Open();
220 | cmd.ExecuteNonQuery();
221 | con.Close();
222 | return true;
223 | }
224 | catch
225 | {
226 | return false;
227 | }
228 | }
229 | #endregion
230 |
231 | #region Delete
232 | public bool DeleteWorkshopById(int WorkShopId)
233 | {
234 | try
235 | {
236 | string cmdStr = @"Delete from tbl_WorkShop where WorkShopId=@WorkShopId";
237 | SqlConnection con = new SqlConnection(conStr);
238 | SqlCommand cmd = new SqlCommand(cmdStr, con);
239 | cmd.Parameters.AddWithValue("@WorkShopId", WorkShopId);
240 | con.Open();
241 | cmd.ExecuteNonQuery();
242 | con.Close();
243 | return true;
244 | }
245 | catch
246 | {
247 | return false;
248 | }
249 | }
250 | #endregion
251 |
252 | #endregion
253 | }
254 | }
255 |
--------------------------------------------------------------------------------
/UI/Admin/default.css:
--------------------------------------------------------------------------------
1 | html, body
2 | {
3 | height: 100%;
4 | }
5 |
6 | body
7 | {
8 | margin: 0px;
9 | padding: 0px;
10 | background: #333333;
11 | font-family: 'Source Sans Pro', sans-serif;
12 | font-size: 12pt;
13 | font-weight: 300;
14 | color: #000000;
15 | }
16 |
17 |
18 | h1, h2, h3
19 | {
20 | margin: 0;
21 | padding: 0;
22 | }
23 |
24 | p, ol, ul
25 | {
26 | margin-top: 0;
27 | }
28 |
29 | ol, ul
30 | {
31 | padding: 0;
32 | list-style: none;
33 | }
34 |
35 | p
36 | {
37 | line-height: 180%;
38 | }
39 |
40 | strong
41 | {
42 | }
43 |
44 | a
45 | {
46 | color: #ff3e37;
47 | }
48 |
49 | a:hover
50 | {
51 | text-decoration: none;
52 | }
53 |
54 |
55 | .container
56 | {
57 | margin: 0px auto;
58 | width: 1000px;
59 | }
60 |
61 |
62 | /*********************************************************************************/
63 | /* Form Style */
64 | /*********************************************************************************/
65 |
66 | form
67 | {
68 | }
69 |
70 | form label
71 | {
72 | display: block;
73 | text-align: left;
74 | margin-bottom: 0.5em;
75 | }
76 |
77 | form .submit
78 | {
79 | margin-top: 2em;
80 | background: #e97874;
81 | line-height: 1.5em;
82 | font-size: 1.3em;
83 | }
84 |
85 | form input.text,
86 | form textarea
87 | {
88 | border-style: none;
89 | border-color: inherit;
90 | border-width: 0;
91 | position: relative;
92 | -webkit-appearance: none;
93 | display: block;
94 | background: #fff;
95 | background: #fff;
96 | width: 100%;
97 | border-radius: 0.50em;
98 | margin: 1em 0em;
99 | padding: 1.50em 1em;
100 | box-shadow: inset 0 0.1em 0.1em 0 rgba(0,0,0,0.05);
101 | -moz-transition: all 0.35s ease-in-out;
102 | -webkit-transition: all 0.35s ease-in-out;
103 | -o-transition: all 0.35s ease-in-out;
104 | -ms-transition: all 0.35s ease-in-out;
105 | transition: all 0.35s ease-in-out;
106 | font-family: 'Source Sans Pro', sans-serif;
107 | font-size: 1em;
108 | outline: none;
109 | top: 6px;
110 | left: 0px;
111 | height: 16px;
112 | }
113 |
114 | form input.text:hover,
115 | form textarea:hover
116 | {
117 | }
118 |
119 | form input.text:focus,
120 | form textarea:focus
121 | {
122 | box-shadow: 0 0 2px 1px #E0E0E0;
123 | background: #fff;
124 | }
125 |
126 | form textarea
127 | {
128 | min-height: 12em;
129 | }
130 |
131 | form .formerize-placeholder
132 | {
133 | color: #555 !important;
134 | }
135 |
136 | form ::-webkit-input-placeholder
137 | {
138 | color: #555 !important;
139 | }
140 |
141 | form :-moz-placeholder
142 | {
143 | color: #555 !important;
144 | }
145 |
146 | form ::-moz-placeholder
147 | {
148 | color: #555 !important;
149 | }
150 |
151 | form :-ms-input-placeholder
152 | {
153 | color: #555 !important;
154 | }
155 |
156 | form ::-moz-focus-inner
157 | {
158 | border: 0;
159 | }
160 |
161 |
162 | /*********************************************************************************/
163 | /* Image Style */
164 | /*********************************************************************************/
165 |
166 | .image
167 | {
168 | display: inline-block;
169 | }
170 |
171 | .image img
172 | {
173 | display: block;
174 | width: 100%;
175 | }
176 |
177 | .image-full
178 | {
179 | display: block;
180 | width: 100%;
181 | margin: 0 0 3em 0;
182 | }
183 |
184 | .image-left
185 | {
186 | float: left;
187 | margin: 0 2em 2em 0;
188 | }
189 |
190 | .image-centered
191 | {
192 | display: block;
193 | margin: 0 0 2em 0;
194 | }
195 |
196 | .image-centered img
197 | {
198 | margin: 0 auto;
199 | width: auto;
200 | }
201 |
202 | /*********************************************************************************/
203 | /* List Styles */
204 | /*********************************************************************************/
205 |
206 | ul.style1
207 | {
208 | margin: 0;
209 | padding: 0em 0em 0em 0em;
210 | overflow: hidden;
211 | list-style: none;
212 | color: #6c6c6c
213 | }
214 |
215 | ul.style1 li
216 | {
217 | overflow: hidden;
218 | display: block;
219 | padding: 2.80em 0em;
220 | border-bottom: 1px solid;
221 | border-color: rgba(0,0,0,.1);
222 | }
223 |
224 | ul.style1 li:first-child
225 | {
226 | padding-top: 0;
227 | border-top: none;
228 | }
229 |
230 | ul.style1 .image-left
231 | {
232 | margin-bottom: 0;
233 | }
234 |
235 | ul.style1 h3
236 | {
237 | padding: 1.2em 0em 1em 0em;
238 | letter-spacing: 0.10em;
239 | text-transform: uppercase;
240 | font-size: 1.2em;
241 | font-weight: 300;
242 | color: #454445;
243 | }
244 |
245 | ul.style1 a
246 | {
247 | text-decoration: none;
248 | color: #525252;
249 | }
250 |
251 | ul.style1 a:hover
252 | {
253 | text-decoration: underline;
254 | color: #525252;
255 | }
256 |
257 | ul.style2
258 | {
259 | margin: 0;
260 | padding-top: 1em;
261 | list-style: none;
262 | }
263 |
264 | ul.style2 li
265 | {
266 | border-bottom: 1px solid;
267 | border-color: rgba(0,0,0,.1);
268 | padding: 0.80em 0;
269 | }
270 |
271 | ul.style2 li:first-child
272 | {
273 | border-top: none;
274 | padding-top: 0;
275 | }
276 |
277 | /*********************************************************************************/
278 | /* Social Icon Styles */
279 | /*********************************************************************************/
280 |
281 | ul.contact
282 | {
283 | margin: 0;
284 | padding: 2em 0em 0em 0em;
285 | list-style: none;
286 | }
287 |
288 | ul.contact li
289 | {
290 | display: inline-block;
291 | padding: 0em 0.30em;
292 | font-size: 1.5em;
293 | }
294 |
295 | ul.contact li span
296 | {
297 | display: none;
298 | margin: 0;
299 | padding: 0;
300 | }
301 |
302 | ul.contact li a
303 | {
304 | color: #FFF;
305 | }
306 |
307 | ul.contact li a:before
308 | {
309 | display: inline-block;
310 | background: #333333;
311 | width: 80px;
312 | height: 80px;
313 | line-height: 80px;
314 | border-radius: 40px;
315 | text-align: center;
316 | color: #FFFFFF;
317 | }
318 |
319 |
320 | /*********************************************************************************/
321 | /* Button Style */
322 | /*********************************************************************************/
323 |
324 | .button
325 | {
326 | display: inline-block;
327 | margin-top: 2em;
328 | padding: 1em 2em 1em 2em;
329 | background: #8DCB89;
330 | letter-spacing: 0.20em;
331 | line-height: 1.8em;
332 | text-decoration: none;
333 | text-transform: uppercase;
334 | font-weight: 400;
335 | font-size: 1.2em;
336 | color: #FFF;
337 | }
338 |
339 | .button:before
340 | {
341 | display: inline-block;
342 | background: #8DCB89;
343 | margin-right: 1em;
344 | width: 40px;
345 | height: 40px;
346 | line-height: 40px;
347 | text-align: center;
348 | color: #272925;
349 | }
350 |
351 | .button-small
352 | {
353 | padding: 0.9em 2em;
354 | background: #8DCB89;
355 | line-height: 1.8em;
356 | font-size: 1em;
357 | }
358 |
359 | /*********************************************************************************/
360 | /* Heading Titles */
361 | /*********************************************************************************/
362 |
363 | .title
364 | {
365 | margin-bottom: 3em;
366 | }
367 |
368 | .title h2
369 | {
370 | font-size: 2.8em;
371 | color: rgba(255,255,255,0.9);
372 | }
373 |
374 | .title .byline
375 | {
376 | letter-spacing: 0.15em;
377 | text-transform: uppercase;
378 | font-weight: 400;
379 | font-size: 1.1em;
380 | color: #6F6F6F;
381 | }
382 |
383 | /*********************************************************************************/
384 | /* Header */
385 | /*********************************************************************************/
386 |
387 | #header-wrapper
388 | {
389 | overflow: hidden;
390 | padding: 5em 0em;
391 | background: #8DCB89 url(images/header.jpg) no-repeat center;
392 | }
393 |
394 | #header
395 | { height: 44px;
396 | }
397 |
398 | /*********************************************************************************/
399 | /* Logo */
400 | /*********************************************************************************/
401 |
402 | #logo
403 | {
404 | padding: 5em 0em;
405 | text-align: center;
406 | }
407 |
408 | #logo h1
409 | {
410 | display: inline-block;
411 | margin-bottom: 0.50em;
412 | padding: 0.20em 1em;
413 | background: #e97874;
414 | font-size: 3.5em;
415 | }
416 |
417 | #logo a
418 | {
419 | text-decoration: none;
420 | color: #FFF;
421 | }
422 |
423 | #logo span
424 | {
425 | display: block;
426 | letter-spacing: 0.10em;
427 | text-transform: uppercase;
428 | font-size: 0.90em;
429 | color: rgba(255,255,255,0.5);
430 | }
431 |
432 | #logo span a
433 | {
434 | color: rgba(255,255,255,0.8);
435 | }
436 |
437 |
438 |
439 | /*********************************************************************************/
440 | /* Menu */
441 | /*********************************************************************************/
442 |
443 | #menu
444 | {
445 | }
446 |
447 | #menu ul
448 | {
449 | text-align: center;
450 | }
451 |
452 | #menu li
453 | {
454 | display: inline-block;
455 | }
456 |
457 | #menu li a, #menu li span
458 | {
459 | display: inline-block;
460 | margin-left: 0.50em;
461 | padding: 1em 1.5em;
462 | letter-spacing: 0.20em;
463 | text-decoration: none;
464 | font-size: 0.90em;
465 | font-weight: 600;
466 | text-transform: uppercase;
467 | outline: 0;
468 | color: #FFF;
469 | }
470 |
471 | #menu li:hover a, #menu li.active a, #menu li.active span
472 | {
473 | }
474 |
475 | #menu .current_page_item a
476 | {
477 | background: #e97874;
478 | color: #FFF;
479 | }
480 |
481 |
482 | /*********************************************************************************/
483 | /* Banner */
484 | /*********************************************************************************/
485 |
486 | #banner
487 | {
488 | }
489 |
490 | /*********************************************************************************/
491 | /* Wrapper */
492 | /*********************************************************************************/
493 |
494 | #wrapper1
495 | {
496 | background: #242424;
497 | }
498 |
499 | #wrapper2
500 | {
501 | background: #EDEDED;
502 | }
503 |
504 | #wrapper3
505 | {
506 | overflow: hidden;
507 | background: #FFF;
508 | }
509 |
510 | #wrapper4
511 | {
512 | overflow: hidden;
513 | padding: 8em 0em;
514 | background: #E74E59;
515 | }
516 |
517 | /*********************************************************************************/
518 | /* Welcome */
519 | /*********************************************************************************/
520 |
521 | #welcome
522 | {
523 | overflow: hidden;
524 | padding: 4em 0em;
525 | text-align: center;
526 | color: rgba(255,255,255,0.3);
527 | }
528 |
529 | #welcome .content
530 | {
531 | padding: 0em 0em;
532 | }
533 |
534 |
535 |
536 | #welcome a,
537 | #welcome strong
538 | {
539 | color: rgba(255,255,255,0.6);
540 | }
541 |
542 | /*********************************************************************************/
543 | /* Page */
544 | /*********************************************************************************/
545 |
546 | #page
547 | {
548 | }
549 |
550 | /*********************************************************************************/
551 | /* Content */
552 | /*********************************************************************************/
553 |
554 | #content
555 | {
556 | }
557 |
558 | /*********************************************************************************/
559 | /* Sidebar */
560 | /*********************************************************************************/
561 |
562 | #sidebar
563 | {
564 | }
565 |
566 | /*********************************************************************************/
567 | /* Footer */
568 | /*********************************************************************************/
569 |
570 | #footer
571 | {
572 | text-align: center;
573 | }
574 |
575 |
576 | #footer .title span
577 | {
578 | color: rgba(255,255,255,0.4);
579 | }
580 |
581 | /*********************************************************************************/
582 | /* Copyright */
583 | /*********************************************************************************/
584 |
585 | #copyright
586 | {
587 | overflow: hidden;
588 | padding: 5em 0em;
589 | border-top: 1px solid rgba(255,255,255,0.08);
590 | }
591 |
592 | #copyright p
593 | {
594 | letter-spacing: 0.20em;
595 | text-align: center;
596 | text-transform: uppercase;
597 | font-size: 0.80em;
598 | color: rgba(255,255,255,0.3);
599 | }
600 |
601 | #copyright a
602 | {
603 | text-decoration: none;
604 | color: rgba(255,255,255,0.6);
605 | }
606 |
607 | /*********************************************************************************/
608 | /* Newsletter */
609 | /*********************************************************************************/
610 |
611 | #newsletter
612 | {
613 | overflow: hidden;
614 | padding: 8em 0em;
615 | background: #EDEDED;
616 | text-align: center;
617 | }
618 |
619 | #newsletter .title h2
620 | {
621 | color: rgba(0,0,0,0.8);
622 | }
623 |
624 | #newsletter .content
625 | {
626 | width: 600px;
627 | margin: 0px auto;
628 | }
629 |
630 | /*********************************************************************************/
631 | /* Portfolio */
632 | /*********************************************************************************/
633 |
634 | #portfolio
635 | {
636 | }
637 |
638 | #portfolio .box
639 | {
640 | text-align: center;
641 | color: rgba(0,0,0,0.5);
642 | }
643 |
644 | #portfolio h3
645 | {
646 | display: block;
647 | padding-bottom: 1em;
648 | text-transform: uppercase;
649 | font-size: 1em;
650 | color: rgba(0,0,0,0.6);
651 | }
652 |
653 | #portfolio .title
654 | {
655 | text-align: center;
656 | }
657 |
658 | #portfolio .title h2
659 | {
660 | color: rgba(0,0,0,0.8);
661 | }
662 |
663 | .column1,
664 | .column2,
665 | .column3,
666 | .column4
667 | {
668 | width: 282px;
669 | }
670 |
671 | .column1,
672 | .column2,
673 | .column3
674 | {
675 | float: left;
676 | margin-right: 24px;
677 | }
678 |
679 | .column4
680 | {
681 | float: right;
682 | }
683 |
684 | #wrapper-blog
685 | {
686 | overflow: hidden;
687 | padding: 6em 0em;
688 | }
689 |
690 | #post
691 | {
692 | float: left;
693 | width: 650px;
694 | }
695 |
696 | .post
697 | {
698 | margin-bottom: 3em;
699 | padding-bottom: 4em;
700 | border-bottom: 1px solid;
701 | border-color: rgba(0,0,0,.1);
702 | }
703 |
704 | .no-border
705 | {
706 | margin-bottom: 0 !important;
707 | padding-bottom: 0 !important;
708 | border: none;
709 | }
710 |
711 | .post h2
712 | {
713 | padding-bottom: 1em;
714 | letter-spacing: 0.20em;
715 | text-transform: uppercase;
716 | font-weight: 400;
717 | font-size: 1.5em;
718 | }
719 |
720 | .post .date
721 | {
722 | display: block;
723 | padding-bottom: 2em;
724 | letter-spacing: 0.20em;
725 | text-transform: uppercase;
726 | font-weight: 300;
727 | }
728 |
729 | #list
730 | {
731 | float: right;
732 | width: 300px;
733 | }
734 |
735 | #lbox1
736 | {
737 | margin-bottom: 5em;
738 | }
739 | #lbox2
740 | {
741 | margin-bottom: 5em;
742 | }
743 |
744 | #list h2
745 | {
746 | padding-bottom: 1em;
747 | letter-spacing: 0.10em;
748 | text-transform: uppercase;
749 | font-weight: 400;
750 | font-size: 1.5em;
751 | }
752 |
--------------------------------------------------------------------------------
/UI/Student/default.css:
--------------------------------------------------------------------------------
1 | html, body
2 | {
3 | height: 100%;
4 | }
5 |
6 | body
7 | {
8 | margin: 0px;
9 | padding: 0px;
10 | background: #333333;
11 | font-family: 'Source Sans Pro', sans-serif;
12 | font-size: 12pt;
13 | font-weight: 300;
14 | color: #000000;
15 | }
16 |
17 |
18 | h1, h2, h3
19 | {
20 | margin: 0;
21 | padding: 0;
22 | }
23 |
24 | p, ol, ul
25 | {
26 | margin-top: 0;
27 | }
28 |
29 | ol, ul
30 | {
31 | padding: 0;
32 | list-style: none;
33 | }
34 |
35 | p
36 | {
37 | line-height: 180%;
38 | }
39 |
40 | strong
41 | {
42 | }
43 |
44 | a
45 | {
46 | color: #ff3e37;
47 | }
48 |
49 | a:hover
50 | {
51 | text-decoration: none;
52 | }
53 |
54 |
55 | .container
56 | {
57 | margin: 0px auto;
58 | width: 1000px;
59 | }
60 |
61 |
62 | /*********************************************************************************/
63 | /* Form Style */
64 | /*********************************************************************************/
65 |
66 | form
67 | {
68 | }
69 |
70 | form label
71 | {
72 | display: block;
73 | text-align: left;
74 | margin-bottom: 0.5em;
75 | }
76 |
77 | form .submit
78 | {
79 | margin-top: 2em;
80 | background: #e97874;
81 | line-height: 1.5em;
82 | font-size: 1.3em;
83 | }
84 |
85 | form input.text,
86 | form textarea
87 | {
88 | border-style: none;
89 | border-color: inherit;
90 | border-width: 0;
91 | position: relative;
92 | -webkit-appearance: none;
93 | display: block;
94 | background: #fff;
95 | background: #fff;
96 | width: 100%;
97 | border-radius: 0.50em;
98 | margin: 1em 0em;
99 | padding: 1.50em 1em;
100 | box-shadow: inset 0 0.1em 0.1em 0 rgba(0,0,0,0.05);
101 | -moz-transition: all 0.35s ease-in-out;
102 | -webkit-transition: all 0.35s ease-in-out;
103 | -o-transition: all 0.35s ease-in-out;
104 | -ms-transition: all 0.35s ease-in-out;
105 | transition: all 0.35s ease-in-out;
106 | font-family: 'Source Sans Pro', sans-serif;
107 | font-size: 1em;
108 | outline: none;
109 | top: 6px;
110 | left: 0px;
111 | height: 16px;
112 | }
113 |
114 | form input.text:hover,
115 | form textarea:hover
116 | {
117 | }
118 |
119 | form input.text:focus,
120 | form textarea:focus
121 | {
122 | box-shadow: 0 0 2px 1px #E0E0E0;
123 | background: #fff;
124 | }
125 |
126 | form textarea
127 | {
128 | min-height: 12em;
129 | }
130 |
131 | form .formerize-placeholder
132 | {
133 | color: #555 !important;
134 | }
135 |
136 | form ::-webkit-input-placeholder
137 | {
138 | color: #555 !important;
139 | }
140 |
141 | form :-moz-placeholder
142 | {
143 | color: #555 !important;
144 | }
145 |
146 | form ::-moz-placeholder
147 | {
148 | color: #555 !important;
149 | }
150 |
151 | form :-ms-input-placeholder
152 | {
153 | color: #555 !important;
154 | }
155 |
156 | form ::-moz-focus-inner
157 | {
158 | border: 0;
159 | }
160 |
161 |
162 | /*********************************************************************************/
163 | /* Image Style */
164 | /*********************************************************************************/
165 |
166 | .image
167 | {
168 | display: inline-block;
169 | }
170 |
171 | .image img
172 | {
173 | display: block;
174 | width: 100%;
175 | }
176 |
177 | .image-full
178 | {
179 | display: block;
180 | width: 100%;
181 | margin: 0 0 3em 0;
182 | }
183 |
184 | .image-left
185 | {
186 | float: left;
187 | margin: 0 2em 2em 0;
188 | }
189 |
190 | .image-centered
191 | {
192 | display: block;
193 | margin: 0 0 2em 0;
194 | }
195 |
196 | .image-centered img
197 | {
198 | margin: 0 auto;
199 | width: auto;
200 | }
201 |
202 | /*********************************************************************************/
203 | /* List Styles */
204 | /*********************************************************************************/
205 |
206 | ul.style1
207 | {
208 | margin: 0;
209 | padding: 0em 0em 0em 0em;
210 | overflow: hidden;
211 | list-style: none;
212 | color: #6c6c6c
213 | }
214 |
215 | ul.style1 li
216 | {
217 | overflow: hidden;
218 | display: block;
219 | padding: 2.80em 0em;
220 | border-bottom: 1px solid;
221 | border-color: rgba(0,0,0,.1);
222 | }
223 |
224 | ul.style1 li:first-child
225 | {
226 | padding-top: 0;
227 | border-top: none;
228 | }
229 |
230 | ul.style1 .image-left
231 | {
232 | margin-bottom: 0;
233 | }
234 |
235 | ul.style1 h3
236 | {
237 | padding: 1.2em 0em 1em 0em;
238 | letter-spacing: 0.10em;
239 | text-transform: uppercase;
240 | font-size: 1.2em;
241 | font-weight: 300;
242 | color: #454445;
243 | }
244 |
245 | ul.style1 a
246 | {
247 | text-decoration: none;
248 | color: #525252;
249 | }
250 |
251 | ul.style1 a:hover
252 | {
253 | text-decoration: underline;
254 | color: #525252;
255 | }
256 |
257 | ul.style2
258 | {
259 | margin: 0;
260 | padding-top: 1em;
261 | list-style: none;
262 | }
263 |
264 | ul.style2 li
265 | {
266 | border-bottom: 1px solid;
267 | border-color: rgba(0,0,0,.1);
268 | padding: 0.80em 0;
269 | }
270 |
271 | ul.style2 li:first-child
272 | {
273 | border-top: none;
274 | padding-top: 0;
275 | }
276 |
277 | /*********************************************************************************/
278 | /* Social Icon Styles */
279 | /*********************************************************************************/
280 |
281 | ul.contact
282 | {
283 | margin: 0;
284 | padding: 2em 0em 0em 0em;
285 | list-style: none;
286 | }
287 |
288 | ul.contact li
289 | {
290 | display: inline-block;
291 | padding: 0em 0.30em;
292 | font-size: 1.5em;
293 | }
294 |
295 | ul.contact li span
296 | {
297 | display: none;
298 | margin: 0;
299 | padding: 0;
300 | }
301 |
302 | ul.contact li a
303 | {
304 | color: #FFF;
305 | }
306 |
307 | ul.contact li a:before
308 | {
309 | display: inline-block;
310 | background: #333333;
311 | width: 80px;
312 | height: 80px;
313 | line-height: 80px;
314 | border-radius: 40px;
315 | text-align: center;
316 | color: #FFFFFF;
317 | }
318 |
319 |
320 | /*********************************************************************************/
321 | /* Button Style */
322 | /*********************************************************************************/
323 |
324 | .button
325 | {
326 | display: inline-block;
327 | margin-top: 2em;
328 | padding: 1em 2em 1em 2em;
329 | background: #8DCB89;
330 | letter-spacing: 0.20em;
331 | line-height: 1.8em;
332 | text-decoration: none;
333 | text-transform: uppercase;
334 | font-weight: 400;
335 | font-size: 1.2em;
336 | color: #FFF;
337 | }
338 |
339 | .button:before
340 | {
341 | display: inline-block;
342 | background: #8DCB89;
343 | margin-right: 1em;
344 | width: 40px;
345 | height: 40px;
346 | line-height: 40px;
347 | text-align: center;
348 | color: #272925;
349 | }
350 |
351 | .button-small
352 | {
353 | padding: 0.9em 2em;
354 | background: #8DCB89;
355 | line-height: 1.8em;
356 | font-size: 1em;
357 | }
358 |
359 | /*********************************************************************************/
360 | /* Heading Titles */
361 | /*********************************************************************************/
362 |
363 | .title
364 | {
365 | margin-bottom: 3em;
366 | }
367 |
368 | .title h2
369 | {
370 | font-size: 2.8em;
371 | color: rgba(255,255,255,0.9);
372 | }
373 |
374 | .title .byline
375 | {
376 | letter-spacing: 0.15em;
377 | text-transform: uppercase;
378 | font-weight: 400;
379 | font-size: 1.1em;
380 | color: #6F6F6F;
381 | }
382 |
383 | /*********************************************************************************/
384 | /* Header */
385 | /*********************************************************************************/
386 |
387 | #header-wrapper
388 | {
389 | overflow: hidden;
390 | padding: 5em 0em;
391 | background: #8DCB89 url(images/header.jpg) no-repeat center;
392 | }
393 |
394 | #header
395 | { height: 44px;
396 | }
397 |
398 | /*********************************************************************************/
399 | /* Logo */
400 | /*********************************************************************************/
401 |
402 | #logo
403 | {
404 | padding: 5em 0em;
405 | text-align: center;
406 | }
407 |
408 | #logo h1
409 | {
410 | display: inline-block;
411 | margin-bottom: 0.50em;
412 | padding: 0.20em 1em;
413 | background: #e97874;
414 | font-size: 3.5em;
415 | }
416 |
417 | #logo a
418 | {
419 | text-decoration: none;
420 | color: #FFF;
421 | }
422 |
423 | #logo span
424 | {
425 | display: block;
426 | letter-spacing: 0.10em;
427 | text-transform: uppercase;
428 | font-size: 0.90em;
429 | color: rgba(255,255,255,0.5);
430 | }
431 |
432 | #logo span a
433 | {
434 | color: rgba(255,255,255,0.8);
435 | }
436 |
437 |
438 |
439 | /*********************************************************************************/
440 | /* Menu */
441 | /*********************************************************************************/
442 |
443 | #menu
444 | {
445 | }
446 |
447 | #menu ul
448 | {
449 | text-align: center;
450 | }
451 |
452 | #menu li
453 | {
454 | display: inline-block;
455 | }
456 |
457 | #menu li a, #menu li span
458 | {
459 | display: inline-block;
460 | margin-left: 0.50em;
461 | padding: 1em 1.5em;
462 | letter-spacing: 0.20em;
463 | text-decoration: none;
464 | font-size: 0.90em;
465 | font-weight: 600;
466 | text-transform: uppercase;
467 | outline: 0;
468 | color: #FFF;
469 | }
470 |
471 | #menu li:hover a, #menu li.active a, #menu li.active span
472 | {
473 | }
474 |
475 | #menu .current_page_item a
476 | {
477 | background: #e97874;
478 | color: #FFF;
479 | }
480 |
481 |
482 | /*********************************************************************************/
483 | /* Banner */
484 | /*********************************************************************************/
485 |
486 | #banner
487 | {
488 | }
489 |
490 | /*********************************************************************************/
491 | /* Wrapper */
492 | /*********************************************************************************/
493 |
494 | #wrapper1
495 | {
496 | background: #242424;
497 | }
498 |
499 | #wrapper2
500 | {
501 | background: #EDEDED;
502 | }
503 |
504 | #wrapper3
505 | {
506 | overflow: hidden;
507 | background: #FFF;
508 | }
509 |
510 | #wrapper4
511 | {
512 | overflow: hidden;
513 | padding: 8em 0em;
514 | background: #E74E59;
515 | }
516 |
517 | /*********************************************************************************/
518 | /* Welcome */
519 | /*********************************************************************************/
520 |
521 | #welcome
522 | {
523 | overflow: hidden;
524 | padding: 4em 0em;
525 | text-align: center;
526 | color: rgba(255,255,255,0.3);
527 | }
528 |
529 | #welcome .content
530 | {
531 | padding: 0em 0em;
532 | }
533 |
534 |
535 |
536 | #welcome a,
537 | #welcome strong
538 | {
539 | color: rgba(255,255,255,0.6);
540 | }
541 |
542 | /*********************************************************************************/
543 | /* Page */
544 | /*********************************************************************************/
545 |
546 | #page
547 | {
548 | }
549 |
550 | /*********************************************************************************/
551 | /* Content */
552 | /*********************************************************************************/
553 |
554 | #content
555 | {
556 | }
557 |
558 | /*********************************************************************************/
559 | /* Sidebar */
560 | /*********************************************************************************/
561 |
562 | #sidebar
563 | {
564 | }
565 |
566 | /*********************************************************************************/
567 | /* Footer */
568 | /*********************************************************************************/
569 |
570 | #footer
571 | {
572 | text-align: center;
573 | }
574 |
575 |
576 | #footer .title span
577 | {
578 | color: rgba(255,255,255,0.4);
579 | }
580 |
581 | /*********************************************************************************/
582 | /* Copyright */
583 | /*********************************************************************************/
584 |
585 | #copyright
586 | {
587 | overflow: hidden;
588 | padding: 5em 0em;
589 | border-top: 1px solid rgba(255,255,255,0.08);
590 | }
591 |
592 | #copyright p
593 | {
594 | letter-spacing: 0.20em;
595 | text-align: center;
596 | text-transform: uppercase;
597 | font-size: 0.80em;
598 | color: rgba(255,255,255,0.3);
599 | }
600 |
601 | #copyright a
602 | {
603 | text-decoration: none;
604 | color: rgba(255,255,255,0.6);
605 | }
606 |
607 | /*********************************************************************************/
608 | /* Newsletter */
609 | /*********************************************************************************/
610 |
611 | #newsletter
612 | {
613 | overflow: hidden;
614 | padding: 8em 0em;
615 | background: #EDEDED;
616 | text-align: center;
617 | }
618 |
619 | #newsletter .title h2
620 | {
621 | color: rgba(0,0,0,0.8);
622 | }
623 |
624 | #newsletter .content
625 | {
626 | width: 600px;
627 | margin: 0px auto;
628 | }
629 |
630 | /*********************************************************************************/
631 | /* Portfolio */
632 | /*********************************************************************************/
633 |
634 | #portfolio
635 | {
636 | }
637 |
638 | #portfolio .box
639 | {
640 | text-align: center;
641 | color: rgba(0,0,0,0.5);
642 | }
643 |
644 | #portfolio h3
645 | {
646 | display: block;
647 | padding-bottom: 1em;
648 | text-transform: uppercase;
649 | font-size: 1em;
650 | color: rgba(0,0,0,0.6);
651 | }
652 |
653 | #portfolio .title
654 | {
655 | text-align: center;
656 | }
657 |
658 | #portfolio .title h2
659 | {
660 | color: rgba(0,0,0,0.8);
661 | }
662 |
663 | .column1,
664 | .column2,
665 | .column3,
666 | .column4
667 | {
668 | width: 282px;
669 | }
670 |
671 | .column1,
672 | .column2,
673 | .column3
674 | {
675 | float: left;
676 | margin-right: 24px;
677 | }
678 |
679 | .column4
680 | {
681 | float: right;
682 | }
683 |
684 | #wrapper-blog
685 | {
686 | overflow: hidden;
687 | padding: 6em 0em;
688 | }
689 |
690 | #post
691 | {
692 | float: left;
693 | width: 650px;
694 | }
695 |
696 | .post
697 | {
698 | margin-bottom: 3em;
699 | padding-bottom: 4em;
700 | border-bottom: 1px solid;
701 | border-color: rgba(0,0,0,.1);
702 | }
703 |
704 | .no-border
705 | {
706 | margin-bottom: 0 !important;
707 | padding-bottom: 0 !important;
708 | border: none;
709 | }
710 |
711 | .post h2
712 | {
713 | padding-bottom: 1em;
714 | letter-spacing: 0.20em;
715 | text-transform: uppercase;
716 | font-weight: 400;
717 | font-size: 1.5em;
718 | }
719 |
720 | .post .date
721 | {
722 | display: block;
723 | padding-bottom: 2em;
724 | letter-spacing: 0.20em;
725 | text-transform: uppercase;
726 | font-weight: 300;
727 | }
728 |
729 | #list
730 | {
731 | float: right;
732 | width: 300px;
733 | }
734 |
735 | #lbox1
736 | {
737 | margin-bottom: 5em;
738 | }
739 | #lbox2
740 | {
741 | margin-bottom: 5em;
742 | }
743 |
744 | #list h2
745 | {
746 | padding-bottom: 1em;
747 | letter-spacing: 0.10em;
748 | text-transform: uppercase;
749 | font-weight: 400;
750 | font-size: 1.5em;
751 | }
752 |
--------------------------------------------------------------------------------
/UI/default.css:
--------------------------------------------------------------------------------
1 | html, body
2 | {
3 | height: 100%;
4 | }
5 |
6 | body
7 | {
8 | margin: 0px;
9 | padding: 0px;
10 | background: #333333;
11 | font-family: 'Source Sans Pro', sans-serif;
12 | font-size: 12pt;
13 | font-weight: 300;
14 | color: #000000;
15 | }
16 |
17 |
18 | h1, h2, h3
19 | {
20 | margin: 0;
21 | padding: 0;
22 | }
23 |
24 | p, ol, ul
25 | {
26 | margin-top: 0;
27 | }
28 |
29 | ol, ul
30 | {
31 | padding: 0;
32 | list-style: none;
33 | }
34 |
35 | p
36 | {
37 | line-height: 180%;
38 | }
39 |
40 | strong
41 | { text-align: center;
42 | }
43 |
44 | a
45 | {
46 | color: #ff3e37;
47 | font-weight: 700;
48 | }
49 |
50 | a:hover
51 | {
52 | text-decoration: none;
53 | }
54 |
55 |
56 | .container
57 | {
58 | margin: 0px auto;
59 | width: 1000px;
60 | }
61 |
62 |
63 | /*********************************************************************************/
64 | /* Form Style */
65 | /*********************************************************************************/
66 |
67 | form
68 | {
69 | }
70 |
71 | form label
72 | {
73 | display: block;
74 | text-align: left;
75 | margin-bottom: 0.5em;
76 | }
77 |
78 | form .submit
79 | {
80 | margin-top: 2em;
81 | background: #e97874;
82 | line-height: 1.5em;
83 | font-size: 1.3em;
84 | }
85 |
86 | form input.text,
87 | form select,
88 | form textarea
89 | {
90 | position: relative;
91 | -webkit-appearance: none;
92 | display: block;
93 | border: 0;
94 | background: #fff;
95 | background: rgba(255,255,255,0.75);
96 | width: 100%;
97 | border-radius: 0.50em;
98 | margin: 1em 0em;
99 | padding: 1.50em 1em;
100 | box-shadow: inset 0 0.1em 0.1em 0 rgba(0,0,0,0.05);
101 | border: solid 1px rgba(0,0,0,0.15);
102 | -moz-transition: all 0.35s ease-in-out;
103 | -webkit-transition: all 0.35s ease-in-out;
104 | -o-transition: all 0.35s ease-in-out;
105 | -ms-transition: all 0.35s ease-in-out;
106 | transition: all 0.35s ease-in-out;
107 | font-family: 'Source Sans Pro', sans-serif;
108 | font-size: 1em;
109 | outline: none;
110 | }
111 |
112 | form input.text:hover,
113 | form select:hover,
114 | form textarea:hover
115 | {
116 | }
117 |
118 | form input.text:focus,
119 | form select:focus,
120 | form textarea:focus
121 | {
122 | box-shadow: 0 0 2px 1px #E0E0E0;
123 | background: #fff;
124 | }
125 |
126 | form textarea
127 | {
128 | min-height: 12em;
129 | }
130 |
131 | form .formerize-placeholder
132 | {
133 | color: #555 !important;
134 | }
135 |
136 | form ::-webkit-input-placeholder
137 | {
138 | color: #555 !important;
139 | }
140 |
141 | form :-moz-placeholder
142 | {
143 | color: #555 !important;
144 | }
145 |
146 | form ::-moz-placeholder
147 | {
148 | color: #555 !important;
149 | }
150 |
151 | form :-ms-input-placeholder
152 | {
153 | color: #555 !important;
154 | }
155 |
156 | form ::-moz-focus-inner
157 | {
158 | border: 0;
159 | }
160 |
161 |
162 | /*********************************************************************************/
163 | /* Image Style */
164 | /*********************************************************************************/
165 |
166 | .image
167 | {
168 | display: inline-block;
169 | }
170 |
171 | .image img
172 | {
173 | display: block;
174 | width: 100%;
175 | }
176 |
177 | .image-full
178 | {
179 | display: block;
180 | width: 100%;
181 | margin: 0 0 3em 0;
182 | }
183 |
184 | .image-left
185 | {
186 | float: left;
187 | margin: 0 2em 2em 0;
188 | }
189 |
190 | .image-centered
191 | {
192 | display: block;
193 | margin: 0 0 2em 0;
194 | }
195 |
196 | .image-centered img
197 | {
198 | margin: 0 auto;
199 | width: auto;
200 | }
201 |
202 | /*********************************************************************************/
203 | /* List Styles */
204 | /*********************************************************************************/
205 |
206 | ul.style1
207 | {
208 | margin: 0;
209 | padding: 0em 0em 0em 0em;
210 | overflow: hidden;
211 | list-style: none;
212 | color: #6c6c6c
213 | }
214 |
215 | ul.style1 li
216 | {
217 | overflow: hidden;
218 | display: block;
219 | padding: 2.80em 0em;
220 | border-bottom: 1px solid;
221 | border-color: rgba(0,0,0,.1);
222 | }
223 |
224 | ul.style1 li:first-child
225 | {
226 | padding-top: 0;
227 | border-top: none;
228 | }
229 |
230 | ul.style1 .image-left
231 | {
232 | margin-bottom: 0;
233 | }
234 |
235 | ul.style1 h3
236 | {
237 | padding: 1.2em 0em 1em 0em;
238 | letter-spacing: 0.10em;
239 | text-transform: uppercase;
240 | font-size: 1.2em;
241 | font-weight: 300;
242 | color: #454445;
243 | }
244 |
245 | ul.style1 a
246 | {
247 | text-decoration: none;
248 | color: #525252;
249 | }
250 |
251 | ul.style1 a:hover
252 | {
253 | text-decoration: underline;
254 | color: #525252;
255 | }
256 |
257 | ul.style2
258 | {
259 | margin: 0;
260 | padding-top: 1em;
261 | list-style: none;
262 | }
263 |
264 | ul.style2 li
265 | {
266 | border-bottom: 1px solid;
267 | border-color: rgba(0,0,0,.1);
268 | padding: 0.80em 0;
269 | }
270 |
271 | ul.style2 li:first-child
272 | {
273 | border-top: none;
274 | padding-top: 0;
275 | }
276 |
277 | /*********************************************************************************/
278 | /* Social Icon Styles */
279 | /*********************************************************************************/
280 |
281 | ul.contact
282 | {
283 | margin: 0;
284 | padding: 2em 0em 0em 0em;
285 | list-style: none;
286 | }
287 |
288 | ul.contact li
289 | {
290 | display: inline-block;
291 | padding: 0em 0.30em;
292 | font-size: 1.5em;
293 | }
294 |
295 | ul.contact li span
296 | {
297 | display: none;
298 | margin: 0;
299 | padding: 0;
300 | }
301 |
302 | ul.contact li a
303 | {
304 | color: #FFF;
305 | }
306 |
307 | ul.contact li a:before
308 | {
309 | display: inline-block;
310 | background: #333333;
311 | width: 80px;
312 | height: 80px;
313 | line-height: 80px;
314 | border-radius: 40px;
315 | text-align: center;
316 | color: #FFFFFF;
317 | }
318 |
319 |
320 | /*********************************************************************************/
321 | /* Button Style */
322 | /*********************************************************************************/
323 |
324 | .button
325 | {
326 | display: inline-block;
327 | margin-top: 2em;
328 | padding: 1em 2em 1em 2em;
329 | background: #8DCB89;
330 | letter-spacing: 0.20em;
331 | line-height: 1.8em;
332 | text-decoration: none;
333 | text-transform: uppercase;
334 | font-weight: 400;
335 | font-size: 1.2em;
336 | color: #FFF;
337 | }
338 |
339 | .button:before
340 | {
341 | display: inline-block;
342 | background: #8DCB89;
343 | margin-right: 1em;
344 | width: 40px;
345 | height: 40px;
346 | line-height: 40px;
347 | text-align: center;
348 | color: #272925;
349 | }
350 |
351 | .button-small
352 | {
353 | padding: 0.9em 2em;
354 | background: #8DCB89;
355 | line-height: 1.8em;
356 | font-size: 1em;
357 | }
358 |
359 | /*********************************************************************************/
360 | /* Heading Titles */
361 | /*********************************************************************************/
362 |
363 | .title
364 | {
365 | margin-bottom: 3em;
366 | }
367 |
368 | .title h2
369 | {
370 | font-size: 2.8em;
371 | color: rgba(255,255,255,0.9);
372 | }
373 |
374 | .title .byline
375 | {
376 | letter-spacing: 0.15em;
377 | text-transform: uppercase;
378 | font-weight: 400;
379 | font-size: 1.1em;
380 | color: #6F6F6F;
381 | }
382 |
383 | /*********************************************************************************/
384 | /* Header */
385 | /*********************************************************************************/
386 |
387 | #header-wrapper
388 | {
389 | overflow: hidden;
390 | padding: 5em 0em;
391 | background: #8DCB89 url(images/header.jpg) no-repeat center;
392 | }
393 |
394 | #header
395 | {
396 | }
397 |
398 | /*********************************************************************************/
399 | /* Logo */
400 | /*********************************************************************************/
401 |
402 | #logo
403 | {
404 | padding: 5em 0em;
405 | text-align: center;
406 | }
407 |
408 | #logo h1
409 | {
410 | display: inline-block;
411 | margin-bottom: 0.50em;
412 | padding: 0.20em 1em;
413 | background: #e97874;
414 | font-size: 3.5em;
415 | }
416 |
417 | #logo a
418 | {
419 | text-decoration: none;
420 | color: #FFF;
421 | }
422 |
423 | #logo span
424 | {
425 | display: block;
426 | letter-spacing: 0.10em;
427 | text-transform: uppercase;
428 | font-size: 0.90em;
429 | color: rgba(255,255,255,0.5);
430 | }
431 |
432 | #logo span a
433 | {
434 | color: rgba(255,255,255,0.8);
435 | }
436 |
437 |
438 |
439 | /*********************************************************************************/
440 | /* Menu */
441 | /*********************************************************************************/
442 |
443 | #menu
444 | {
445 | }
446 |
447 | #menu ul
448 | {
449 | text-align: center;
450 | }
451 |
452 | #menu li
453 | {
454 | display: inline-block;
455 | }
456 |
457 | #menu li a, #menu li span
458 | {
459 | display: inline-block;
460 | margin-left: 0.50em;
461 | padding: 1em 1.5em;
462 | letter-spacing: 0.20em;
463 | text-decoration: none;
464 | font-size: 0.90em;
465 | font-weight: 600;
466 | text-transform: uppercase;
467 | outline: 0;
468 | color: #FFF;
469 | }
470 |
471 | #menu li:hover a, #menu li.active a, #menu li.active span
472 | {
473 | }
474 |
475 | #menu .current_page_item a
476 | {
477 | background: #e97874;
478 | color: #FFF;
479 | }
480 |
481 |
482 | /*********************************************************************************/
483 | /* Banner */
484 | /*********************************************************************************/
485 |
486 | #banner
487 | {
488 | }
489 |
490 | /*********************************************************************************/
491 | /* Wrapper */
492 | /*********************************************************************************/
493 |
494 | #wrapper1
495 | {
496 | background: #242424;
497 | }
498 |
499 | #wrapper2
500 | {
501 | background: #EDEDED;
502 | }
503 |
504 | #wrapper3
505 | {
506 | overflow: hidden;
507 | background: #FFF;
508 | }
509 |
510 | #wrapper4
511 | {
512 | overflow: hidden;
513 | padding: 8em 0em;
514 | background: #E74E59;
515 | }
516 |
517 | /*********************************************************************************/
518 | /* Welcome */
519 | /*********************************************************************************/
520 |
521 | #welcome
522 | {
523 | overflow: hidden;
524 | padding: 4em 0em;
525 | text-align: center;
526 | color: rgba(255,255,255,0.3);
527 | }
528 |
529 | #welcome .content
530 | {
531 | padding: 0em 0em;
532 | }
533 |
534 |
535 |
536 | #welcome a,
537 | #welcome strong
538 | {
539 | color: rgba(255,255,255,0.6);
540 | }
541 |
542 | /*********************************************************************************/
543 | /* Page */
544 | /*********************************************************************************/
545 |
546 | #page
547 | {
548 | }
549 |
550 | /*********************************************************************************/
551 | /* Content */
552 | /*********************************************************************************/
553 |
554 | #content
555 | {
556 | }
557 |
558 | /*********************************************************************************/
559 | /* Sidebar */
560 | /*********************************************************************************/
561 |
562 | #sidebar
563 | {
564 | }
565 |
566 | /*********************************************************************************/
567 | /* Footer */
568 | /*********************************************************************************/
569 |
570 | #footer
571 | {
572 | text-align: center;
573 | }
574 |
575 |
576 | #footer .title span
577 | {
578 | color: rgba(255,255,255,0.4);
579 | }
580 |
581 | /*********************************************************************************/
582 | /* Copyright */
583 | /*********************************************************************************/
584 |
585 | #copyright
586 | {
587 | overflow: hidden;
588 | padding: 5em 0em;
589 | border-top: 1px solid rgba(255,255,255,0.08);
590 | }
591 |
592 | #copyright p
593 | {
594 | letter-spacing: 0.20em;
595 | text-align: center;
596 | text-transform: uppercase;
597 | font-size: 0.80em;
598 | color: rgba(255,255,255,0.3);
599 | }
600 |
601 | #copyright a
602 | {
603 | text-decoration: none;
604 | color: rgba(255,255,255,0.6);
605 | }
606 |
607 | /*********************************************************************************/
608 | /* Newsletter */
609 | /*********************************************************************************/
610 |
611 | #newsletter
612 | {
613 | overflow: hidden;
614 | padding: 8em 0em;
615 | background: #EDEDED;
616 | text-align: center;
617 | }
618 |
619 | #newsletter .title h2
620 | {
621 | color: rgba(0,0,0,0.8);
622 | }
623 |
624 | #newsletter .content
625 | {
626 | width: 600px;
627 | margin: 0px auto;
628 | }
629 |
630 | /*********************************************************************************/
631 | /* Portfolio */
632 | /*********************************************************************************/
633 |
634 | #portfolio
635 | {
636 | }
637 |
638 | #portfolio .box
639 | {
640 | text-align: center;
641 | color: rgba(0,0,0,0.5);
642 | }
643 |
644 | #portfolio h3
645 | {
646 | display: block;
647 | padding-bottom: 1em;
648 | text-transform: uppercase;
649 | font-size: 1em;
650 | color: rgba(0,0,0,0.6);
651 | }
652 |
653 | #portfolio .title
654 | {
655 | text-align: center;
656 | }
657 |
658 | #portfolio .title h2
659 | {
660 | color: rgba(0,0,0,0.8);
661 | }
662 |
663 | .column1,
664 | .column2,
665 | .column3,
666 | .column4
667 | {
668 | width: 282px;
669 | }
670 |
671 | .column1,
672 | .column2,
673 | .column3
674 | {
675 | float: left;
676 | margin-right: 24px;
677 | }
678 |
679 | .column4
680 | {
681 | float: right;
682 | }
683 |
684 | #wrapper-blog
685 | {
686 | overflow: hidden;
687 | padding: 6em 0em;
688 | }
689 |
690 | #post
691 | {
692 | float: left;
693 | width: 650px;
694 | }
695 |
696 | .post
697 | {
698 | margin-bottom: 3em;
699 | padding-bottom: 4em;
700 | border-bottom: 1px solid;
701 | border-color: rgba(0,0,0,.1);
702 | }
703 |
704 | .no-border
705 | {
706 | margin-bottom: 0 !important;
707 | padding-bottom: 0 !important;
708 | border: none;
709 | }
710 |
711 | .post h2
712 | {
713 | padding-bottom: 1em;
714 | letter-spacing: 0.20em;
715 | text-transform: uppercase;
716 | font-weight: 400;
717 | font-size: 1.5em;
718 | }
719 |
720 | .post .date
721 | {
722 | display: block;
723 | padding-bottom: 2em;
724 | letter-spacing: 0.20em;
725 | text-transform: uppercase;
726 | font-weight: 300;
727 | }
728 |
729 | #list
730 | {
731 | float: right;
732 | width: 300px;
733 | }
734 |
735 | #lbox1
736 | {
737 | margin-bottom: 5em;
738 | }
739 | #lbox2
740 | {
741 | margin-bottom: 5em;
742 | }
743 |
744 | #list h2
745 | {
746 | padding-bottom: 1em;
747 | letter-spacing: 0.10em;
748 | text-transform: uppercase;
749 | font-weight: 400;
750 | font-size: 1.5em;
751 | }
752 |
--------------------------------------------------------------------------------
/UI/fonts.css:
--------------------------------------------------------------------------------
1 | @charset 'UTF-8';
2 |
3 | @font-face
4 | {
5 | font-family: 'FontAwesome';
6 | src: url('fonts/fontawesome-webfont.eot?v=3.0.1');
7 | src: url('fonts/fontawesome-webfont.eot?#iefix&v=3.0.1') format('embedded-opentype'),
8 | url('fonts/fontawesome-webfont.woff?v=3.0.1') format('woff'),
9 | url('fonts/fontawesome-webfont.ttf?v=3.0.1') format('truetype'),
10 | url('fonts/fontawesome-webfont.svg#FontAwesome') format('svg');
11 | font-weight: normal;
12 | font-style: normal;
13 | }
14 |
15 | @font-face
16 | {
17 | font-family: 'Font-Awesome-Social';
18 | src: url('fonts/fontawesome-social-webfont.eot');
19 | src: url('fonts/fontawesome-social-webfont.eot?#iefix') format('embedded-opentype'),
20 | url('fonts/fontawesome-social-webfont.woff') format('woff'),
21 | url('fonts/fontawesome-social-webfont.ttf') format('truetype'),
22 | url('fonts/fontawesome-social-webfont.svg#Font-Awesome-More') format('svg');
23 | font-weight: normal;
24 | font-style: normal;
25 | }
26 |
27 | /*********************************************************************************/
28 | /* Icons */
29 | /*********************************************************************************/
30 |
31 | /*
32 | Powered by:
33 |
34 | Font Awesome (http://fortawesome.github.com/Font-Awesome/)
35 | Font Awesome More (http://gregoryloucas.github.com/Font-Awesome-More/)
36 | */
37 |
38 | .icon
39 | {
40 | text-decoration: none;
41 | }
42 |
43 | .icon:before
44 | {
45 | font-size: 1.25em;
46 | text-decoration: none;
47 | font-family: FontAwesome;
48 | font-weight: normal;
49 | font-style: normal;
50 | -webkit-text-rendering: optimizeLegibility;
51 | -moz-text-rendering: optimizeLegibility;
52 | -ms-text-rendering: optimizeLegibility;
53 | -o-text-rendering: optimizeLegibility;
54 | text-rendering: optimizeLegibility;
55 | -webkit-font-smoothing: antialiased;
56 | -moz-font-smoothing: antialiased;
57 | -ms-font-smoothing: antialiased;
58 | -o-font-smoothing: antialiased;
59 | font-smoothing: antialiased;
60 | -webkit-font-feature-settings: "liga" 1, "dlig" 1;
61 | -moz-font-feature-settings: "liga=1, dlig=1";
62 | -ms-font-feature-settings: "liga" 1, "dlig" 1;
63 | -o-font-feature-settings: "liga" 1, "dlig" 1;
64 | font-feature-settings: "liga" 1, "dlig" 1;
65 | }
66 |
67 | .icon-glass:before { content: "\f000"; }
68 | .icon-music:before { content: "\f001"; }
69 | .icon-search:before { content: "\f002"; }
70 | .icon-envelope:before { content: "\f003"; }
71 | .icon-heart:before { content: "\f004"; }
72 | .icon-star:before { content: "\f005"; }
73 | .icon-star-empty:before { content: "\f006"; }
74 | .icon-user:before { content: "\f007"; }
75 | .icon-film:before { content: "\f008"; }
76 | .icon-th-large:before { content: "\f009"; }
77 | .icon-th:before { content: "\f00a"; }
78 | .icon-th-list:before { content: "\f00b"; }
79 | .icon-ok:before { content: "\f00c"; }
80 | .icon-remove:before { content: "\f00d"; }
81 | .icon-zoom-in:before { content: "\f00e"; }
82 |
83 | .icon-zoom-out:before { content: "\f010"; }
84 | .icon-off:before { content: "\f011"; }
85 | .icon-signal:before { content: "\f012"; }
86 | .icon-cog:before { content: "\f013"; }
87 | .icon-trash:before { content: "\f014"; }
88 | .icon-home:before { content: "\f015"; }
89 | .icon-file:before { content: "\f016"; }
90 | .icon-time:before { content: "\f017"; }
91 | .icon-road:before { content: "\f018"; }
92 | .icon-download-alt:before { content: "\f019"; }
93 | .icon-download:before { content: "\f01a"; }
94 | .icon-upload:before { content: "\f01b"; }
95 | .icon-inbox:before { content: "\f01c"; }
96 | .icon-play-circle:before { content: "\f01d"; }
97 | .icon-repeat:before { content: "\f01e"; }
98 |
99 | /* \f020 doesn't work in Safari. all shifted one down */
100 | .icon-refresh:before { content: "\f021"; }
101 | .icon-list-alt:before { content: "\f022"; }
102 | .icon-lock:before { content: "\f023"; }
103 | .icon-flag:before { content: "\f024"; }
104 | .icon-headphones:before { content: "\f025"; }
105 | .icon-volume-off:before { content: "\f026"; }
106 | .icon-volume-down:before { content: "\f027"; }
107 | .icon-volume-up:before { content: "\f028"; }
108 | .icon-qrcode:before { content: "\f029"; }
109 | .icon-barcode:before { content: "\f02a"; }
110 | .icon-tag:before { content: "\f02b"; }
111 | .icon-tags:before { content: "\f02c"; }
112 | .icon-book:before { content: "\f02d"; }
113 | .icon-bookmark:before { content: "\f02e"; }
114 | .icon-print:before { content: "\f02f"; }
115 |
116 | .icon-camera:before { content: "\f030"; }
117 | .icon-font:before { content: "\f031"; }
118 | .icon-bold:before { content: "\f032"; }
119 | .icon-italic:before { content: "\f033"; }
120 | .icon-text-height:before { content: "\f034"; }
121 | .icon-text-width:before { content: "\f035"; }
122 | .icon-align-left:before { content: "\f036"; }
123 | .icon-align-center:before { content: "\f037"; }
124 | .icon-align-right:before { content: "\f038"; }
125 | .icon-align-justify:before { content: "\f039"; }
126 | .icon-list:before { content: "\f03a"; }
127 | .icon-indent-left:before { content: "\f03b"; }
128 | .icon-indent-right:before { content: "\f03c"; }
129 | .icon-facetime-video:before { content: "\f03d"; }
130 | .icon-picture:before { content: "\f03e"; }
131 |
132 | .icon-pencil:before { content: "\f040"; }
133 | .icon-map-marker:before { content: "\f041"; }
134 | .icon-adjust:before { content: "\f042"; }
135 | .icon-tint:before { content: "\f043"; }
136 | .icon-edit:before { content: "\f044"; }
137 | .icon-share:before { content: "\f045"; }
138 | .icon-check:before { content: "\f046"; }
139 | .icon-move:before { content: "\f047"; }
140 | .icon-step-backward:before { content: "\f048"; }
141 | .icon-fast-backward:before { content: "\f049"; }
142 | .icon-backward:before { content: "\f04a"; }
143 | .icon-play:before { content: "\f04b"; }
144 | .icon-pause:before { content: "\f04c"; }
145 | .icon-stop:before { content: "\f04d"; }
146 | .icon-forward:before { content: "\f04e"; }
147 |
148 | .icon-fast-forward:before { content: "\f050"; }
149 | .icon-step-forward:before { content: "\f051"; }
150 | .icon-eject:before { content: "\f052"; }
151 | .icon-chevron-left:before { content: "\f053"; }
152 | .icon-chevron-right:before { content: "\f054"; }
153 | .icon-plus-sign:before { content: "\f055"; }
154 | .icon-minus-sign:before { content: "\f056"; }
155 | .icon-remove-sign:before { content: "\f057"; }
156 | .icon-ok-sign:before { content: "\f058"; }
157 | .icon-question-sign:before { content: "\f059"; }
158 | .icon-info-sign:before { content: "\f05a"; }
159 | .icon-screenshot:before { content: "\f05b"; }
160 | .icon-remove-circle:before { content: "\f05c"; }
161 | .icon-ok-circle:before { content: "\f05d"; }
162 | .icon-ban-circle:before { content: "\f05e"; }
163 |
164 | .icon-arrow-left:before { content: "\f060"; }
165 | .icon-arrow-right:before { content: "\f061"; }
166 | .icon-arrow-up:before { content: "\f062"; }
167 | .icon-arrow-down:before { content: "\f063"; }
168 | .icon-share-alt:before { content: "\f064"; }
169 | .icon-resize-full:before { content: "\f065"; }
170 | .icon-resize-small:before { content: "\f066"; }
171 | .icon-plus:before { content: "\f067"; }
172 | .icon-minus:before { content: "\f068"; }
173 | .icon-asterisk:before { content: "\f069"; }
174 | .icon-exclamation-sign:before { content: "\f06a"; }
175 | .icon-gift:before { content: "\f06b"; }
176 | .icon-leaf:before { content: "\f06c"; }
177 | .icon-fire:before { content: "\f06d"; }
178 | .icon-eye-open:before { content: "\f06e"; }
179 |
180 | .icon-eye-close:before { content: "\f070"; }
181 | .icon-warning-sign:before { content: "\f071"; }
182 | .icon-plane:before { content: "\f072"; }
183 | .icon-calendar:before { content: "\f073"; }
184 | .icon-random:before { content: "\f074"; }
185 | .icon-comment:before { content: "\f075"; }
186 | .icon-magnet:before { content: "\f076"; }
187 | .icon-chevron-up:before { content: "\f077"; }
188 | .icon-chevron-down:before { content: "\f078"; }
189 | .icon-retweet:before { content: "\f079"; }
190 | .icon-shopping-cart:before { content: "\f07a"; }
191 | .icon-folder-close:before { content: "\f07b"; }
192 | .icon-folder-open:before { content: "\f07c"; }
193 | .icon-resize-vertical:before { content: "\f07d"; }
194 | .icon-resize-horizontal:before { content: "\f07e"; }
195 |
196 | .icon-bar-chart:before { content: "\f080"; }
197 | .icon-twitter-sign:before { content: "\f081"; }
198 | .icon-facebook-sign:before { content: "\f082"; }
199 | .icon-camera-retro:before { content: "\f083"; }
200 | .icon-key:before { content: "\f084"; }
201 | .icon-cogs:before { content: "\f085"; }
202 | .icon-comments:before { content: "\f086"; }
203 | .icon-thumbs-up:before { content: "\f087"; }
204 | .icon-thumbs-down:before { content: "\f088"; }
205 | .icon-star-half:before { content: "\f089"; }
206 | .icon-heart-empty:before { content: "\f08a"; }
207 | .icon-signout:before { content: "\f08b"; }
208 | .icon-linkedin-sign:before { content: "\f08c"; }
209 | .icon-pushpin:before { content: "\f08d"; }
210 | .icon-external-link:before { content: "\f08e"; }
211 |
212 | .icon-signin:before { content: "\f090"; }
213 | .icon-trophy:before { content: "\f091"; }
214 | .icon-github-sign:before { content: "\f092"; }
215 | .icon-upload-alt:before { content: "\f093"; }
216 | .icon-lemon:before { content: "\f094"; }
217 | .icon-phone:before { content: "\f095"; }
218 | .icon-check-empty:before { content: "\f096"; }
219 | .icon-bookmark-empty:before { content: "\f097"; }
220 | .icon-phone-sign:before { content: "\f098"; }
221 | .icon-twitter:before { content: "\f099"; }
222 | .icon-facebook:before { content: "\f09a"; }
223 | .icon-github:before { content: "\f09b"; }
224 | .icon-unlock:before { content: "\f09c"; }
225 | .icon-credit-card:before { content: "\f09d"; }
226 | .icon-rss:before { content: "\f09e"; }
227 |
228 | .icon-hdd:before { content: "\f0a0"; }
229 | .icon-bullhorn:before { content: "\f0a1"; }
230 | .icon-bell:before { content: "\f0a2"; }
231 | .icon-certificate:before { content: "\f0a3"; }
232 | .icon-hand-right:before { content: "\f0a4"; }
233 | .icon-hand-left:before { content: "\f0a5"; }
234 | .icon-hand-up:before { content: "\f0a6"; }
235 | .icon-hand-down:before { content: "\f0a7"; }
236 | .icon-circle-arrow-left:before { content: "\f0a8"; }
237 | .icon-circle-arrow-right:before { content: "\f0a9"; }
238 | .icon-circle-arrow-up:before { content: "\f0aa"; }
239 | .icon-circle-arrow-down:before { content: "\f0ab"; }
240 | .icon-globe:before { content: "\f0ac"; }
241 | .icon-wrench:before { content: "\f0ad"; }
242 | .icon-tasks:before { content: "\f0ae"; }
243 |
244 | .icon-filter:before { content: "\f0b0"; }
245 | .icon-briefcase:before { content: "\f0b1"; }
246 | .icon-fullscreen:before { content: "\f0b2"; }
247 |
248 | .icon-group:before { content: "\f0c0"; }
249 | .icon-link:before { content: "\f0c1"; }
250 | .icon-cloud:before { content: "\f0c2"; }
251 | .icon-beaker:before { content: "\f0c3"; }
252 | .icon-cut:before { content: "\f0c4"; }
253 | .icon-copy:before { content: "\f0c5"; }
254 | .icon-paper-clip:before { content: "\f0c6"; }
255 | .icon-save:before { content: "\f0c7"; }
256 | .icon-sign-blank:before { content: "\f0c8"; }
257 | .icon-reorder:before { content: "\f0c9"; }
258 | .icon-list-ul:before { content: "\f0ca"; }
259 | .icon-list-ol:before { content: "\f0cb"; }
260 | .icon-strikethrough:before { content: "\f0cc"; }
261 | .icon-underline:before { content: "\f0cd"; }
262 | .icon-table:before { content: "\f0ce"; }
263 |
264 | .icon-magic:before { content: "\f0d0"; }
265 | .icon-truck:before { content: "\f0d1"; }
266 | .icon-pinterest:before { content: "\f0d2"; }
267 | .icon-pinterest-sign:before { content: "\f0d3"; }
268 | .icon-google-plus-sign:before { content: "\f0d4"; }
269 | .icon-google-plus:before { content: "\f0d5"; }
270 | .icon-money:before { content: "\f0d6"; }
271 | .icon-caret-down:before { content: "\f0d7"; }
272 | .icon-caret-up:before { content: "\f0d8"; }
273 | .icon-caret-left:before { content: "\f0d9"; }
274 | .icon-caret-right:before { content: "\f0da"; }
275 | .icon-columns:before { content: "\f0db"; }
276 | .icon-sort:before { content: "\f0dc"; }
277 | .icon-sort-down:before { content: "\f0dd"; }
278 | .icon-sort-up:before { content: "\f0de"; }
279 |
280 | .icon-envelope-alt:before { content: "\f0e0"; }
281 | .icon-linkedin:before { content: "\f0e1"; }
282 | .icon-undo:before { content: "\f0e2"; }
283 | .icon-legal:before { content: "\f0e3"; }
284 | .icon-dashboard:before { content: "\f0e4"; }
285 | .icon-comment-alt:before { content: "\f0e5"; }
286 | .icon-comments-alt:before { content: "\f0e6"; }
287 | .icon-bolt:before { content: "\f0e7"; }
288 | .icon-sitemap:before { content: "\f0e8"; }
289 | .icon-umbrella:before { content: "\f0e9"; }
290 | .icon-paste:before { content: "\f0ea"; }
291 | .icon-lightbulb:before { content: "\f0eb"; }
292 | .icon-exchange:before { content: "\f0ec"; }
293 | .icon-cloud-download:before { content: "\f0ed"; }
294 | .icon-cloud-upload:before { content: "\f0ee"; }
295 |
296 | .icon-user-md:before { content: "\f0f0"; }
297 | .icon-stethoscope:before { content: "\f0f1"; }
298 | .icon-suitcase:before { content: "\f0f2"; }
299 | .icon-bell-alt:before { content: "\f0f3"; }
300 | .icon-coffee:before { content: "\f0f4"; }
301 | .icon-food:before { content: "\f0f5"; }
302 | .icon-file-alt:before { content: "\f0f6"; }
303 | .icon-building:before { content: "\f0f7"; }
304 | .icon-hospital:before { content: "\f0f8"; }
305 | .icon-ambulance:before { content: "\f0f9"; }
306 | .icon-medkit:before { content: "\f0fa"; }
307 | .icon-fighter-jet:before { content: "\f0fb"; }
308 | .icon-beer:before { content: "\f0fc"; }
309 | .icon-h-sign:before { content: "\f0fd"; }
310 | .icon-plus-sign-alt:before { content: "\f0fe"; }
311 |
312 | .icon-double-angle-left:before { content: "\f100"; }
313 | .icon-double-angle-right:before { content: "\f101"; }
314 | .icon-double-angle-up:before { content: "\f102"; }
315 | .icon-double-angle-down:before { content: "\f103"; }
316 | .icon-angle-left:before { content: "\f104"; }
317 | .icon-angle-right:before { content: "\f105"; }
318 | .icon-angle-up:before { content: "\f106"; }
319 | .icon-angle-down:before { content: "\f107"; }
320 | .icon-desktop:before { content: "\f108"; }
321 | .icon-laptop:before { content: "\f109"; }
322 | .icon-tablet:before { content: "\f10a"; }
323 | .icon-mobile-phone:before { content: "\f10b"; }
324 | .icon-circle-blank:before { content: "\f10c"; }
325 | .icon-quote-left:before { content: "\f10d"; }
326 | .icon-quote-right:before { content: "\f10e"; }
327 |
328 | .icon-spinner:before { content: "\f110"; }
329 | .icon-circle:before { content: "\f111"; }
330 | .icon-reply:before { content: "\f112"; }
331 | .icon-github-alt:before { content: "\f113"; }
332 | .icon-folder-close-alt:before { content: "\f114"; }
333 | .icon-folder-open-alt:before { content: "\f115"; }
334 |
335 | .icon-blogger-sign:before,.icon-blogger:before,.icon-delicious:before,.icon-dribbble-sign:before,.icon-dribbble:before,.icon-dropbox:before,.icon-drupal:before,.icon-evernote-sign:before,.icon-evernote:before,.icon-flickr-sign:before,.icon-flickr:before,.icon-forrst-sign:before,.icon-forrst:before,.icon-foursquare-sign:before,.icon-foursquare:before,.icon-git-fork:before,.icon-hacker-news:before,.icon-instagram:before,.icon-lastfm-sign:before,.icon-lastfm:before,.icon-paypal:before,.icon-picasa-sign:before,.icon-picasa:before,.icon-reddit:before,.icon-share-this-sign:before,.icon-share-this:before,.icon-skype:before,.icon-soundcloud:before,.icon-spotify:before,.icon-stack-overflow:before,.icon-tumblr-sign:before,.icon-tumblr:before,.icon-vimeo-sign:before,.icon-vimeo:before,.icon-wordpress-sign:before,.icon-wordpress:before,.icon-yelp-sign:before,.icon-yelp:before,.icon-youtube-sign:before,.icon-youtube:before {font-family:'Font-Awesome-Social'; }
336 |
337 | .icon-dropbox:before { content: "\f300"; }
338 | .icon-drupal:before { content: "\f301"; }
339 | .icon-git-fork:before { content: "\f302"; }
340 | .icon-instagram:before { content: "\f303"; }
341 | .icon-share-this-sign:before { content: "\f304"; }
342 | .icon-share-this:before { content: "\f305"; }
343 | .icon-foursquare-sign:before { content: "\f306"; }
344 | .icon-foursquare:before { content: "\f307"; }
345 | .icon-hacker-news:before { content: "\f308"; }
346 | .icon-skype:before { content: "\f309"; }
347 | .icon-spotify:before { content: "\f30a"; }
348 | .icon-soundcloud:before { content: "\f30b"; }
349 | .icon-paypal:before { content: "\f30c"; }
350 | .icon-youtube-sign:before { content: "\f30d"; }
351 | .icon-youtube:before { content: "\f30e"; }
352 | .icon-reddit:before { content: "\f30f"; }
353 | .icon-blogger-sign:before { content: "\f310"; }
354 | .icon-blogger:before { content: "\f311"; }
355 | .icon-dribbble-sign:before { content: "\f312"; }
356 | .icon-dribbble:before { content: "\f313"; }
357 | .icon-evernote-sign:before { content: "\f314"; }
358 | .icon-evernote:before { content: "\f315"; }
359 | .icon-flickr-sign:before { content: "\f316"; }
360 | .icon-flickr:before { content: "\f317"; }
361 | .icon-forrst-sign:before { content: "\f318"; }
362 | .icon-forrst:before { content: "\f319"; }
363 | .icon-delicious:before { content: "\f31a"; }
364 | .icon-lastfm-sign:before { content: "\f31b"; }
365 | .icon-lastfm:before { content: "\f31c"; }
366 | .icon-picasa-sign:before { content: "\f31d"; }
367 | .icon-picasa:before { content: "\f31e"; }
368 | .icon-stack-overflow:before { content: "\f320"; }
369 | .icon-tumblr-sign:before { content: "\f321"; }
370 | .icon-tumblr:before { content: "\f322"; }
371 | .icon-vimeo-sign:before { content: "\f323"; }
372 | .icon-vimeo:before { content: "\f324"; }
373 | .icon-wordpress-sign:before { content: "\f325"; }
374 | .icon-wordpress:before { content: "\f326"; }
375 | .icon-yelp-sign:before { content: "\f327"; }
376 | .icon-yelp:before { content: "\f328"; }
377 | .icon-cloud-upload:before { content: "\f0ee"; }
378 | .icon-cloud-download:before { content: "\f0ed"; }
379 |
--------------------------------------------------------------------------------