aboutsummaryrefslogtreecommitdiff
path: root/views/default/canvas/layouts/administration.php
blob: 35baf8fd67eb30b8189670f1d7b6c5f519757b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<?php
/**
 * Elgg Admin Area Canvas
 *
 * @package Elgg
 * @subpackage Core
 * @author Curverider Ltd
 * @link http://elgg.org/
 */
?>
<style type="text/css">
/**
 * ELGG DEFAULT ADMIN AREA CSS
   @todo - move into separate css file
*/
/* temporary force-hide / override some base elements  */
body { background-color: #444444; }
#elgg_header { display:none; }
#elgg_footer { display:none; }

#admin_header {
	background-color:#333333;
	border-bottom:1px solid #555555;
}
#admin_footer {
	background:#333333;
	border-top:1px solid #222222;
	clear:both;
	height:30px;
	width:100%;
}
#admin_header .network_title h2 {
	height:45px;
	line-height:45px;
	margin:0;
	padding:0 0 0 20px;
	border:0;
}
#admin_header .network_title h2 a {
	color:white;
}
#admin_header .network_title h2 a:hover {
	color:white;
	text-decoration: underline;
}
#elgg_content.admin_area {
	margin:20px;
	min-height:400px;
	position:relative;
	width:auto;
}
#elgg_content.admin_area #elgg_page_contents  {
	float:left;
	margin:0;
	padding:14px;
	width:75%;
	background-color: white;
	-webkit-border-radius: 6px; 
	-moz-border-radius: 6px;
}
#elgg_content.admin_area #elgg_sidebar  {
	float:left;
	margin:0;
	min-height:400px;
	padding:0 0 0 3%;
	position:relative;
	width:17%;
}

.admin_area h1, 
.admin_area h2,
.admin_area h3,
.admin_area h4,
.admin_area h5,
.admin_area h6 { 
	color:#666666;
}
.admin_area .submenu {
	margin:0;
	padding:0;
	list-style: none;
}
.admin_area .submenu li.selected a,
.admin_area .submenu li.selected li.selected a,
.admin_area .submenu li.selected li.selected li.selected a {
	background-color: black;
	color:white; 
}
.admin_area .submenu li a {
	display:block;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	background-color:white;
	margin:0 0 3px 0;
	padding:2px 4px 2px 8px;
	color:#333333;
}
.admin_area .submenu li a:hover {
	background-color:black;
	color:white;
	text-decoration:none;
}
.admin_area .submenu .child li a {
	margin-left:15px;
	background-color:#dedede;
	color:#333333;
}
.admin_area .submenu .child li a:hover {
	background-color:black;
	color:white;
}

.admin_settings h3 {
	background:#999999;
	color:white;
	padding:5px;
	margin-top:10px;
	margin-bottom:10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
}
.admin_settings label {
	color:#333333;
	font-size:100%;
	font-weight:normal;
}
.admin_settings {
	margin-bottom:20px;
}
.admin_settings table.styled {
	width:100%;
}
.admin_settings table.styled {
	border-top:1px solid #cccccc;
}
.admin_settings table.styled td {
	padding:2px 4px 2px 4px;
	border-bottom:1px solid #cccccc;
}
.admin_settings table.styled td.column_one {
	width:200px;
}
.admin_settings table.styled tr:hover {
	background: #E4E4E4;
}
.admin_settings.users_online .profile_status {
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	line-height:1.2em;
}
.admin_settings.users_online .profile_status span {
	font-size:90%;
	color:#666666;
}
.admin_settings.users_online  p.owner_timestamp {
	padding-left:3px;
}
.admin_plugin_reorder {
	float:right;
	width:200px;
	text-align: right;
}
.admin_plugin_reorder a {
	padding-left:10px;
	font-size:80%;
	color:#999999;
}
.manifest_file {
	background-color:#eeeeee;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding:5px 10px 5px 10px;
	margin:4px 0 4px 0;
}
.admin_plugin_enable_disable {
	width:150px;
	margin:10px 0 0 0;
	float:right;
	text-align: right;
}
.admin_plugin_enable_disable a {
	margin:0;
}
.pluginsettings {
	margin:15px 0 5px 0;
	background-color:#eeeeee;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	padding:10px;
}
.pluginsettings h3 {
	padding:0 0 5px 0;
	margin:0 0 5px 0;
	border-bottom:1px solid #999999;
}
#updateclient_settings h3 {
	padding:0;
	margin:0;
	border:none;
}
.plugin_controls {
	padding: 3px 3px 3px 0;
	font-weight: bold;
	float: left;
	width: 150px;
}
form.admin_plugins_simpleview .submit_button {
	margin-right:20px;
}
.plugin_info {
	margin: 3px;
	padding-left: 150px;
	display: block;
}
.plugin_metadata {
	display:block;
	color:#999999;
}
.plugin_name input[type="checkbox"] {
	margin-right: 10px;
}
.plugin_details {
	margin:0 0 5px 0;
	padding:0 7px 4px 10px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
.plugin_details p {
	margin:0;
	padding:0;
}
.plugin_settings {
	font-weight: normal;
}
.active {
	border:1px solid #999999;
	background:white;
}
.not_active {
	border:1px solid #999999;
	background:#dedede;
}
.configure_menuitems {
	margin-bottom:30px;
}
.admin_settings.menuitems .input_pulldown {
	margin-right:15px;
	margin-bottom:10px;
}
.admin_settings.menuitems li.custom_menuitem {
	margin-bottom:20px;
}
.admin_notices {
	padding-bottom: 15px;
}
.admin_notices p {
	background-color:#BDE5F8;
	color: black;
	border: 1px solid blue;
	font-weight: bold;
	padding:3px 10px;
	-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
	-moz-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.45);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
}
</style>

<div id="admin_header">
	<span class="network_title"><h2>
	<a href="<?php echo $vars['url']; ?>">
	<?php echo $vars['config']->sitename; echo " ".elgg_echo('admin'); ?></a></h2></span>
</div>

<div id="elgg_content" class="clearfloat admin_area">
	
	<div id="elgg_page_contents" class="clearfloat">
		<?php 
			if (isset($vars['area1'])) echo $vars['area1'];
		?>
	</div>
	<div id="elgg_sidebar" class="clearfloat">
		<?php 
			echo elgg_view('page_elements/owner_block'); 
			if (isset($vars['area2'])) echo $vars['area2']; 
			if (isset($vars['area3'])) echo $vars['area3'];	
		?>
	</div>
</div>
<div id="admin_footer"></div>