[TASK] Move css and template files in taskcenter 17/34417/3
authorWouter Wolters <typo3@wouterwolters.nl>
Thu, 20 Nov 2014 22:11:42 +0000 (23:11 +0100)
committerMarkus Klein <klein.t3@reelworx.at>
Thu, 20 Nov 2014 22:46:06 +0000 (23:46 +0100)
The removed image is unused since 18-06-2010.

Resolves: #63115
Releases: master
Change-Id: I0d8182e8eeb485d96f7395bd9a30661b8945eea1
Reviewed-on: http://review.typo3.org/34417
Reviewed-by: Markus Klein <klein.t3@reelworx.at>
Tested-by: Markus Klein <klein.t3@reelworx.at>
typo3/sysext/taskcenter/Classes/Controller/TaskModuleController.php
typo3/sysext/taskcenter/Resources/Private/.htaccess [new file with mode: 0644]
typo3/sysext/taskcenter/Resources/Private/Templates/mod_template.html [new file with mode: 0644]
typo3/sysext/taskcenter/Resources/Public/Images/list-item-act.gif [new file with mode: 0644]
typo3/sysext/taskcenter/Resources/Public/Images/list-item.gif [new file with mode: 0644]
typo3/sysext/taskcenter/Resources/Public/Styles/styles.css [new file with mode: 0644]
typo3/sysext/taskcenter/res/item-background.jpg [deleted file]
typo3/sysext/taskcenter/res/list-item-act.gif [deleted file]
typo3/sysext/taskcenter/res/list-item.gif [deleted file]
typo3/sysext/taskcenter/res/mod_styles.css [deleted file]
typo3/sysext/taskcenter/res/mod_template.html [deleted file]

