Project

General

Profile

Feature #3870 ยป spoiler.htm

Andrew Chaika, 2009-10-01 07:44

 
1
<html>
2
<head>
3
</head>
4
<style>
5
body {
6
	font: Arial;
7
	font-size: 9pt;
8
}
9
.spoiler
10
{
11
	border: 1px silver solid;
12
}
13
.spoiler_content
14
{
15
	border-top: 1px silver solid;
16
	padding: 3px;
17
}
18
.spoiler_head
19
{
20
	padding: 3px;
21
	background: #eee;
22
	cursor: hand;
23
}
24
</style>
25
<script>
26
function toggle_spoiler(element)
27
{
28
	a = element.nextSibling.style.display == 'none';
29
	element.children[0].innerText = a?'[-]':'[+]';
30
	element.children[1].innerText = a?'Hide':'Show';
31
	element.nextSibling.style.display = a?'block':'none';
32
}
33
</script>
34
<body>
35
	<div class="spoiler">
36
		<div class="spoiler_head" onClick="toggle_spoiler(this)">
37
			<span>[+]</span> <span>Show</span>
38
		</div>
39
		<div class="spoiler_content" style="display: none;">
40
<pre>C:\RoR\redmine>rake db:migrate_plugins RAILS_ENV="production" 
41
(in C:/RoR/redmine)
42
Migrating engines...
43
Migrating actionwebservice...
44
Migrating acts_as_activity_provider...
45
Migrating acts_as_attachable...
46
Migrating acts_as_customizable...
47
Migrating acts_as_event...
48
Migrating acts_as_list...
49
Migrating acts_as_searchable...
50
Migrating acts_as_tree...
51
Migrating acts_as_versioned...
52
Migrating acts_as_watchable...
53
Migrating classic_pagination...
54
Migrating coderay-0.7.6.227...
55
Migrating gloc-1.1.0...
56
Migrating gravatar...
57
Migrating redmine_issues_group...
58
1 AddQueriesGroupBy: migrating ===========================================
59
-- add_column(:queries, :group_by, :string)
60
-> 1.3120s
61
1 AddQueriesGroupBy: migrated (1.3120s) ==================================
62

    
63
2 AddQueriesCategory: migrating ==========================================
64
-- add_column(:queries, :category, :string)
65
-> 1.3280s
66
2 AddQueriesCategory: migrated (1.3280s) ================================= 3 AddIssuesRelations: migrating ==========================================
67
-- add_column(:issues, :parent_id, :integer, {:null=>true, :default=>nil})
68
> 1.3130s
69
- add_column(:issues, :lft, :integer)
70
> 1.3120s
71
- add_column(:issues, :rgt, :integer)
72
-> 1.3130s
73
3 AddIssuesRelations: migrated (3.9380s) ================================= 4 BuildIssuesTree: migrating =============================================
74
rake aborted!
75
undefined method `rebuild!' for #<Class:0x44e4c98> 
76
(See full trace by running task with --trace)</pre>
77
		</div>
78
	</div>
79
</body>
80
</html>
    (1-1/1)