Permalink
Browse files

CSS Style now affects all pages

  • Loading branch information...
1 parent 437c7a0 commit 086f31b8dab4139485cc58653aa1018e758b8aaf ahmad sebak committed Oct 4, 2012
Showing with 429 additions and 130 deletions.
  1. BIN Kronos/Kronos.v11.suo
  2. +7 −4 Kronos/Kronos/CLASSES/WebScraper.cs
  3. BIN Kronos/Kronos/ClientBin/TimeTableDesign.xap
  4. +21 −20 Kronos/Kronos/Default.aspx
  5. +2 −0 Kronos/Kronos/Default.aspx.cs
  6. +8 −8 Kronos/Kronos/Default.aspx.designer.cs
  7. +38 −2 Kronos/Kronos/Site1.Master
  8. +1 −1 Kronos/Kronos/Site1.Master.cs
  9. +18 −0 Kronos/Kronos/Site1.Master.designer.cs
  10. +10 −1 Kronos/Kronos/Style/Style.css
  11. BIN Kronos/Kronos/bin/ClientBin/TimeTableDesign.xap
  12. BIN Kronos/Kronos/bin/Kronos.dll
  13. BIN Kronos/Kronos/bin/Kronos.pdb
  14. BIN Kronos/Kronos/obj/Debug/Kronos.dll
  15. BIN Kronos/Kronos/obj/Debug/Kronos.pdb
  16. BIN Kronos/Kronos/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
  17. BIN Kronos/Kronos/obj/Release/Kronos.dll
  18. BIN Kronos/Kronos/obj/Release/Kronos.pdb
  19. BIN Kronos/Kronos/obj/Release/Package/PackageTmp/ClientBin/TimeTableDesign.xap
  20. +21 −20 Kronos/Kronos/obj/Release/Package/PackageTmp/Default.aspx
  21. BIN Kronos/Kronos/obj/Release/Package/PackageTmp/Images/save.png
  22. +38 −2 Kronos/Kronos/obj/Release/Package/PackageTmp/Site1.Master
  23. +10 −1 Kronos/Kronos/obj/Release/Package/PackageTmp/Style/Style.css
  24. BIN Kronos/Kronos/obj/Release/Package/PackageTmp/bin/ClientBin/TimeTableDesign.xap
  25. BIN Kronos/Kronos/obj/Release/Package/PackageTmp/bin/Kronos.dll
  26. BIN Kronos/TimeTableDesign/Bin/Debug/TimeTableDesign.dll
  27. BIN Kronos/TimeTableDesign/Bin/Debug/TimeTableDesign.pdb
  28. BIN Kronos/TimeTableDesign/Bin/Debug/TimeTableDesign.xap
  29. +4 −1 Kronos/TimeTableDesign/MainPage.xaml
  30. +3 −2 Kronos/TimeTableDesign/MainPage.xaml.cs
  31. +231 −63 Kronos/TimeTableDesign/Style/TimeTableStyle.xaml
  32. +4 −1 Kronos/TimeTableDesign/obj/Debug/MainPage.g.cs
  33. +4 −1 Kronos/TimeTableDesign/obj/Debug/MainPage.g.i.cs
  34. BIN Kronos/TimeTableDesign/obj/Debug/TimeTableDesign.dll
  35. BIN Kronos/TimeTableDesign/obj/Debug/TimeTableDesign.g.resources
  36. BIN Kronos/TimeTableDesign/obj/Debug/TimeTableDesign.pdb
  37. +2 −2 Kronos/TimeTableDesign/obj/Debug/XapCacheFile.xml
  38. BIN Kronos/TimeTableDesign/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache
  39. +7 −1 Kronos/TimeTableDesign/obj/Release/MainPage.g.i.cs