index cb77519..1b90a5a 100644 (file)
@@ -40,10 +40,10 @@ class TaskModuleController extends \TYPO3\CMS\Backend\Module\BaseScriptClass {
                parent::init();
                // Initialize document
                $this->doc = GeneralUtility::makeInstance(\TYPO3\CMS\Backend\Template\DocumentTemplate::class);
-               $this->doc->setModuleTemplate(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter') . 'res/mod_template.html');
+               $this->doc->setModuleTemplate(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath('taskcenter') . 'Resources/Private/Templates/mod_template.html');
                $this->doc->backPath = $GLOBALS['BACK_PATH'];
                $this->doc->getPageRenderer()->loadJquery();
-               $this->doc->addStyleSheet('tx_taskcenter', '../' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('taskcenter') . 'res/mod_styles.css');
+               $this->doc->addStyleSheet('tx_taskcenter', '../' . \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::siteRelPath('taskcenter') . 'Resources/Public/Styles/styles.css');
        }
 
        /**
diff --git a/typo3/sysext/taskcenter/Resources/Private/.htaccess b/typo3/sysext/taskcenter/Resources/Private/.htaccess
new file mode 100644 (file)
index 0000000..3418e55
--- /dev/null
@@ -0,0 +1 @@
+deny from all
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/Resources/Private/Templates/mod_template.html b/typo3/sysext/taskcenter/Resources/Private/Templates/mod_template.html
new file mode 100644 (file)
index 0000000..e5a5b35
--- /dev/null
@@ -0,0 +1,34 @@
+<!-- ###FULLDOC### begin -->
+<div class="typo3-fullDoc">
+       <div id="typo3-docheader">
+               <div class="typo3-docheader-functions">
+                       <div class="left">###FUNC_MENU###</div>
+                       <div class="right"> </div>
+               </div>
+               <div class="typo3-docheader-buttons">
+                       <div class="left">###BUTTONLIST_LEFT###</div>
+                       <div class="right">###BUTTONLIST_RIGHT###</div>
+               </div>
+       </div>
+
+       <div id="typo3-docbody">
+               <div id="typo3-inner-docbody">
+                       ###CONTENT###
+               </div>
+       </div>
+</div>
+<!-- ###FULLDOC### end -->
+
+<!-- Grouping the icons on top -->
+
+<!-- ###BUTTON_GROUP_WRAP### -->
+<div class="buttongroup">###BUTTONS###</div>
+<!-- ###BUTTON_GROUP_WRAP### -->
+
+<!-- ###BUTTON_GROUPS_LEFT### -->
+
+<!-- ###BUTTON_GROUPS_LEFT### -->
+
+<!-- ###BUTTON_GROUPS_RIGHT### -->
+<!-- ###BUTTON_GROUP1### -->###OPEN_NEW_WINDOW### ###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
+<!-- ###BUTTON_GROUPS_RIGHT### -->
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/Resources/Public/Images/list-item-act.gif b/typo3/sysext/taskcenter/Resources/Public/Images/list-item-act.gif
new file mode 100644 (file)
index 0000000..4bee494
Binary files /dev/null and b/typo3/sysext/taskcenter/Resources/Public/Images/list-item-act.gif differ
diff --git a/typo3/sysext/taskcenter/Resources/Public/Images/list-item.gif b/typo3/sysext/taskcenter/Resources/Public/Images/list-item.gif
new file mode 100644 (file)
index 0000000..7c77774
Binary files /dev/null and b/typo3/sysext/taskcenter/Resources/Public/Images/list-item.gif differ
diff --git a/typo3/sysext/taskcenter/Resources/Public/Styles/styles.css b/typo3/sysext/taskcenter/Resources/Public/Styles/styles.css
new file mode 100644 (file)
index 0000000..bdd81a5
--- /dev/null
@@ -0,0 +1,254 @@
+/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
+
+/* general */
+body#ext-taskcenter-task-index-php {
+       margin: 0;
+}
+
+body#ext-taskcenter-task-index-php div#typo3-docbody {
+       top: 50px;
+}
+
+body#ext-taskcenter-task-index-php div#typo3-inner-docbody {
+       padding: 24px;
+       height: 100%;
+}
+
+#typo3-inner-docbody p.help {
+       margin-bottom: 10px;
+}
+
+body#ext-taskcenter-task-index-php img.icon {
+       vertical-align: bottom;
+}
+
+body#ext-taskcenter-task-index-php h3 {
+       margin: 4px 0 8px;
+       padding: 0;
+}
+
+/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
+/* overview */
+
+#taskcenter-main {
+       width: 100%;
+}
+
+#taskcenter-main #taskcenter-menu {
+       width: 250px;
+}
+
+#taskcenter-main #taskcenter-item {
+       position: absolute;
+       margin-left: 270px;
+       margin-right: 20px;
+       top: 24px;
+       min-width: 300px;
+}
+
+/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
+/* menu */
+#taskcenter-menu ul {
+       list-style: none;
+       padding: 0;
+       margin: 0;
+       border-bottom: 1px solid #b0b7c2;
+}
+
+#taskcenter-menu li {
+       margin-top: 1px;
+       border-top: 1px solid #EFEFF4;
+}
+
+#taskcenter-menu .image {
+       float: left;
+       height: 23px;
+       width: 23px;
+}
+
+#taskcenter-menu .image img {
+       margin: 3px 0 0 1px;
+}
+
+#taskcenter-menu .down {
+       background: url(../../../../t3skin/icons/gfx/pil2down.gif) no-repeat 5px 7px;
+       height: 23px;
+       float: left;
+       width: 25px;
+       cursor: pointer;
+}
+
+#taskcenter-menu .collapsed .down {
+       background-image: url(../../../../t3skin/icons/gfx/pil2right.gif);
+}
+
+#taskcenter-menu .drag {
+       float: right;
+       height: 23px;
+       width: 24px;
+}
+
+#taskcenter-menu .drag img {
+       margin-top: 6px;
+       cursor: move;
+}
+
+#taskcenter-menu .link {
+       border: 1px solid #adadad;
+       border-width: 1px 1px 0;
+       line-height: 18px;
+       display: block;
+}
+
+#taskcenter-menu .t3-row-header a {
+       float: none;
+}
+
+#taskcenter-menu .link a {
+       padding: 2px 5px;
+       display: block;
+       color: #fff;
+}
+
+#taskcenter-menu .active-task .link a {
+       font-weight: bold;
+}
+
+#taskcenter-menu .content {
+       padding: 5px 0;
+       background: #fff;
+       border: 1px solid #b7bec9;
+}
+
+#taskcenter-menu .content p {
+       padding: 3px 5px 5px 5px;
+       margin: 0;
+}
+
+#taskcenter-menu .content ul, #taskcenter-menu .content ul li {
+       border: 0;
+}
+
+#taskcenter-menu .content ul li a {
+       display: block;
+       line-height: 16px;
+       margin: 0;
+       padding: 2px 24px;
+       background: url(../Images/list-item.gif) no-repeat 10px 6px;
+}
+
+#taskcenter-menu .content ul li.active {
+       background-color: #dadada;
+}
+
+#taskcenter-menu .content ul li.active a {
+       color: #000000;
+       font-weight: bold;
+       background-image: url(../Images/list-item-act.gif);
+}
+
+/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
+/* content section */
+#taskcenter-item {
+       margin-bottom: 20px;
+}
+
+#taskcenter-item ul {
+       padding: 5px 0 5px 5px;
+       margin: 0;
+       list-style: none;
+}
+
+#taskcenter-item ul li {
+       padding: 5px 0 0 12px;
+}
+
+#taskcenter-item ul.withicons li {
+       background: url(../Images/list-item.gif) no-repeat 0 7px;
+}
+
+#taskcenter-item ul .image {
+       float: left;
+       width: 20px;
+}
+
+#taskcenter-item ul .link {
+       font-weight: bold;
+       padding: 2px 5px;
+}
+
+#taskcenter-item ul .link a {
+       padding: 5px;
+}
+
+#taskcenter-item ul .link a: hover {
+       text-decoration: underline;
+}
+
+#taskcenter-item ul .content {
+       padding: 2px 0 0 25px;
+}
+
+#taskcenter-item ul .content .edit {
+       display: block;
+       margin-top: 2px;
+}
+
+/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
+/* forms */
+#taskcenter-item fieldset {
+       padding: 0;
+}
+
+#taskcenter-item fieldset.fields legend {
+       font-weight: bold;
+       border-bottom: 1px solid #ccc;
+       width: 100%;
+       padding: 0 0 2px 0;
+}
+
+#taskcenter-item form {
+       padding: 0;
+}
+
+#taskcenter-item fieldset.fields {
+       border: 0;
+}
+
+#taskcenter-item fieldset.fields .row {
+       width: 420px;
+       clear: both;
+       padding: 5px 0;
+}
+
+#taskcenter-item fieldset.fields label {
+       width: 150px;
+       display: block;
+       float: left;
+}
+
+#taskcenter-item fieldset.fields select {
+       width: 215px;
+       height: 120px;
+       margin-right: 5px;
+       resize: both;
+}
+
+#taskcenter-item fieldset.fields input {
+       width: 200px;
+}
+
+#taskcenter-item fieldset.fields input[type=checkbox] {
+       width: 16px;
+       text-align: left;
+}
+
+#taskcenter-item fieldset.fields input[type=submit] {
+       margin-left: 150px;
+       width: 215px;
+}
+
+#list_frame {
+       margin-top: -51px;
+       border: none;
+}
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/res/item-background.jpg b/typo3/sysext/taskcenter/res/item-background.jpg
deleted file mode 100644 (file)
index f2ca8d3..0000000
Binary files a/typo3/sysext/taskcenter/res/item-background.jpg and /dev/null differ
diff --git a/typo3/sysext/taskcenter/res/list-item-act.gif b/typo3/sysext/taskcenter/res/list-item-act.gif
deleted file mode 100644 (file)
index 4bee494..0000000
Binary files a/typo3/sysext/taskcenter/res/list-item-act.gif and /dev/null differ
diff --git a/typo3/sysext/taskcenter/res/list-item.gif b/typo3/sysext/taskcenter/res/list-item.gif
deleted file mode 100644 (file)
index 7c77774..0000000
Binary files a/typo3/sysext/taskcenter/res/list-item.gif and /dev/null differ
diff --git a/typo3/sysext/taskcenter/res/mod_styles.css b/typo3/sysext/taskcenter/res/mod_styles.css
deleted file mode 100644 (file)
index ae54538..0000000
+++ /dev/null
@@ -1,254 +0,0 @@
-/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
-
-/* general */
-body#ext-taskcenter-task-index-php {
-       margin: 0;
-}
-
-body#ext-taskcenter-task-index-php div#typo3-docbody {
-       top: 50px;
-}
-
-body#ext-taskcenter-task-index-php div#typo3-inner-docbody {
-       padding: 24px;
-       height: 100%;
-}
-
-#typo3-inner-docbody p.help {
-       margin-bottom: 10px;
-}
-
-body#ext-taskcenter-task-index-php img.icon {
-       vertical-align: bottom;
-}
-
-body#ext-taskcenter-task-index-php h3 {
-       margin: 4px 0 8px;
-       padding: 0;
-}
-
-/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
-/* overview */
-
-#taskcenter-main {
-       width: 100%;
-}
-
-#taskcenter-main #taskcenter-menu {
-       width: 250px;
-}
-
-#taskcenter-main #taskcenter-item {
-       position: absolute;
-       margin-left: 270px;
-       margin-right: 20px;
-       top: 24px;
-       min-width: 300px;
-}
-
-/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
-/* menu */
-#taskcenter-menu ul {
-       list-style: none;
-       padding: 0;
-       margin: 0;
-       border-bottom: 1px solid #b0b7c2;
-}
-
-#taskcenter-menu li {
-       margin-top: 1px;
-       border-top: 1px solid #EFEFF4;
-}
-
-#taskcenter-menu .image {
-       float: left;
-       height: 23px;
-       width: 23px;
-}
-
-#taskcenter-menu .image img {
-       margin: 3px 0 0 1px;
-}
-
-#taskcenter-menu .down {
-       background: url(../../t3skin/icons/gfx/pil2down.gif) no-repeat 5px 7px;
-       height: 23px;
-       float: left;
-       width: 25px;
-       cursor: pointer;
-}
-
-#taskcenter-menu .collapsed .down {
-       background-image: url(../../t3skin/icons/gfx/pil2right.gif);
-}
-
-#taskcenter-menu .drag {
-       float: right;
-       height: 23px;
-       width: 24px;
-}
-
-#taskcenter-menu .drag img {
-       margin-top: 6px;
-       cursor: move;
-}
-
-#taskcenter-menu .link {
-       border: 1px solid #adadad;
-       border-width: 1px 1px 0;
-       line-height: 18px;
-       display: block;
-}
-
-#taskcenter-menu .t3-row-header a {
-       float: none;
-}
-
-#taskcenter-menu .link a {
-       padding: 2px 5px;
-       display: block;
-       color: #fff;
-}
-
-#taskcenter-menu .active-task .link a {
-       font-weight: bold;
-}
-
-#taskcenter-menu .content {
-       padding: 5px 0;
-       background: #fff;
-       border: 1px solid #b7bec9;
-}
-
-#taskcenter-menu .content p {
-       padding: 3px 5px 5px 5px;
-       margin: 0;
-}
-
-#taskcenter-menu .content ul, #taskcenter-menu .content ul li {
-       border: 0;
-}
-
-#taskcenter-menu .content ul li a {
-       display: block;
-       line-height: 16px;
-       margin: 0;
-       padding: 2px 24px;
-       background: url(list-item.gif) no-repeat 10px 6px;
-}
-
-#taskcenter-menu .content ul li.active {
-       background-color: #dadada;
-}
-
-#taskcenter-menu .content ul li.active a {
-       color: #000000;
-       font-weight: bold;
-       background-image: url(list-item-act.gif);
-}
-
-/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
-/* content section */
-#taskcenter-item {
-       margin-bottom: 20px;
-}
-
-#taskcenter-item ul {
-       padding: 5px 0 5px 5px;
-       margin: 0;
-       list-style: none;
-}
-
-#taskcenter-item ul li {
-       padding: 5px 0 0 12px;
-}
-
-#taskcenter-item ul.withicons li {
-       background: url(list-item.gif) no-repeat 0 7px;
-}
-
-#taskcenter-item ul .image {
-       float: left;
-       width: 20px;
-}
-
-#taskcenter-item ul .link {
-       font-weight: bold;
-       padding: 2px 5px;
-}
-
-#taskcenter-item ul .link a {
-       padding: 5px;
-}
-
-#taskcenter-item ul .link a: hover {
-       text-decoration: underline;
-}
-
-#taskcenter-item ul .content {
-       padding: 2px 0 0 25px;
-}
-
-#taskcenter-item ul .content .edit {
-       display: block;
-       margin-top: 2px;
-}
-
-/* ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- */
-/* forms */
-#taskcenter-item fieldset {
-       padding: 0;
-}
-
-#taskcenter-item fieldset.fields legend {
-       font-weight: bold;
-       border-bottom: 1px solid #ccc;
-       width: 100%;
-       padding: 0 0 2px 0;
-}
-
-#taskcenter-item form {
-       padding: 0;
-}
-
-#taskcenter-item fieldset.fields {
-       border: 0;
-}
-
-#taskcenter-item fieldset.fields .row {
-       width: 420px;
-       clear: both;
-       padding: 5px 0;
-}
-
-#taskcenter-item fieldset.fields label {
-       width: 150px;
-       display: block;
-       float: left;
-}
-
-#taskcenter-item fieldset.fields select {
-       width: 215px;
-       height: 120px;
-       margin-right: 5px;
-       resize: both;
-}
-
-#taskcenter-item fieldset.fields input {
-       width: 200px;
-}
-
-#taskcenter-item fieldset.fields input[type=checkbox] {
-       width: 16px;
-       text-align: left;
-}
-
-#taskcenter-item fieldset.fields input[type=submit] {
-       margin-left: 150px;
-       width: 215px;
-}
-
-#list_frame {
-       margin-top: -51px;
-       border: none;
-}
\ No newline at end of file
diff --git a/typo3/sysext/taskcenter/res/mod_template.html b/typo3/sysext/taskcenter/res/mod_template.html
deleted file mode 100644 (file)
index e5a5b35..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!-- ###FULLDOC### begin -->
-<div class="typo3-fullDoc">
-       <div id="typo3-docheader">
-               <div class="typo3-docheader-functions">
-                       <div class="left">###FUNC_MENU###</div>
-                       <div class="right"> </div>
-               </div>
-               <div class="typo3-docheader-buttons">
-                       <div class="left">###BUTTONLIST_LEFT###</div>
-                       <div class="right">###BUTTONLIST_RIGHT###</div>
-               </div>
-       </div>
-
-       <div id="typo3-docbody">
-               <div id="typo3-inner-docbody">
-                       ###CONTENT###
-               </div>
-       </div>
-</div>
-<!-- ###FULLDOC### end -->
-
-<!-- Grouping the icons on top -->
-
-<!-- ###BUTTON_GROUP_WRAP### -->
-<div class="buttongroup">###BUTTONS###</div>
-<!-- ###BUTTON_GROUP_WRAP### -->
-
-<!-- ###BUTTON_GROUPS_LEFT### -->
-
-<!-- ###BUTTON_GROUPS_LEFT### -->
-
-<!-- ###BUTTON_GROUPS_RIGHT### -->
-<!-- ###BUTTON_GROUP1### -->###OPEN_NEW_WINDOW### ###SHORTCUT###<!-- ###BUTTON_GROUP1### -->
-<!-- ###BUTTON_GROUPS_RIGHT### -->
\ No newline at end of file