4567 |
07 Oct 08 |
nicklas |
1 |
<%-- $Id$ |
4567 |
07 Oct 08 |
nicklas |
2 |
------------------------------------------------------------------ |
4567 |
07 Oct 08 |
nicklas |
Copyright (C) 2008 Nicklas Nordborg |
4567 |
07 Oct 08 |
nicklas |
4 |
|
4567 |
07 Oct 08 |
nicklas |
5 |
This file is part of BASE - BioArray Software Environment. |
4567 |
07 Oct 08 |
nicklas |
6 |
Available at http://base.thep.lu.se/ |
4567 |
07 Oct 08 |
nicklas |
7 |
|
4567 |
07 Oct 08 |
nicklas |
8 |
BASE is free software; you can redistribute it and/or |
4567 |
07 Oct 08 |
nicklas |
9 |
modify it under the terms of the GNU General Public License |
4567 |
07 Oct 08 |
nicklas |
10 |
as published by the Free Software Foundation; either version 3 |
4567 |
07 Oct 08 |
nicklas |
11 |
of the License, or (at your option) any later version. |
4567 |
07 Oct 08 |
nicklas |
12 |
|
4567 |
07 Oct 08 |
nicklas |
13 |
BASE is distributed in the hope that it will be useful, |
4567 |
07 Oct 08 |
nicklas |
14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
4567 |
07 Oct 08 |
nicklas |
15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4567 |
07 Oct 08 |
nicklas |
16 |
GNU General Public License for more details. |
4567 |
07 Oct 08 |
nicklas |
17 |
|
4567 |
07 Oct 08 |
nicklas |
18 |
You should have received a copy of the GNU General Public License |
4567 |
07 Oct 08 |
nicklas |
19 |
along with BASE. If not, see <http://www.gnu.org/licenses/>. |
4567 |
07 Oct 08 |
nicklas |
20 |
------------------------------------------------------------------ |
4567 |
07 Oct 08 |
nicklas |
21 |
|
4567 |
07 Oct 08 |
nicklas |
22 |
@author Nicklas |
4567 |
07 Oct 08 |
nicklas |
23 |
--%> |
5426 |
24 Sep 10 |
nicklas |
24 |
<%@ page pageEncoding="UTF-8" session="false" |
4567 |
07 Oct 08 |
nicklas |
25 |
import="net.sf.basedb.core.SessionControl" |
4567 |
07 Oct 08 |
nicklas |
26 |
import="net.sf.basedb.clients.web.Base" |
4567 |
07 Oct 08 |
nicklas |
27 |
import="net.sf.basedb.util.Values" |
4567 |
07 Oct 08 |
nicklas |
28 |
import="net.sf.basedb.clients.web.util.HTML" |
4567 |
07 Oct 08 |
nicklas |
29 |
%> |
4567 |
07 Oct 08 |
nicklas |
30 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
4567 |
07 Oct 08 |
nicklas |
31 |
<% |
4567 |
07 Oct 08 |
nicklas |
32 |
String title = (String)application.getAttribute("broadcast.title"); |
4567 |
07 Oct 08 |
nicklas |
33 |
String message = (String)application.getAttribute("broadcast.message"); |
4567 |
07 Oct 08 |
nicklas |
34 |
final SessionControl sc = Base.getSessionControl(pageContext, true); |
4567 |
07 Oct 08 |
nicklas |
35 |
final String ID = sc.getId(); |
5911 |
15 Dec 11 |
nicklas |
36 |
final String serverAdminName = Values.getStringOrNull(sc.getClientDefaultSetting("server.admin.name")); |
5911 |
15 Dec 11 |
nicklas |
37 |
final String serverAdminEmail = Values.getStringOrNull(sc.getClientDefaultSetting("server.admin.email")); |
4567 |
07 Oct 08 |
nicklas |
38 |
final float scale = Base.getScale(sc); |
4567 |
07 Oct 08 |
nicklas |
39 |
|
4567 |
07 Oct 08 |
nicklas |
40 |
%> |
4567 |
07 Oct 08 |
nicklas |
41 |
<base:page type="popup" title="<%=title%>"> |
6610 |
20 Nov 14 |
nicklas |
42 |
<base:head scripts="~info.js"/> |
6520 |
18 Aug 14 |
nicklas |
43 |
<base:body data-read-only="1"> |
5911 |
15 Dec 11 |
nicklas |
44 |
<h1><%=HTML.encodeTags(title)%></h1> |
5911 |
15 Dec 11 |
nicklas |
45 |
|
6610 |
20 Nov 14 |
nicklas |
46 |
<div class="content bg-filled-50 bottomborder"> |
5911 |
15 Dec 11 |
nicklas |
47 |
<div class="absolutefull" style="top: 8px; bottom: 3em; left: 8px; right: 8px;"> |
4567 |
07 Oct 08 |
nicklas |
48 |
<%=HTML.niceFormat(message)%> |
5911 |
15 Dec 11 |
nicklas |
49 |
</div> |
5911 |
15 Dec 11 |
nicklas |
50 |
<div style="position: absolute; bottom: 0px; height: 3em; left: 0px; right: 0px;" class="topborder"> |
5911 |
15 Dec 11 |
nicklas |
51 |
<table style="margin: auto; height: 100%;"><tr><td> |
5911 |
15 Dec 11 |
nicklas |
52 |
<b>Server administrator:</b> |
5911 |
15 Dec 11 |
nicklas |
53 |
<%=Values.getString(serverAdminName, "Unknown")%> |
5911 |
15 Dec 11 |
nicklas |
54 |
<%=serverAdminEmail == null ? "": ", <a href=\"mailto:"+serverAdminEmail+"\">"+serverAdminEmail+"</a>"%> |
5911 |
15 Dec 11 |
nicklas |
55 |
</td></tr></table> |
5911 |
15 Dec 11 |
nicklas |
56 |
</div> |
5911 |
15 Dec 11 |
nicklas |
57 |
</div> |
5911 |
15 Dec 11 |
nicklas |
58 |
|
5911 |
15 Dec 11 |
nicklas |
59 |
<base:buttongroup subclass="dialogbuttons"> |
6177 |
22 Oct 12 |
nicklas |
60 |
<base:button id="close" title="Close" /> |
5911 |
15 Dec 11 |
nicklas |
61 |
</base:buttongroup> |
4567 |
07 Oct 08 |
nicklas |
62 |
</base:body> |
4567 |
07 Oct 08 |
nicklas |
63 |
</base:page> |