continuing to add the tabs system.
This commit is contained in:
parent
1b5fbf8622
commit
1df3108086
5 changed files with 172 additions and 6 deletions
|
|
@ -219,14 +219,14 @@ sub www_editPage {
|
|||
tie %tabs, 'Tie::IxHash';
|
||||
%tabs = (
|
||||
properties=>{
|
||||
name=>WebGUI::International::get(103)
|
||||
label=>WebGUI::International::get(103)
|
||||
},
|
||||
style=>{
|
||||
name=>WebGUI::International::get(105),
|
||||
label=>WebGUI::International::get(105),
|
||||
uiLevel=>5
|
||||
},
|
||||
privileges=>{
|
||||
name=>WebGUI::International::get(107),
|
||||
label=>WebGUI::International::get(107),
|
||||
uiLevel=>6
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -84,7 +84,64 @@ sub www_editStyle {
|
|||
tie %style, 'Tie::CPHash';
|
||||
if ($session{form}{sid} eq "new") {
|
||||
$style{body} = "^AdminBar;\n\n<body>\n\n^-;\n\n</body>";
|
||||
$style{styleSheet} = "<style>\n\n</style>";
|
||||
$style{styleSheet} = '
|
||||
<style>
|
||||
.content{
|
||||
font-family: helvetica, arial;
|
||||
font-size: 10pt;
|
||||
}
|
||||
.adminBar {
|
||||
background-color: #dddddd;
|
||||
font-family: helvetica, arial;
|
||||
}
|
||||
.tableMenu {
|
||||
background-color: #dddddd;
|
||||
font-size: 8pt;
|
||||
font-family: Helvetica, Arial;
|
||||
}
|
||||
.tableMenu a {
|
||||
text-decoration: none;
|
||||
}
|
||||
.tableHeader {
|
||||
background-color: #dddddd;
|
||||
font-size: 10pt;
|
||||
font-family: Helvetica, Arial;
|
||||
}
|
||||
.tableData {
|
||||
font-size: 10pt;
|
||||
font-family: Helvetica, Arial;
|
||||
}
|
||||
.pollColor {
|
||||
background-color: #cccccc;
|
||||
border: thin solid #aaaaaa;
|
||||
}
|
||||
.pagination {
|
||||
font-family: helvetica, arial;
|
||||
font-size: 8pt;
|
||||
text-align: center;
|
||||
}
|
||||
.tab {
|
||||
border: 1px solid black;
|
||||
background-color: #eeeeee;
|
||||
}
|
||||
.tabBody {
|
||||
border: 1px solid black;
|
||||
border-top: 1px solid black;
|
||||
border-left: 1px solid black;
|
||||
background-color: #dddddd;
|
||||
}
|
||||
div.tabs {
|
||||
line-height: 15px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.tabHover {
|
||||
background-color: #cccccc;
|
||||
}
|
||||
.tabActive {
|
||||
background-color: #dddddd;
|
||||
}
|
||||
</style>
|
||||
';
|
||||
} else {
|
||||
%style = WebGUI::SQL->quickHash("select * from style where styleId=$session{form}{sid}");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue