Fix project tree style
This commit is contained in:
@@ -10,7 +10,6 @@ class Projects extends CI_Controller {
|
||||
|
||||
$path = $this->input->get_post('node');
|
||||
|
||||
|
||||
switch($path) {
|
||||
case '/projects/own':
|
||||
$projects = $this->Project->getOwn();
|
||||
@@ -26,19 +25,19 @@ class Projects extends CI_Controller {
|
||||
array(
|
||||
'id' => '/projects/own',
|
||||
'cls' => 'folder',
|
||||
'text' => 'Eigene Projekte',
|
||||
'icon' => '/ScattPort/assets/images/icons/folder.png',),
|
||||
'text' => "Eigene Projekte",
|
||||
'icon' => base_url() . 'assets/images/icons/folder.png',),
|
||||
array(
|
||||
'id' => '/projects/shared',
|
||||
'cls' => 'leaf',
|
||||
'text' => 'Für mich freigegeben',
|
||||
'icon' => '/ScattPort/assets/images/icons/folder-share.png',
|
||||
'text' => "Für mich freigegeben",
|
||||
'icon' => base_url() . 'assets/images/icons/folder-share.png',
|
||||
),
|
||||
array(
|
||||
'id' => '/projects/public',
|
||||
'cls' => 'folder',
|
||||
'text' => 'Öffentliche Projekte',
|
||||
'icon' => '/ScattPort/assets/images/icons/folder-network.png',
|
||||
'text' => "Öffentliche Projekte",
|
||||
'icon' => base_url() . 'assets/images/icons/folder-network.png',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
Ext.QuickTips.init();
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
@@ -29,4 +31,5 @@
|
||||
<?=anchor('auth/settings', "Einstellungen", array('style' => 'padding: 5px;'));?> |
|
||||
<?=anchor('auth/logout', "Logout", array('style' => 'padding: 5px;'));?>
|
||||
</div>
|
||||
<?=img(array('src' => 'assets/images/lang_de.png', 'style' => 'float: right; margin-top: 18px; margin-right: 5px;'));?>
|
||||
</div>
|
||||
|
||||
@@ -9,6 +9,8 @@ var projectTree = new Ext.tree.TreePanel({
|
||||
autoScroll: true,
|
||||
enableDD: false,
|
||||
rootVisible: false,
|
||||
lines: false,
|
||||
useArrows: true,
|
||||
id: 'treePanel',
|
||||
tbar: [{
|
||||
icon: BASE_PATH + 'assets/images/icons/box--plus.png',
|
||||
@@ -31,15 +33,6 @@ var projectTree = new Ext.tree.TreePanel({
|
||||
|
||||
projectTree.on('click', loadProjectInfo);
|
||||
|
||||
var infoPanel = new Ext.Panel({
|
||||
region: 'west',
|
||||
margin: '10 0 0 0',
|
||||
autoScroll: true,
|
||||
bodyStyle: 'padding: 10px; background: #eee;',
|
||||
html: 'Test'
|
||||
});
|
||||
|
||||
|
||||
var tabPanel = new Ext.TabPanel({
|
||||
xtype: 'tabpanel',
|
||||
resizeTabs: false,
|
||||
|
||||
@@ -28,3 +28,11 @@ a:hover {
|
||||
.x-viewport body {
|
||||
background: #ededed url('../images/back.png') repeat-x !important;
|
||||
}
|
||||
|
||||
.x-tree-node {
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.x-tree-node-icon {
|
||||
height: 16px !important;
|
||||
}
|
||||
|
||||
BIN
assets/images/lang_de.png
Executable file
BIN
assets/images/lang_de.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 545 B |
BIN
assets/images/lang_us.png
Executable file
BIN
assets/images/lang_us.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 609 B |
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 2.9 KiB |
Reference in New Issue
Block a user