~quizsilver/quizsilver/trunk

« back to all changes in this revision

Viewing changes to WebContent/QS.html

  • Committer: Elix Donn Erdex Silangcruz
  • Date: 2009-11-27 10:38:59 UTC
  • Revision ID: erdexs@gmail.com-20091127103859-mnaiquswi3k9nzc4
Account Management Pages: Initial Commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 
5
<title>Untitled Document</title>
 
6
<style type="text/css">
 
7
<!--
 
8
body {
 
9
        background-color: #333;
 
10
}
 
11
#main_wrapper{
 
12
        width:1024px;
 
13
}
 
14
#header{
 
15
        background-image:url(header_strip.jpg);
 
16
        background-position:center;
 
17
        background-repeat:no-repeat;
 
18
        height:30px;
 
19
        color:#096;
 
20
        font-weight:bold;
 
21
}
 
22
#header_pane{
 
23
        background-image:url(header_img.jpg);
 
24
        background-position:center;
 
25
        background-repeat:no-repeat;
 
26
        height:367px;
 
27
}
 
28
#menu_tabs{
 
29
        padding-left:44%
 
30
}
 
31
#announcements{
 
32
        padding-left:53%;
 
33
        padding-top:9%;
 
34
        width:400px;
 
35
}
 
36
#body_wrapper{
 
37
        background-image:url(body_trail.jpg);
 
38
        background-position:center;
 
39
        background-repeat:repeat-y;
 
40
}
 
41
#body_pane{
 
42
        text-align:left;
 
43
        padding-left:8%
 
44
}
 
45
#bottom_pane{
 
46
        background-image:url(body_bottom.jpg);
 
47
        background-position:center;
 
48
        background-repeat:no-repeat;
 
49
        height:188px;
 
50
}
 
51
body,td,th {
 
52
        font-family: Arial, Helvetica, sans-serif;
 
53
}
 
54
-->
 
55
</style></head>
 
56
<body style="margin-top:0px">
 
57
<table cellpadding="0" cellspacing="0" align="center" id="main_wrapper">
 
58
  <!--<tr id="header">
 
59
  <td >asdasdas
 
60
</td>
 
61
</tr>
 
62
-->
 
63
  <tr>
 
64
    <td><div id="header">
 
65
      <table align="center" width="900px">
 
66
        <td width="539">
 
67
                <script type="text/javascript">
 
68
                                <!--
 
69
                                var currentTime = new Date()
 
70
                                var day = currentTime.getDay()
 
71
                                var month = currentTime.getMonth()
 
72
                                var date = currentTime.getDate()
 
73
                                var year = currentTime.getFullYear()
 
74
                                var hours = currentTime.getHours()
 
75
                                var minutes = currentTime.getMinutes()
 
76
                                var dayText
 
77
                                if (minutes < 10){
 
78
                                minutes = "0" + minutes
 
79
                                }
 
80
                                switch(day){
 
81
                                        case 0: dayText="Sunday";
 
82
                                        case 1: dayText="Monday";
 
83
                                        case 2: dayText="Tuesday";
 
84
                                        case 3: dayText="Wednesday";
 
85
                                        case 4: dayText="Thursday";
 
86
                                        case 5: dayText="Friday";
 
87
                                        case 6: dayText="Saturday";
 
88
                                }
 
89
                                document.write(dayText + ", ")
 
90
                                var monthText
 
91
                                switch(month){
 
92
                                        case 0: monthText="January ";
 
93
                                        case 1: monthText="February ";
 
94
                                        case 2: monthText="March ";
 
95
                                        case 3: monthText="April ";
 
96
                                        case 4: monthText="May ";
 
97
                                        case 5: monthText="June ";
 
98
                                        case 6: monthText="July ";
 
99
                                        case 7: monthText="August ";
 
100
                                        case 8: monthText="September ";
 
101
                                        case 9: monthText="October ";
 
102
                                        case 10: monthText="November ";
 
103
                                        case 11: monthText="December ";
 
104
                                }
 
105
                                document.write(monthText)
 
106
                                document.write(date + ", ")
 
107
                                document.write(year+ " | ")
 
108
                                document.write(hours + ":" + minutes + " ")
 
109
                                if(hours > 11){
 
110
                                document.write("PM")
 
111
                                } else {
 
112
                                document.write("AM")
 
113
                                }
 
114
                                //-->
 
115
                                </script>
 
116
 
 
117
        </td>
 
118
          <td width="270" align="right">Welcome back, uname!</td>
 
119
          <td width="75">| Log Out</td>
 
120
        </table>
 
121
    </div>
 
122
      <div id="header_pane">
 
123
        <div id="menu_tabs">
 
124
          <table height="43px" cellpadding="0px" cellspacing="0" style="text-align:center; font-weight:bold">
 
125
            <td width="97px" 
 
126
                        background="tab_1.png" style="background-position:center; background-repeat:no-repeat; color:#FFF">Home</td>
 
127
              <td width="97px" 
 
128
                        background="tab_2.png" style="background-position:center; background-repeat:no-repeat; color:#FFF">Account</td>
 
129
              <td width="97px" 
 
130
                        background="tab_3.png" style="background-position:center; background-repeat:no-repeat; color:#FFF">Quizzes</td>
 
131
              <td width="97px" 
 
132
                        background="tab_4.png" style="background-position:center; background-repeat:no-repeat; color:#630">Admin</td>
 
133
              <td width="97px" 
 
134
                        background="tab_5.png" style="background-position:center; background-repeat:no-repeat; color:#630">Help</td>
 
135
            </table>
 
136
        </div>
 
137
        <div id="announcements" style="overflow:hidden">sdkjfasdfjasfdasjkdfhscmncsdfshdfkshfdksjdhfskjdfhksjdfhksjdhfskdfhkjscskcnksdjfnskjdfhsjkd</div>
 
138
      </div>
 
139
 
 
140
    <div id="body_wrapper">
 
141
        <table id="body_pane">
 
142
                  <td width="224"> stuff </td>
 
143
                    <td width="406">
 
144
                  <h2 style="color:#096">Administrator Tools</h2>                 
 
145
                  <a href="QS_createAccount.html">
 
146
                      <img src="marker_lime.jpg" width="26" height="26" /> 
 
147
                      Create Account
 
148
               </a>
 
149
               <br/>
 
150
              <a href="QS_viewAccounts.html">
 
151
                    <img src="marker_green.jpg" width="26" height="26" /> 
 
152
                 View Accounts</a>
 
153
              </td>
 
154
      </table>
 
155
    </div>
 
156
 
 
157
      <div id="bottom_pane"></div></td>
 
158
  </tr>
 
159
</table>
 
160
</body>
 
161
</html>
 
162