This is iumio task bar template html
@return string html taskbar | #none
761622
private static function taskbarTemplate():string
    {
        try {
            $um =  new MasterCore();
            $str =
                self::getCssTaskBar().'
                <!-- TaskBar component -->
                <div id="iumioTaskBarBlank">
                </div>
                <ul class="iumioTaskBar">
                  <li class="flogo iumioTaskBarPulse" id="iumioTaskBarReduce">
                    <img src="'. FEnv::get("host.web.components.libs.framework").'img/logo_white_small.png"/>
                  </li>
                  <li>
                    <a href="#" class="active" >
                      <strong>'.
                                ((!FEnv::isset("app.call"))? "No apps called" : FEnv::get("app.call")) .'
                      </strong>
                    </a>
                  </li>
              <li style="border-right:1px solid white;"> 
                <a href="#" id="iumioTaskBarRequests" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_logs_get",
                                null,
                                "ManagerApp",
                                true
                            ).'">
                  <span class="iumio-taskbar-text">No requests
                  </span>
                </a>
              </li>
              <li id="iumioTaskBarAssets" class="iumioTaskBarDropdown">
                <a href="#">
                  <span class="iumio-taskbar-text">Assets
                  </span>
                </a>
                <ul class="iumioTaskBarDropdownContent">
                  <li>
                    <table class="iumioTaskbarTable">
                      <thead>
                        <tr>
                          <th colspan="3">Assets Manager - Actions
                          </th>
                        </tr>
                      </thead>
                      <tbody>
                        <tr>
                          <td class="iumioTaskBarAssetsPublishAll" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_publish",
                                array("env" => "all", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '"> 
                            <i class="icon-iumio-task">
                            </i>Publish all environment
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarAssetsPublishDev" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_publish",
                                array("env" => "dev", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '"> 
                            <i class="icon-iumio-task">
                            </i>Publish dev
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarAssetsPublishProd" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_publish",
                                array("env" => "prod", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '"> 
                            <i class="icon-iumio-task">
                            </i>Publish prod
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarAssetsClearAll" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_clear",
                                array("env" => "all", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '"> 
                            <i class="icon-iumio-task">
                            </i>Clear all environment
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarAssetsClearDev" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_clear",
                                array("env" => "dev", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '" >
                            <i class="icon-iumio-task">
                            </i>Clear dev
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarAssetsClearProd" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_assets_manager_clear",
                                array("env" => "prod", "appname" => "_all"),
                                "ManagerApp",
                                true
                            ).
                            '" > 
                            <i class="icon-iumio-task">
                            </i>Clear prod
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </li>
                </ul>
              </li>
              <li>
                <a href="#" id="iumioTaskBarEnaDisApp" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_app_manager_get_simple_apps",
                                null,
                                "ManagerApp",
                                true
                            ).'">
                  <span class="iumio-taskbar-text">Apps status
                  </span>
                </a>
              </li>
              <li id="iumioTaskBarCacheClear" class="iumioTaskBarDropdown">
                <a href="#" >
                  <span class="iumio-taskbar-text">Clear cache
                  </span>
                </a>
                <ul class="iumioTaskBarDropdownContent">
                  <li>
                    <table class="iumioTaskbarTable">
                      <thead>
                        <tr>
                          <th colspan="3">Cache Manager - Actions
                          </th>
                        </tr>
                      </thead>
                      <tbody>
                        <tr>
                          <td class="iumioTaskBarCacheClearAll" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_cache_manager_remove_all",
                                null,
                                "ManagerApp",
                                true
                            ).'"> 
                          <i class="icon-iumio-task">
                            </i> 
                           Clear all environment
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarCacheClearDev" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_cache_manager_remove",
                                array("env" => "dev"),
                                "ManagerApp",
                                true
                            ).'"> 
                          <i class="icon-iumio-task">
                            </i> 
                           Clear dev
                          </td>
                        </tr>
                        <tr>
                          <td class="iumioTaskBarCacheClearProd" attr-href="'.
                            $um->generateRoute(
                                "iumio_manager_cache_manager_remove",
                                array("env" => "prod"),
                                "ManagerApp",
                                true
                            ).'"> 
                          <i class="icon-iumio-task">
                          </i> 
                           Clear prod
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </li>
                </ul>
              </li>
               <li>
                <a href="'. $um->generateRoute(
                "iumio_manager_index",
                null,
                "ManagerApp",
                true
            ) .'">Go to manager
                </a>
              </li>
              <li style="float: right">
                <a class="active" href="#" style="font-size: 10px;">
                  <strong>'.
                            \iumioFramework\Core\Requirement\FrameworkCore::getInfo('EDITION_VERSION')." ".
                            \iumioFramework\Core\Requirement\FrameworkCore::getInfo('EDITION_SHORTNAME').
                            ' - '. strtoupper(FEnv::get("framework.env")).'
                  </strong>
                   '.((FEnv::isset("app.locale.context"))? '|<span style="color:#7cff0bb3"> LOCALE : '.
                                FEnv::get("app.locale.context").'</span>' : '').'
                </a>
              </li>
            </ul>
            <ul class="iumioTaskBar iumioTaskBarVSmall" id="iumioTaskBarRestore" '.
                ' style="display: none; width: 40px; padding: 0px 0px 0 0;">
            <li class="flogo iumioTaskBarPulse">
            <img src="'. FEnv::get("host.web.components.libs.framework").'img/logo_white_small.png"/>  
            </li>
            </ul>';
            $str .= "\n".self::getJsTaskBar()."\n";
            return ($str);
        } catch (\Exception $e) {
            echo $e->getMessage();
        }
        return ("#none");
    }
299873
protected function getBareContext()
	{
		$ctx = new \Aimeos\MShop\Context\Item\Standard();

		$conf = new \Aimeos\MW\Config\PHPArray( array(), array() );
		$ctx->setConfig( $conf );

		$locale = \Aimeos\MShop::create( $ctx, 'locale' )->createItem();
		$locale->setLanguageId( 'en' );
		$ctx->setLocale( $locale );

		$i18n = new \Aimeos\MW\Translation\None( 'en' );
		$ctx->setI18n( array( 'en' => $i18n ) );

		return $ctx;
	}
650967
private function primeTemplate() {

		// unroll Loops {loop $counter} .. {end_loop}

		$this->template = $this->doLoop($this->template);

		// insert vars and loop counters

		$this->template = $this->doInsertVars($this->template);

		// {if (cond)} .. {else} .. {end_if}

		$this->template = $this->doIfElseEndif($this->template);

		// insert misc html
		foreach($this->miscHtml as $k => $v) {
			if(!is_array($v)) {
				$this->template = preg_replace("/\{html:$k\}/i", $v, $this->template);
			}
			else {
				foreach($v as $vv) {
					$this->template = preg_replace("/\{html:$k\}/i", $vv, $this->template, 1);
				}
			}
		}
		
		return $this;
	}
953673
protected function template()
    {
        $reflector = new \ReflectionClass(get_class($this));
        $classname = $reflector->getName();

        $template = preg_replace('/(Application|Synapse)\\\View\\\/', '', $classname);
        $template = str_replace('\\', '/', $template);

        return $template;
    }
948645
protected function _toHtml()
    {
        $html = false;

        if ($this->canRenderFilter()) {
            $html = $this->getLayout()
                ->createBlock($this->block)
                ->setSwatchFilter($this->getFilter())
                ->toHtml();
        }

        return $html;
    }
1165263
protected static function displayUI()
    {
        self::safeEcho("\033[1A\n\033[K-----------------------\033[47;30m WORKERMAN \033[0m-----------------------------\n\033[0m");
        self::safeEcho('Swoole version:'. phpversion('swoole'). "          PHP version:". PHP_VERSION. "\n");
        self::safeEcho("------------------------\033[47;30m WORKERS \033[0m-------------------------------\n");
        self::safeEcho("\033[47;30muser\033[0m". str_pad('',
            self::$_maxUserNameLength + 2 - strlen('user')). "\033[47;30mworker\033[0m". str_pad('',
            self::$_maxWorkerNameLength + 2 - strlen('worker')). "\033[47;30mlisten\033[0m". str_pad('',
            self::$_maxSocketNameLength + 2 - strlen('listen')). "\033[47;30mprocesses\033[0m \033[47;30m". "status\033[0m\n");

        foreach (self::$_workers as $worker) {
            self::safeEcho(str_pad($worker->user, self::$_maxUserNameLength + 2). str_pad($worker->name,
                self::$_maxWorkerNameLength + 2). str_pad($worker->getSocketName(),
                self::$_maxSocketNameLength + 2). str_pad(' ' . $worker->count, 9). " \033[32;40m [OK] \033[0m\n");
        }
        self::safeEcho("----------------------------------------------------------------\n");
        if (self::$daemonize) {
            global $argv;
            $start_file = $argv[0];
            self::safeEcho("Input \"php $start_file stop\" to quit. Start success.\n\n");
        } else {
            self::safeEcho("Press Ctrl-C to quit. Start success.\n");
        }
    }
