File: header.aspx

package info (click to toggle)
mono-tools 2.10-6
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 13,012 kB
  • sloc: cs: 97,611; sh: 3,737; makefile: 1,880; xml: 128; sql: 18
file content (117 lines) | stat: -rw-r--r-- 2,800 bytes parent folder | download
1
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
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  <title>MonoDoc Header</title>
  <meta name="description" content="Mono Documentation header">
  <link rel="stylesheet" type="text/css" href="common.css" media="all"
  title='Default Style'/>
  <style>
img.toolbarsep {
        border: 0px;
        margin-bottom: 1px;
        margin-top: 1px;
        padding-top: 3px;
        padding-bottom: 3px;
        vertical-align: middle;
}

img.toolbar {
        border: 0px;
        margin: 1px;
        padding: 3px;
        vertical-align: middle;
}

img.toolbar:hover {
        border-left: 1px solid white;
        border-right: 1px solid #B1A598;
        border-top: 1px solid white;
        border-bottom: 1px solid #B1A598;
        margin: 0px;
}

img.toolbar:active {
        border-right: 1px solid white;
        border-left: 1px solid #B1A598;
        border-bottom: 1px solid white;
        border-top: 1px solid #B1A598;
}


#login {
        position: fixed;
        top: 0px;
        right: 0px;
        float: right;
        padding: 5px;
}

#rightSide {
        position: fixed;
        bottom: 0px;
        right: 0px;
        float: right;
        padding: 5px;
}
#header {
  background: #679EF1 url(mdocimages/headerbg.png) no-repeat 100% 50%;
  background-color: #679EF1;
  background-position: 100% 50%;
  background-repeat: no-repeat;
  border-bottom: 1px dotted #3363BD;
  color: black;
  height: 40px;
  margin-bottom: 0px;
  padding: 0px 0px 0px 15px;
  position: relative;
}
#header h1 {
   color: white;
   font-family: arial, helvetica, verdana, sans-serif;
   font-size: 22px;
   font-weight: bold;
   line-height: 1.8em;
}

  </style>

  <script language="C#" runat=server>
        void Page_Load (object sender, EventArgs e)
        {
		if (User.Identity.IsAuthenticated){
			login.NavigateUrl = "logout.aspx";
			login.Text = "Logged in as " + User.Identity.Name;
		} else {
			login.NavigateUrl = "javascript:parent.content.login (parent.content.window.location)";
			//login.Text = "Sign in / create account"; 
		}
        }
  </script>

</head>

<body
style="color: rgb(255, 255, 255); background-color: #c0dda2;"
link="#ffffff" alink="#ffffff" vlink="#ffffff">
<div id="header">
   <h1>Mono Documentation</h1>
</div>
<div id="dlogin">
   <asp:HyperLink id="login" runat="server" target="_top"/>
</div>

<div id="rightSide">
   <a href="javascript:parent.content.print();">
     <img class="toolbar" src="images/print.png" alt="Print"
     title="Print this document"/>
   </a>
   <a target="_top" id="pageLink" href="/">
     <img class="toolbar" src="images/link.png" alt="Link to this
     document" title="Link to this document"/>
   </a>
</div>


</body>
</html>