add deployment script
[opensuse:apport-opensuse-crashdb.git] / app / views / layouts / crashdb.html.erb
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" xml:lang="en" lang="en" dir="ltr">
3  <head>
4   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5   <meta name="KEYWORDS" content="openSUSE.org" />
6   <meta name="robots" content="index,follow" />
7   <link rel="shortcut icon" href="http://static.opensuse.org/hosts/build.o.o/images/favicon.ico" />
8   <title>Apport Crash Database - <%= @title || "Unknown" %></title>
9   <%= stylesheet_link_tag 'http://static.opensuse.org/hosts/build.o.o/css/style.css' %>
10   <!--[if lte IE 7]>
11     <link href="css/local/style_iehacks.css" rel="stylesheet" type="text/css"/>
12   <![endif]-->
13   <%= stylesheet_link_tag 'http://static.opensuse.org/hosts/build.o.o/css/style_print.css', :media => :print %>
14 <!--  <%= stylesheet_link_tag 'contentadd_style.css' %> -->
15 <!--
16   <script type="text/javascript" src="./javascript/common/langsel.js"></script>
17 -->
18  </head>
19 <!--
20  <body onload="langShow ();" class="ns-0">
21 -->
22  <body class="ns-0">
23   <div class="skipLinks">
24    <a href="/" accesskey="1">Home</a> | 
25    <a href="#top" accesskey="2">Content</a> | 
26    <a href="#searchbox" accesskey="3">Search</a> | 
27    <a href="#firstnavitem" accesskey="4">Navigation</a>
28 <!-- | 
29    <a href="#p-lang" accesskey="5">In other languages</a>
30 -->
31   </div>
32   <div id="page_margins">
33    <div id="page" class="hold_floats">
34     <!-- Begin 2 column main part -->
35     <div id="main">
36      <!-- Begin left column -->
37      <div id="col1">
38       <div id="col1_content" class="clearfix">
39        <!-- Begin Logo -->
40        <div class="grey_box" id="logo">
41         <div class="box_content_row">
42          <div class="box_content" id="logo_content">
43           <a href="/"><%= image_tag("http://static.opensuse.org/c/images/common/geeko.jpg") %></a>
44          </div>
45         </div>
46         <div class="box_bottom_row">
47          <div class="box_left"></div>
48          <div class="box_right"></div>
49         </div>
50        </div>
51        <!-- End Logo -->
52        <!-- Begin openSUSE navigation -->
53        <div class="grey_box" id="firstnavitem">
54         <div class="box_top_row">
55          <div class="box_left"></div>
56          <div class="box_right"></div>
57         </div>
58         <div class="box_title_row">
59          <div class="box_title">
60           openSUSE 
61          </div>
62         </div>
63         <div class="box_content">
64          <ul class="navlist">
65           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_download.png)"><a href="http://download.opensuse.org/">Get Software</a></li>
66           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://en.opensuse.org">Wiki</a></li>
67           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_build.png)"><a href="http://build.opensuse.org/">Build Software</a></li>
68           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_community.png)"><a href="http://users.opensuse.org/">User Directory</a></li>
69           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="https://features.opensuse.org/">Features</a></li>
70           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://news.opensuse.org/">News</a></li>
71           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://forums.opensuse.org/">Forums</a></li>
72           <li style="list-style-image: url(http://static.opensuse.org/c/css/common/images/liDot_wiki.png)"><a href="http://shop.opensuse.org/">Shop</a></li>
73
74          </ul>
75         </div>
76         <div class="box_bottom_row">
77          <div class="box_left"></div>
78          <div class="box_right"></div>
79         </div>
80        </div>
81        <br />
82        <!-- End openSUSE navigation -->
83        <!-- Begin custom navigation -->
84        <div class="darkgrey_box">
85         <div class="box_top_row">
86          <div class="box_left"></div>
87          <div class="box_right"></div>
88         </div>
89         <div class="box_title_row">
90          <div class="box_title">
91           Apport Links
92          </div>
93         </div>
94         <div class="box_content">
95          <ul class="navlist">
96           <li><a href="http://en.opensuse.org/Apport">Wiki Pages</a></li>
97           <li><a href="http://en.opensuse.org/Bugs/Apport">Reporting a Bug</a></li>
98           <li><a href="https://bugzilla.novell.com">Novell Bugzilla</a></li>
99           <br />
100           <li><a href="http://en.opensuse.org/Apport_Development">Apport Development</a></li>
101          </ul>
102         </div>
103         <div class="box_bottom_row">
104          <div class="box_left"></div>
105          <div class="box_right"></div>
106         </div>
107        </div>
108        <br />
109        <% if session[:user_id] %>
110        <div class="darkgrey_box" id="p-tb">
111         <div class="box_top_row">
112          <div class="box_left"></div>
113          <div class="box_right"></div>
114         </div>
115         <div class="box_title_row">
116          <div class="box_title">
117           Administration
118          </div>
119         </div>
120         <div class="box_content">
121          <ul class="navlist">
122           <li><%= link_to "Logout", { :controller => :admin, :action => :logout } %></li>
123           <li><%= link_to "Users", { :controller => :users, :action => :index } %></li>
124          </ul>
125         </div>
126         <div class="box_bottom_row">
127          <div class="box_left"></div>
128          <div class="box_right"></div>
129         </div>
130        </div>
131        <br />
132        <% end %>
133        <div id="pt-personal">
134         <!-- Begin Personal links (Login, etc.) -->
135         <%= link_to(image_tag("invisible.png"), { :controller => :admin, :action => :login }) %>
136         <!-- <a href="/">Create an account or log in</a> -->
137         <!-- End Personal links (Login, etc.) -->
138        </div>
139        <!-- End custom navigation -->
140        <!-- Begin Language navigation noscript -->
141 <!--
142        <noscript>
143        <div class="grey_box" id="p-lang">
144         <div class="box_top_row">
145          <div class="box_left"></div>
146          <div class="box_right"></div>
147         </div>
148         <div class="box_title_row">
149          <div class="box_title">
150           In other languages
151          </div>
152         </div>
153         <div class="box_content">
154          <ul class="navlist">
155           <li><a href="/">Language 1</a></li>
156           <li><a href="/">Language 2</a></li>
157           <li><a href="/">Language 3</a></li>
158          </ul>
159         </div>
160         <div class="box_bottom_row">
161          <div class="box_left"></div>
162          <div class="box_right"></div>
163         </div>
164        </div>
165        <br />
166        </noscript>
167 -->
168        <!-- End Language navigation noscript -->
169       </div>
170      </div>
171      <!-- End left column -->
172      <!-- Begin right cloumn -->
173      <div id="col3">
174       <div id="col3_content" class="clearfix">
175        <div class="darkgrey_box_double" id="banner_darkgrey">
176         <div class="box_content_row">
177          <div class="box_content" id="banner_content">
178           <div id="pt-personal">
179            <!-- Begin Personal links (Login, etc.) -->
180            <!-- <a href="/">Create an account or log in</a> -->
181            <br />
182            <!-- End Personal links (Login, etc.) -->
183           </div>
184           <div class="subcolumns">
185            <div class="c50l">
186             <div class="subcl">
187              <div id="slogan">
188                <%= image_tag("crashdb.png") %>
189              </div>
190             </div>
191            </div>
192            <div class="c50r">
193             <div class="subcr">
194              <div id="searchbox">
195               <!-- Begin search -->
196               <% form_tag(:controller => :report, :action => :search) do %>
197                <div class="topleft">
198                 <div class="topright">
199                  <div class="bottomleft">
200                   <div class="bottomright">
201                    <input id="searchInput" name="search" type="text"  value="" />
202                   </div>
203                  </div>
204                 </div>
205                </div>
206 <!--               <input type="image" name="go" value="Go" title="Title Search" src="http://static.opensuse.org/hosts/build.o.o/css/images/darkgrey_searchbox/go.png" class="button" />
207                &nbsp; -->
208                <input type="image" name="fulltext" value="Search" title="Fulltext Search" src="http://static.opensuse.org/hosts/build.o.o/css/images/darkgrey_searchbox/search.png" class="button" />
209               <% end %>
210               <!-- End search -->
211              </div>
212             </div>
213            </div>
214           </div>
215          </div>
216         </div>
217         <div class="box_bottom_row">
218          <div class="box_left"></div>
219          <div class="box_right"></div>
220         </div>
221        </div>
222        <br style="clear: right;" />
223        <div id="contentarea">
224         <div class="grey_box_double">
225          <div class="box_top_row">
226           <div class="box_left"></div>
227           <div class="box_right"></div>
228          </div>
229          <div class="box_title_row">
230           <div class="box_title">
231            <!-- Begin language select -->
232 <!--
233            <div id="langsel" class="hide">
234             <form action="" name="langsel">
235              <select name="lang" onchange="langRedirect()">
236               <option value="">In other languages</option>
237               <option value="language 1">Language 1</option>
238               <option value="language 2">Language 2</option>
239               <option value="language 3">Language 3</option>
240              </select>
241             </form>
242            </div>
243 -->
244            <!-- End langauge select -->
245            <div id="page_actions">
246             <!-- Begin page actions -->
247             <ul class="navlist">
248               <li><%= link_to "All Reports", :controller => :report, :action => :index %></li>
249               <li><%= link_to "openSUSE 11.2", :controller => :report, :action => :search, :product => "SUSE LINUX 11.2" %></li>
250               <li><%= link_to "openSUSE 11.1", :controller => :report, :action => :search, :product => "SUSE LINUX 11.1" %></li>
251             </ul>
252             <!-- End page actions -->
253            </div>
254           </div>
255          </div>
256
257          <div class="box_content" id="bodyContent">
258           <a name="top" id="top"></a>
259           <!--
260           <h1>openSUSE.org Theme</h1>
261               <h3 id="siteSub">From openSUSE</h3>
262           -->
263
264           <% if flash[:notice] -%>
265           <div id="notice">
266             <p style="color: red">
267               <%= flash[:notice] %>
268             </p>
269           </div>
270           <% end -%>
271
272               <div id="contentSub"></div>
273
274           <%= yield %>
275
276           <!-- End Content Area -->
277           <div style="clear:both;"></div>
278          </div>
279
280          <div class="box_footer_row">
281           <div id="page_footer" class="box_footer">
282            <!-- Begin Footer -->
283            This site uses the <a href="http://www.yaml.de/en/">YAML</a> CSS framework.
284            <br />
285            <a href="http://en.opensuse.org/openSUSE:About" title="openSUSE:About">About openSUSE</a> | 
286            <a href="http://en.opensuse.org/openSUSE:General_disclaimer" title="openSUSE:General disclaimer">Disclaimers</a> | 
287            <a class="plainlink" href="mailto:webmaster@opensuse.org">Feedback</a>
288            <br />
289            <br />
290            <a href="http://www.novell.com/linux/">
291              <%= image_tag("http://static.opensuse.org/c/images/common/founded_novell.gif" ) %>
292            </a>
293            <!-- End Footer -->
294           </div>
295          </div>
296          <div class="box_bottom_row">
297           <div class="box_left"></div>
298           <div class="box_right"></div>
299          </div>
300         </div>
301        </div>
302       </div>
303       <!-- IE Column Clearing -->
304       <div id="ie_clearing">&nbsp;</div>
305       <!-- Ende: IE Column Clearing -->
306      </div>
307      <!-- End right column -->
308     </div>
309     <!-- End 2 cloumn main part -->
310    </div>
311   </div>
312   <!-- Begin Statistic Thing -->
313   <script type="text/javascript" src="http://www.novell.com/inc/superstats.js"></script>
314   <noscript><img src="https://novellcom.112.2O7.net/b/ss/novellcom/1/G.6--NS/0" height="1" width="1" alt="" /></noscript>
315   <!-- End Statistic Thing -->
316  </body>
317 </html>