1371241
public function render()
    {
        if ($this->enable == false)
        {
            return '';
        }

        $widgetDir = $this->config->get('theme.containerDir.widget');

        $path = $this->theme->getThemeNamespace($widgetDir.'.'.$this->template);

        // If not found in theme widgets directory, try to watch in views/widgets again.
        if ($this->watch === true and ! $this->view->exists($path))
        {
            $path = $widgetDir.'.'.$this->template;
        }

        // Error file not exists.
        if ( ! $this->view->exists($path))
        {
            throw new UnknownWidgetFileException("Widget view [$this->template] not found.");
        }

        $widget = $this->view->make($path, $this->data)->render();

        return $widget;
    }
569106
public function getHtml(): string
    {
        return $this->environment->render($this->template, ValueUtils::val($this->context));
    }
575920
public function getTemplate()
    {
        if (! $this->_template instanceof LibBaseTemplateAbstract) {
            //Make sure we have a template identifier
            if (! ($this->_template instanceof AnServiceIdentifier)) {
                $this->setTemplate($this->_template);
            }

            $config = array(
                'view' => $this
            );

            $this->_template = $this->getService($this->_template, $config);
        }

        return $this->_template;
    }
971378
public function actionTaskview()
    {
        $id = $this->getRequestParam('id');
        $model = Project::getTaskModel($id);

        if (!isset($model)) {
            throw new NotFoundHttpException('The Task "' . $id . '" not found.');
        }

        return $this->render('taskview', [
            'model' => $model,
        ]);
    }
15617
public function render_modal_template() {
		unset( $this->struct['label'] );
		$output = '<script data-height="' . esc_attr( $this->attributes['data-height'] ) . '" data-width="' . esc_attr( $this->attributes['data-width'] ) . '" type="text/html" id="' . esc_attr( $this->id() ) . '-tmpl">';
		$output .= $this->modal_template();
		$output .= '</script>';
		$output .= $this->render_footer_template();

		return $output;
	}
690395
public function getTemplate()
    {
        if (null === $this->template) {
            $this->template = $this->getTemplatePathDefault('layout');
        }

        return $this->template;
    }
1187040
protected function getTemplate()
    {
        $filter_tpl = $this->config->getTemplate();
        $grid_tpl = $this->grid->getConfig()->getTemplate();
        return str_replace('*.', "$grid_tpl.filters.", $filter_tpl);
    }
1209398
public function render_template() {
		// template
		$_output = null;

		if ( ! empty( $this->struct['template'] ) ) {
			ob_start();
			include $this->struct['template'];
			$_output .= ob_get_clean();
		}

		return $_output;
	}
1129091
public function buildDefaultTemplate() {
		$table = $this->elements["container"];
		$table->setAttribute("cellpadding", "5px");
		
		// Header
		$tr = Html::el("tr");
		$th = Html::el("th colspan='2' style='border-right: none'");
		$th->setText("Nahrávání souborů");
		$tr->addHtml($th);
		$th2 = Html::el("th colspan='2' style='text-align: right; border-left: none'");
		$th2->addHtml($this->elements["input"]->setAttribute("style", "display: none"));
		$button = Html::el("button type='button'");
		$button->setText("Nahrát soubor");
		$id = $this->elements["input"]->getAttribute("id");
		$button->setAttribute("onclick", "document.getElementById('$id').click(); return false;");
		$th2->addHtml($button);
		
		$tr->addHtml($th2);
		$table->addHtml($tr);
		
		// Global Progress
		$tr = Html::el("tr");
		$td = Html::el("td colspan='4'");
		$td->addHtml($this->elements["globalProgress"]);
		$tr->addHtml($td);
		$table->addHtml($tr);
		
		return $table;
	}
1208720
private static function taskbarArrayTemplate():array
    {
        $options = array();
        try {
            $um =  new MasterCore();
            $options['css'] =  FEnv::get("host.web.components.libs.framework")."assets/css/iumioTaskBar.css";
            $options['css_icon'] =
                FEnv::get("host.web.components.libs.framework")."iumio-manager/css/pe-icon-7-stroke.css";
            $options['js'] = FEnv::get("host.web.components.libs.framework")."assets/js/iumioTaskBar.js";
            $options['logo'] =  FEnv::get("host.web.components.libs.framework")."img/logo_white_small.png";
            $options['ve']  =  \iumioFramework\Core\Requirement\FrameworkCore::
                getInfo('EDITION_VERSION')." ".\iumioFramework\Core\Requirement\FrameworkCore::
                getInfo('EDITION_SHORTNAME');
            $options['env'] = FEnv::get("framework.env");
            $options['call_app'] = ((!FEnv::isset("app.call"))? "No apps called" : FEnv::get("app.call"));
            $options['manager'] =  $um->generateRoute(
                "iumio_manager_index",
                null,
                "ManagerApp",
                true
            );
            $options['cache_clear_all']     =  $um->generateRoute(
                "iumio_manager_cache_manager_remove_all",
                null,
                "ManagerApp",
                true
            );
            $options['cache_clear_dev']     =  $um->generateRoute(
                "iumio_manager_cache_manager_remove",
                array("env" => "dev"),
                "ManagerApp",
                true
            );
            $options['cache_clear_prod']    =  $um->generateRoute(
                "iumio_manager_cache_manager_remove",
                array("env" => "prod"),
                "ManagerApp",
                true
            );
            $options['publish_assets_all']  =  $um->generateRoute(
                "iumio_manager_assets_manager_publish",
                array("env" => "all", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['publish_assets_dev']  =  $um->generateRoute(
                "iumio_manager_assets_manager_publish",
                array("env" => "dev", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['publish_assets_prod'] =  $um->generateRoute(
                "iumio_manager_assets_manager_publish",
                array("env" => "prod", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['clear_assets_all']    =  $um->generateRoute(
                "iumio_manager_assets_manager_clear",
                array("env" => "all", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['clear_assets_dev']    =  $um->generateRoute(
                "iumio_manager_assets_manager_clear",
                array("env" => "dev", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['clear_assets_prod']   =  $um->generateRoute(
                "iumio_manager_assets_manager_clear",
                array("env" => "prod", "appname" => "_all"),
                "ManagerApp",
                true
            );
            $options['all_simple_apps']     =  $um->generateRoute(
                "iumio_manager_app_manager_get_simple_apps",
                null,
                "ManagerApp",
                true
            );
            $options['get_logs']            =  $um->generateRoute(
                "iumio_manager_logs_get",
                null,
                "ManagerApp",
                true
            );
        } catch (\Exception $e) {
            echo $e->getMessage();
        }
        return ($options);
    }
814592
protected function renderToolbar()
    {
        $lines = [];

        $lines[] = Html::beginTag('div', ['class' => 'btn-group']);

        $title = Module::t('message', 'Create a root node');
        $lines[] = Html::button(Module::t('message', 'Create'), [
            'title' => $title,
            'aria-label' => $title,
            'data-action-name' => 'create',
            'class' => 'btn btn-success',
            'onclick' => '{location.href="' . $this->createUrl('create') . '"}',
        ]);
        $lines[] = Html::button(Module::t('message', 'Collapse all'), [
            'id' => 'collapse-all',
            'class' => 'btn btn-default',
            'style' => $this->clientOptions['startCollapsed'] ? 'display: none' : 'display: block',
        ]);
        $lines[] = Html::button(Module::t('message', 'Expand all'), [
            'id' => 'expand-all',
            'class' => 'btn btn-default',
            'style' => $this->clientOptions['startCollapsed'] ? 'display: block' : 'display: none',
        ]);

        $lines[] = Html::endTag('div');

        return implode("\n", $lines);
    }