Adjust layers tree view.

This commit is contained in:
David Molineus
2014-12-29 19:13:55 +01:00
parent 10080f5551
commit 74a4d79aa0
8 changed files with 43 additions and 3 deletions

5
CREDITS.md Normal file
View File

@@ -0,0 +1,5 @@
Layers icon
[Fatcow Web Hosting](http://www.fatcow.com/free-icons)
http://creativecommons.org/licenses/by/4.0/

View File

@@ -0,0 +1,20 @@
.tl_listing_container.tree_view ul > li.tl_file {
background: url('./../img/folPlus.gif') no-repeat 6px 1px;
}
.tl_listing_container.tree_view > ul > li.tl_file {
padding-left: 26px;
}
.tl_listing_container.tree_view ul > li.parent > ul {
padding-left: 20px;
}
.tl_listing_container.tree_view ul > li > .tl_left > a {
margin-left: -20px;
}
.tl_listing_container.tree_view ul[class="level_1"] li.tl_file > .tl_left {
padding-left: 20px !important;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 222 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 863 B

View File

@@ -6,6 +6,7 @@
$GLOBALS['BE_MOD']['content']['leaflet'] = array(
'tables' => array('tl_leaflet_map', 'tl_leaflet_layer'),
'icon' => 'system/modules/leaflet/assets/img/leaflet.png',
'stylesheet' => 'system/modules/leaflet/assets/css/backend.css',
);
/*

View File

@@ -19,7 +19,8 @@ $GLOBALS['TL_DCA']['tl_leaflet_layer'] = array
(
'mode' => 5,
'fields' => array('title'),
'flag' => 1
'flag' => 1,
'icon' => 'system/modules/leaflet/assets/img/layers.png'
),
'label' => array
(

View File

@@ -20,7 +20,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
(
'mode' => 1,
'fields' => array('title'),
'flag' => 1
'flag' => 1,
),
'label' => array
(
@@ -33,7 +33,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_map'] = array
(
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_map']['layers'],
'href' => 'table=tl_leaflet_layer',
'class' => 'header_edit_all',
'icon' => 'system/modules/leaflet/assets/img/layers.png',
'attributes' => 'onclick="Backend.getScrollOffset();" accesskey="e"'
),
'all' => array

View File

@@ -6,6 +6,19 @@ $GLOBALS['TL_LANG']['tl_leaflet_map']['zoom_legend'] = 'Center and zoom';
$GLOBALS['TL_LANG']['tl_leaflet_map']['controls_legend'] = 'Control widgets';
$GLOBALS['TL_LANG']['tl_leaflet_map']['expert_legend'] = 'Expert settings';
$GLOBALS['TL_LANG']['tl_leaflet_map']['layers'][0] = 'Manage layers';
$GLOBALS['TL_LANG']['tl_leaflet_map']['layers'][1] = 'Manage leaflet layers';
$GLOBALS['TL_LANG']['tl_leaflet_map']['new'][0] = 'Create map';
$GLOBALS['TL_LANG']['tl_leaflet_map']['new'][1] = 'Create new map';
$GLOBALS['TL_LANG']['tl_leaflet_map']['edit'][0] = 'Edit map';
$GLOBALS['TL_LANG']['tl_leaflet_map']['edit'][1] = 'Edit map ID %s';
$GLOBALS['TL_LANG']['tl_leaflet_map']['copy'][0] = 'Copy map';
$GLOBALS['TL_LANG']['tl_leaflet_map']['copy'][1] = 'Copy map ID %s';
$GLOBALS['TL_LANG']['tl_leaflet_map']['delete'][0] = 'Delete map';
$GLOBALS['TL_LANG']['tl_leaflet_map']['delete'][1] = 'Delete map ID %s';
$GLOBALS['TL_LANG']['tl_leaflet_map']['show'][0] = 'Show details';
$GLOBALS['TL_LANG']['tl_leaflet_map']['show'][1] = 'Show map ID %s details';
$GLOBALS['TL_LANG']['tl_leaflet_map']['title'][0] = 'Title';
$GLOBALS['TL_LANG']['tl_leaflet_map']['title'][1] = 'Title of the map.';
$GLOBALS['TL_LANG']['tl_leaflet_map']['alias'][0] = 'Alias';