6281 |
09 Jun 21 |
nicklas |
1 |
<%@ page |
6281 |
09 Jun 21 |
nicklas |
2 |
pageEncoding="UTF-8" |
6281 |
09 Jun 21 |
nicklas |
3 |
session="false" |
6281 |
09 Jun 21 |
nicklas |
4 |
import="net.sf.basedb.core.User" |
6281 |
09 Jun 21 |
nicklas |
5 |
import="net.sf.basedb.core.DbControl" |
6281 |
09 Jun 21 |
nicklas |
6 |
import="net.sf.basedb.core.SessionControl" |
6281 |
09 Jun 21 |
nicklas |
7 |
import="net.sf.basedb.core.Application" |
6281 |
09 Jun 21 |
nicklas |
8 |
import="net.sf.basedb.util.Values" |
6281 |
09 Jun 21 |
nicklas |
9 |
import="net.sf.basedb.clients.web.Base" |
6281 |
09 Jun 21 |
nicklas |
10 |
import="net.sf.basedb.clients.web.util.HTML" |
6281 |
09 Jun 21 |
nicklas |
11 |
import="net.sf.basedb.clients.web.extensions.ExtensionsControl" |
6281 |
09 Jun 21 |
nicklas |
12 |
%> |
6281 |
09 Jun 21 |
nicklas |
13 |
<%@ taglib prefix="base" uri="/WEB-INF/base.tld" %> |
6281 |
09 Jun 21 |
nicklas |
14 |
<% |
6281 |
09 Jun 21 |
nicklas |
15 |
final SessionControl sc = Base.getExistingSessionControl(request, "net.sf.basedb.reggie", true); |
6281 |
09 Jun 21 |
nicklas |
16 |
final String ID = sc.getId(); |
6281 |
09 Jun 21 |
nicklas |
17 |
final float scale = Base.getScale(sc); |
6281 |
09 Jun 21 |
nicklas |
18 |
final String home = ExtensionsControl.getHomeUrl("net.sf.basedb.reggie"); |
6281 |
09 Jun 21 |
nicklas |
19 |
DbControl dc = null; |
6281 |
09 Jun 21 |
nicklas |
20 |
try |
6281 |
09 Jun 21 |
nicklas |
21 |
{ |
6281 |
09 Jun 21 |
nicklas |
22 |
dc = sc.newDbControl(); |
6281 |
09 Jun 21 |
nicklas |
23 |
final User user = User.getById(dc, sc.getLoggedInUserId()); |
6281 |
09 Jun 21 |
nicklas |
24 |
%> |
6281 |
09 Jun 21 |
nicklas |
25 |
<base:page type="popup" title="Select libraries for demux"> |
6281 |
09 Jun 21 |
nicklas |
26 |
<base:head scripts="~select_libs.js,~../reggie-2.js" styles="~../css/reggie-2.css"> |
6281 |
09 Jun 21 |
nicklas |
27 |
|
6281 |
09 Jun 21 |
nicklas |
28 |
<style> |
6281 |
09 Jun 21 |
nicklas |
29 |
#library-list |
6281 |
09 Jun 21 |
nicklas |
30 |
{ |
6281 |
09 Jun 21 |
nicklas |
31 |
width: 100%; |
6281 |
09 Jun 21 |
nicklas |
32 |
border-collapse: collapse; |
6281 |
09 Jun 21 |
nicklas |
33 |
border-bottom: 1px solid #A8A8A8; |
6281 |
09 Jun 21 |
nicklas |
34 |
} |
6281 |
09 Jun 21 |
nicklas |
35 |
|
6281 |
09 Jun 21 |
nicklas |
36 |
#library-list th |
6281 |
09 Jun 21 |
nicklas |
37 |
{ |
6281 |
09 Jun 21 |
nicklas |
38 |
background-color: #E8E8E8; |
6281 |
09 Jun 21 |
nicklas |
39 |
text-align: left; |
6281 |
09 Jun 21 |
nicklas |
40 |
padding: 2px; |
6281 |
09 Jun 21 |
nicklas |
41 |
border-bottom: 1px solid #A8A8A8; |
6281 |
09 Jun 21 |
nicklas |
42 |
} |
6281 |
09 Jun 21 |
nicklas |
43 |
|
6281 |
09 Jun 21 |
nicklas |
44 |
#library-list td |
6281 |
09 Jun 21 |
nicklas |
45 |
{ |
6281 |
09 Jun 21 |
nicklas |
46 |
padding: 2px; |
6281 |
09 Jun 21 |
nicklas |
47 |
border-bottom: 1px dotted #A8A8A8; |
6281 |
09 Jun 21 |
nicklas |
48 |
} |
6281 |
09 Jun 21 |
nicklas |
49 |
|
6281 |
09 Jun 21 |
nicklas |
50 |
#library-list td:first-child |
6281 |
09 Jun 21 |
nicklas |
51 |
{ |
6281 |
09 Jun 21 |
nicklas |
52 |
width: 5em; |
6281 |
09 Jun 21 |
nicklas |
53 |
text-align: right; |
6281 |
09 Jun 21 |
nicklas |
54 |
font-weight: bold; |
6281 |
09 Jun 21 |
nicklas |
55 |
} |
6281 |
09 Jun 21 |
nicklas |
56 |
|
6281 |
09 Jun 21 |
nicklas |
57 |
</style> |
6281 |
09 Jun 21 |
nicklas |
58 |
|
6281 |
09 Jun 21 |
nicklas |
59 |
</base:head> |
6281 |
09 Jun 21 |
nicklas |
60 |
<base:body> |
6281 |
09 Jun 21 |
nicklas |
61 |
<h1>Select libraries for demux</h1> |
6281 |
09 Jun 21 |
nicklas |
62 |
|
6281 |
09 Jun 21 |
nicklas |
63 |
|
6281 |
09 Jun 21 |
nicklas |
64 |
<form name="reggie" id="wizard" class="wizard"> |
6281 |
09 Jun 21 |
nicklas |
65 |
<div class="content bottomborder"> |
6281 |
09 Jun 21 |
nicklas |
66 |
|
6281 |
09 Jun 21 |
nicklas |
67 |
<div id="libraries"></div> |
6281 |
09 Jun 21 |
nicklas |
68 |
|
6281 |
09 Jun 21 |
nicklas |
69 |
</div> |
6281 |
09 Jun 21 |
nicklas |
70 |
</form> |
6281 |
09 Jun 21 |
nicklas |
71 |
|
6281 |
09 Jun 21 |
nicklas |
72 |
<base:buttongroup subclass="dialogbuttons" id="dialogbuttons"> |
6281 |
09 Jun 21 |
nicklas |
73 |
<base:button id="btnOk" title="Ok" /> |
6281 |
09 Jun 21 |
nicklas |
74 |
<base:button id="close" title="Cancel" /> |
6281 |
09 Jun 21 |
nicklas |
75 |
</base:buttongroup> |
6281 |
09 Jun 21 |
nicklas |
76 |
|
6281 |
09 Jun 21 |
nicklas |
77 |
</base:body> |
6281 |
09 Jun 21 |
nicklas |
78 |
</base:page> |
6281 |
09 Jun 21 |
nicklas |
79 |
<% |
6281 |
09 Jun 21 |
nicklas |
80 |
} |
6281 |
09 Jun 21 |
nicklas |
81 |
finally |
6281 |
09 Jun 21 |
nicklas |
82 |
{ |
6281 |
09 Jun 21 |
nicklas |
83 |
if (dc != null) dc.close(); |
6281 |
09 Jun 21 |
nicklas |
84 |
} |
6281 |
09 Jun 21 |
nicklas |
85 |
%> |