administration_view.tpl 3.34 KB
Newer Older
Jerome Mariette's avatar
Jerome Mariette committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{*
Copyright (C) 2009 INRA
 
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*}

Jerome Mariette's avatar
Jerome Mariette committed
18
19
20
21
22
23
<div id="user_information_dialog" title=""></div>

<input type="hidden" id="user_is_login" value="{$login_user}" />
<input type="hidden" id="user_id" value="{$user_id}" />
<input type="hidden" id="data_folder" value="{$data_folder}" />
<input type="hidden" id="usergroup" value="{$group_info.uid}" />
24
<input type="hidden" id="server_url" value="{$server_url}" />
Jerome Mariette's avatar
Jerome Mariette committed
25

Jerome Mariette's avatar
Jerome Mariette committed
26
27
28
29
30
<div class="sub-content sc-top">	
	<div class="ng6-content-header-left administration">
		<h2>Administration <small> center </small> </h2>
	</div>
	<div class="ng6-content-header-right">
31
		Monitor running workflows and disk space usage. Select a tab to display what you want.
Jerome Mariette's avatar
Jerome Mariette committed
32
33
	</div>
	<div style="clear:both"></div>
Jerome Mariette's avatar
Jerome Mariette committed
34
</div>
Jerome Mariette's avatar
Jerome Mariette committed
35
36
37
38

<div class="sub-content sc-bottom">

	<ul id="myTab" class="nav nav-tabs">
39
		<li class="active"><a href="#wf_monitoring" data-toggle="tab">Workflows monitoring</a></li>
Jerome Mariette's avatar
Jerome Mariette committed
40
		<li><a href="#project_stat" data-toggle="tab">Project statistics</a></li>
Jerome Mariette's avatar
Jerome Mariette committed
41
		<li><a href="#data_stat" data-toggle="tab">Data statistics</a></li>
Jerome Mariette's avatar
Jerome Mariette committed
42
43
44
45
	</ul>

	<div id="myTabContent" class="tab-content">
	
46
47
		<div class="tab-pane fade in active" id="wf_monitoring"></div>
		
Jerome Mariette's avatar
Jerome Mariette committed
48
		<div class="tab-pane fade" id="project_stat">
49
50
			{include file="statistics_menu.tpl" prefix="project"}
			<div id="project_graph"> </div>
Jerome Mariette's avatar
Jerome Mariette committed
51
52
		</div>
		
Jerome Mariette's avatar
Jerome Mariette committed
53
		<div class="tab-pane fade" id="data_stat">
54
55
			{include file="statistics_menu.tpl" prefix="data"}
			<div id="data_graph"> </div>
Celine Noirot's avatar
Celine Noirot committed
56
			<!--
Jerome Mariette's avatar
Jerome Mariette committed
57
			<div id="size_chart"></div>
philippe's avatar
philippe committed
58
59
			<div id="chart_options" class="form-inline">
				<label class="control-label" for="group_list" style="font-size:12px">Select a user group</label>
Jerome Mariette's avatar
Jerome Mariette committed
60
				<select id="group_list">
philippe's avatar
philippe committed
61
62
63
64
					<option value="0">All</option>
					{foreach from=$group_list key=g_id item=g_val}
						<option value="{$g_val.uid}">{$g_val.title}</option>
					{/foreach}
Jerome Mariette's avatar
Jerome Mariette committed
65
				</select>
philippe's avatar
philippe committed
66
67
68
69
70
71
72
73
74
75
				&nbsp;&nbsp;&nbsp;
				<label class="checkbox" style="font-size:12px">
					<input id="chk_get_analyzes" type="checkbox">
					Includes analyses
				</label>
				&nbsp;&nbsp;&nbsp;
				<label class="checkbox" style="font-size:12px">
					<input id="chk_get_cumulative" type="checkbox">
					Cumulate values
				</label>
Jerome Mariette's avatar
Jerome Mariette committed
76
			</div>
Celine Noirot's avatar
Celine Noirot committed
77
78
79
			-->
			
			
Jerome Mariette's avatar
Jerome Mariette committed
80
		</div>
Jerome Mariette's avatar
Jerome Mariette committed
81
		
Jerome Mariette's avatar
Jerome Mariette committed
82
	</div>
83
84
85
86
87
</div>

<!-- statusModal -->
<div id="statusModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="statusModalLabel" aria-hidden="true">
	<div class="modal-header">
Penom Nom's avatar
Penom Nom committed
88
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">x</button>
89
90
91
92
93
94
95
		<h3 id="statusModalLabel"></h3>
	</div>
	<div id="statusModalBody" class="modal-body"></div>
	<div class="modal-footer">
		<button id="refresh_workflow" class="btn"><i class="icon-refresh"></i> Refresh</button>
		<button id="rerun_workflow" class="btn btn-primary"><i class="icon-cog icon-white"></i> ReRun</button>
	</div>
Jerome Mariette's avatar
Jerome Mariette committed
96
</div>