<?php

echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/webide.solution.templates.js");
?>
<div class="form-group">
    <label for="fileContents">Modify the file template to suit your needs</label>
    <textarea id="fileContents" name="fileContents" class="form-control" rows="20"></textarea>
</div>
Beispiel #2
0
        <meta name="apple-touch-fullscreen" content="yes">
        <title><?php 
echo $ControllerVm->ResxFor("PageTitle");
?>
</title>
        <?php 
echo Puzzlout\Framework\UC\StylesheetControl::Init()->ForInternalResource("Applications/" . "APP_NAME" . "/ClientSide/css/app/reset.css");
echo Puzzlout\Framework\UC\StylesheetControl::Init()->ForInternalResource("Web/library/css/core/bootstrap.css");
echo Puzzlout\Framework\UC\StylesheetControl::Init()->ForInternalResource("Applications/" . "APP_NAME" . "/ClientSide/css/addons/toastr.css");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/core/jquery.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/core/jquery-ui.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/config.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/dataservice.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/utils.js");
?>
    </head>
    <body id="home">
        <?php 
echo $content;
?>
        <?php 
//echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/core/parsexml.js");
//echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/core/bootbox.min.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Applications/" . "APP_NAME" . "/ClientSide/js/addons/toastr.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/config.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/dataservice.js");
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/services/utils.js");
?>
    </body>
</html>
$ViewModel = new Puzzlout\Framework\ViewModels\WebIdeVm($this->app);
if (!$ControllerVm instanceof Puzzlout\Framework\ViewModels\WebIdeVm) {
    throw new Puzzlout\Framework\Exceptions\InvalidViewModelTypeException();
} else {
    $ViewModel = clone $ControllerVm;
}
echo Puzzlout\Framework\UC\StylesheetControl::Init()->ForInternalResource("Web/library/css/webide.css");
echo Puzzlout\Framework\UC\LinkControl::Init()->Simple("../Generator/Index", "Go to Code generator");
?>
<h1>Create a file</h1>
<form class="fileCreationForm" action="../WebIdeAjax/ProcessFileCreation" method="post">
    <?php 
include_once Puzzlout\Framework\Core\ViewLoader::Init($this->app->controller())->GetPartialView(FrameworkViewnames::FILETYPEINPUT);
?>
    <?php 
include_once Puzzlout\Framework\Core\ViewLoader::Init($this->app->controller())->GetPartialView(FrameworkViewnames::FILENAMEINPUT);
?>
    <?php 
include_once Puzzlout\Framework\Core\ViewLoader::Init($this->app->controller())->GetPartialView(FrameworkViewnames::FILEDESCRIPTIONINPUT);
?>
    <?php 
include_once Puzzlout\Framework\Core\ViewLoader::Init($this->app->controller())->GetPartialView(FrameworkViewnames::FILEDESTINATIONPATHINPUT);
?>
    <?php 
include_once Puzzlout\Framework\Core\ViewLoader::Init($this->app->controller())->GetPartialView(FrameworkViewnames::FILECONTENTS);
?>
    <input id="createFile" class="btn btn-info" type="submit" value="Create File" />
</form>
<?php 
echo Puzzlout\Framework\UC\ScriptControl::Init()->ForInternalResource("Web/library/js/webide.createfile.js");