* project settings split in 4 tabs
* prototype.js upgraded to 1.5.0_rc1 git-svn-id: http://redmine.rubyforge.org/svn/trunk@181 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
b9ef10fe3f
commit
190fef513f
8 files changed
+937
-347
No files matched your search
@@ -16,4 +16,18 @@ function addFileField() {
|
||||
p = document.getElementById("attachments_p");
|
||||
p.appendChild(document.createElement("br"));
|
||||
p.appendChild(f);
|
||||
}
|
||||
|
||||
function showTab(name) {
|
||||
var f = $$('div#content .tab-content');
|
||||
for(var i=0; i<f.length; i++){
|
||||
Element.hide(f[i]);
|
||||
}
|
||||
var f = $$('div.tabs a');
|
||||
for(var i=0; i<f.length; i++){
|
||||
Element.removeClassName(f[i], "selected");
|
||||
}
|
||||
Element.show('tab-content-' + name);
|
||||
Element.addClassName('tab-' + name, "selected");
|
||||
return false;
|
||||
}
|
||||
Vendored
+852
-318
File diff suppressed because it is too large.
Load diff
@@ -215,6 +215,30 @@ font-family: Trebuchet MS,Georgia,"Times New Roman",serif;
|
||||
#content dt{font-weight:bold; margin-bottom:5px;}
|
||||
#content dd{margin:0 0 10px 15px;}
|
||||
|
||||
#content .tabs{height: 2.6em;}
|
||||
#content .tabs ul{margin:0;}
|
||||
#content .tabs ul li{
|
||||
float:left;
|
||||
list-style-type:none;
|
||||
white-space:nowrap;
|
||||
margin-right:8px;
|
||||
background:#fff;
|
||||
}
|
||||
#content .tabs ul li a{
|
||||
display:block;
|
||||
font-size: 0.9em;
|
||||
text-decoration:none;
|
||||
line-height:1em;
|
||||
padding:4px;
|
||||
border: 1px solid #c0c0c0;
|
||||
}
|
||||
|
||||
#content .tabs ul li a.selected, #content .tabs ul li a:hover{
|
||||
background-color: #80b0da;
|
||||
border: 1px solid #80b0da;
|
||||
color: #fff;
|
||||
text-decoration:none;
|
||||
}
|
||||
|
||||
/***********************************************/
|
||||
|
||||
|
||||
Reference in new issue
Block a user