View
Binary file not shown.
@@ -9,6 +9,7 @@ namespace Kronos.CLASSES
{
public class WebScraper
{
+ #region Variables
private HtmlWeb web;
private HtmlDocument doc;
private HtmlNodeCollection tables;
@@ -18,13 +19,18 @@ public class WebScraper
private string semester_code;
private string coursenumber_code;
+ #endregion
+
+ #region Constructor
public WebScraper(string coursetag, string coursenumber, string semesternumber)
{
course_code = coursetag;
coursenumber_code = coursenumber;
semester_code = semesternumber;
}
+ #endregion
+ #region ParseData
public void process_course()
{
string url = "http://fcms.concordia.ca/fcms/asc002_stud_all.aspx?yrsess=2012"
@@ -45,12 +51,9 @@ public void process_course()
throw new Exception(error.ToString());
}
-
-
-
-
}
+ #endregion
}
}
Binary file not shown.
View
@@ -1,28 +1,29 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Kronos.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
- <style type="text/css">
- #Div1 {
- height: 394px;
- width: 1132px;
- margin-top: 0px;
- }
- </style>
+ <link rel="stylesheet" href="~/Style/Style.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
- <div style="height: 42px; width: 973px">
- <p style="width: 959px; margin-left: 171px; height: 45px;">
- Already a User? Login:&nbsp;&nbsp;&nbsp;&nbsp; Username<asp:TextBox ID="username_textbox" runat="server"></asp:TextBox>
- Password<asp:TextBox ID="password_textbox" runat="server" TextMode="Password"></asp:TextBox>
+ <div id="Div1">
+ &nbsp;&nbsp; Username:&nbsp; <asp:TextBox ID="username_textbox" runat="server"></asp:TextBox>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Register.aspx">New User?Register Here</asp:LinkButton>
+ <br />
+&nbsp;&nbsp;&nbsp;
+ Password: <asp:TextBox ID="password_textbox" runat="server" TextMode="Password"></asp:TextBox>
<asp:Button ID="login_button" runat="server" OnClick="Button2_Click" Text="Login" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="login_label" runat="server" Text="Label" Visible="False"></asp:Label>
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Register.aspx">New User?Register Here</asp:LinkButton>
- </p>
-
- <div id="Div1">
- <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" style="height: 578px; width: 1165px; margin-top: 0px;">
+ &nbsp;&nbsp;&nbsp;
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</div>
+
+ </asp:Content>
+<asp:Content ID="Content3" runat="server" contentplaceholderid="ContentPlaceHolder2">
+ <p>
+ &nbsp;</p>
+ <p>
+ <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" style="height: 604px; width: 1167px; margin-top: 0px;">
<param name="source" value="ClientBin/TimeTableDesign.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
@@ -31,6 +32,6 @@
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
- </object><iframe id="Iframe1" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
-
- </asp:Content>
+ </object></p>
+ </asp:Content>
+
@@ -80,11 +80,13 @@ protected void Button2_Click(object sender, EventArgs e)
#endregion
}
+ #region Encode64
public static string Encoder_BASE64(string toEncode)
{
byte[] toEncodeAsBytes = System.Text.Encoding.Unicode.GetBytes(toEncode);
return System.Convert.ToBase64String(toEncodeAsBytes);
}
+ #endregion
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -5,17 +5,53 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
+ <link rel="stylesheet" href="~/Style/Style.css" type="text/css" />
<asp:ContentPlaceHolder ID="head" runat="server">
- <link rel="stylesheet" href="Style/Style.css" type="text/css" />
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
+ <p>
+ <br />
+ </p>
+
</asp:ContentPlaceHolder>
</div>
+ <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ </asp:ContentPlaceHolder>
+ <div id="footer">
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright
+ <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
+&nbsp;, mYScheduler Software Team.&nbsp; Report Bugs and Suggestions to : admin@341.atsebak.com</div>
</form>
-</body>
+ </body>
</html>
@@ -10,7 +10,7 @@ public partial class Site1 : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
-
+ Label1.Text = Convert.ToString(DateTime.Now.Year);
}
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -1 +1,10 @@
-
+body {
+background-color:lightblue;
+
+}
+a {
+
+ color:yellow;
+}
+
+/*CSS STYLESHEET*/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,28 +1,29 @@
<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Kronos.Default" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
- <style type="text/css">
- #Div1 {
- height: 394px;
- width: 1132px;
- margin-top: 0px;
- }
- </style>
+ <link rel="stylesheet" href="~/Style/Style.css" type="text/css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
- <div style="height: 42px; width: 973px">
- <p style="width: 959px; margin-left: 171px; height: 45px;">
- Already a User? Login:&nbsp;&nbsp;&nbsp;&nbsp; Username<asp:TextBox ID="username_textbox" runat="server"></asp:TextBox>
- Password<asp:TextBox ID="password_textbox" runat="server" TextMode="Password"></asp:TextBox>
+ <div id="Div1">
+ &nbsp;&nbsp; Username:&nbsp; <asp:TextBox ID="username_textbox" runat="server"></asp:TextBox>
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Register.aspx">New User?Register Here</asp:LinkButton>
+ <br />
+&nbsp;&nbsp;&nbsp;
+ Password: <asp:TextBox ID="password_textbox" runat="server" TextMode="Password"></asp:TextBox>
<asp:Button ID="login_button" runat="server" OnClick="Button2_Click" Text="Login" />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<asp:Label ID="login_label" runat="server" Text="Label" Visible="False"></asp:Label>
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
- <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="~/Register.aspx">New User?Register Here</asp:LinkButton>
- </p>
-
- <div id="Div1">
- <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" style="height: 578px; width: 1165px; margin-top: 0px;">
+ &nbsp;&nbsp;&nbsp;
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</div>
+
+ </asp:Content>
+<asp:Content ID="Content3" runat="server" contentplaceholderid="ContentPlaceHolder2">
+ <p>
+ &nbsp;</p>
+ <p>
+ <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" style="height: 604px; width: 1167px; margin-top: 0px;">
<param name="source" value="ClientBin/TimeTableDesign.xap"/>
<param name="onError" value="onSilverlightError" />
<param name="background" value="white" />
@@ -31,6 +32,6 @@
<a href="http://go.microsoft.com/fwlink/?LinkID=149156&v=3.0.40624.0" style="text-decoration:none">
<img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight" style="border-style:none"/>
</a>
- </object><iframe id="Iframe1" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
-
- </asp:Content>
+ </object></p>
+ </asp:Content>
+
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -5,17 +5,53 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
+ <link rel="stylesheet" href="~/Style/Style.css" type="text/css" />
<asp:ContentPlaceHolder ID="head" runat="server">
- <link rel="stylesheet" href="Style/Style.css" type="text/css" />
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
+ <p>
+ <br />
+ </p>
+
</asp:ContentPlaceHolder>
</div>
+ <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ <p>
+ &nbsp;</p>
+ </asp:ContentPlaceHolder>
+ <div id="footer">
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+ <br />
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright
+ <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
+&nbsp;, mYScheduler Software Team.&nbsp; Report Bugs and Suggestions to : admin@341.atsebak.com</div>
</form>
-</body>
+ </body>
</html>
@@ -1 +1,10 @@
-
+body {
+background-color:lightblue;
+
+}
+a {
+
+ color:yellow;
+}
+
+/*CSS STYLESHEET*/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.

0 comments on commit 086f31b

Please sign in to comment.