root/webmanagement/templates/project_request/bs_template.html

Revision 147, 3.6 kB (checked in by gallardj, 1 year ago)

Fixes #2820. Added the search bar, to the project request template.

  • Property svn:executable set to *
Line 
1 <!DOCTYPE html
2     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 <head>
6 <title>{% block title %}{% endblock %}</title>
7 <link rel="stylesheet" href="/projects/admin/chrome/common/css/trac.css" type="text/css" />
8 <link rel="stylesheet" href="/projects/admin/chrome/common/css/bs.css" type="text/css" />
9 <link rel="icon" href="/projects/admin/chrome/common/trac.ico" type="image/x-icon" />
10 <style type="text/css">
11     td label { font-weight: bold; display: block; }
12     td { vertical-align: top; border-top: solid thin black; padding-bottom: 8px; margin: 0px; }
13     select { min-width: 200px; }
14 </style>
15 <script language="JavaScript">
16 //here you place the ids of every element you want.
17
18 function CheckChange(id){       
19         if(id != 'I') {
20                 showdiv('dept');
21                 hidediv('term');
22         }
23         if(id == 'C') {
24                 showdiv('term');  //show term as well as already showing dept
25         }
26         if(id == 'I'){
27                 hidediv('dept');
28                 hidediv('term');
29         }
30 }
31
32 function hidediv(id) {
33         //safe function to hide an element with a specified id
34         if (document.getElementById) { // DOM3 = IE5, NS6
35                 document.getElementById(id).style.display = 'none';
36         }
37         else {
38                 if (document.layers) { // Netscape 4
39                         document.id.display = 'none';
40                 }
41                 else { // IE 4
42                         document.all.id.style.display = 'none';
43                 }
44         }
45 }
46
47 function showdiv(id) {
48         //safe function to show an element with a specified id
49                   
50         if (document.getElementById) { // DOM3 = IE5, NS6
51                 document.getElementById(id).style.display = '';
52         }
53         else {
54                 if (document.layers) { // Netscape 4
55                         document.id.display = '';
56                 }
57                 else { // IE 4
58                         document.all.id.style.display = '';
59                 }
60         }
61 }
62 </script>
63  <script type="text/javascript" src="http://beaversource.oregonstate.edu/projects/admin/chrome/common/js/trac.js"></script>
64 </head>
65 <body>
66 <script src="/social/mod/toolbar/js.php"></script>
67 <div id="banner">
68
69   <div id="header"><!-- open div header -->
70     <div style="float: right;"><img src="/projects/admin/chrome/common/wordmark.gif"/></div>
71         <a href="/social" id="logo"><img alt="" src="/projects/admin/chrome/common/logo.png"/></a><hr/>
72   </div>
73   <form id="search" action="http://beaversource.oregonstate.edu/social/search/index.php" method="get">
74   <div>
75     <input type="text" size="20" name="tag" value="Search" onclick="if (this.value=='Search') { this.value='' }" />
76       <select name="user_type">
77           <option value="">-- All --</option>
78             <option value="person">People</option>
79
80               <option value="community">Communities</option>
81                 <option value="projects">Projects</option>
82         </select>
83       <input type="submit" value="Go" />
84   </div>
85   </form>
86 </div>
87
88 <div id="mainnav" class="nav">
89
90 <ul>
91 <li class="first"><a accesskey="1" href="/social/content/About">About Beaversource</a></li>
92 </ul>
93
94 </div>
95
96
97 {% block content %}{% endblock %}
98
99
100 <!--
101 <div id="altlinks">
102 <h3>Download in other formats:</h3>
103 <ul>
104 <li class="first last"><a href="/projects/?hdfdump=1">Plain Text</a></li>
105 </ul>
106 </div>-->
107
108
109 <div id="footer">
110  <hr />
111
112  <a id="tracpowered" href="http://trac.edgewall.org/"><img src="http://beaversource.oregonstate.edu/projects/admin/chrome/common/trac_logo_mini.png" height="30" width="107"
113    alt="Trac Powered"/></a>
114  <p class="left">
115   Powered by <a href="/projects/admin/about"><strong>Trac 0.10.3</strong></a><br />
116   By <a href="http://www.edgewall.org/">Edgewall Software</a>.
117  </p>
118  <p class="right">
119   Visit the Trac open source project at<br /><a href="http://trac.edgewall.org/">http://trac.edgewall.org/</a>
120
121  </p>
122 </div>
123
124
125 </body></html>
Note: See TracBrowser for help on using the browser.