Index: Dev/trunk/classes/PipelineInfoPanel.php
===================================================================
--- Dev/trunk/classes/PipelineInfoPanel.php	(revision 177)
+++ Dev/trunk/classes/PipelineInfoPanel.php	(revision 178)
@@ -17,9 +17,9 @@
         ?>
         <div>
-            <fieldset id="infoPanel">
-                <div class="fieldsetTitle">
-                    Title
+            <div id="infoPanel" class="largeFrame">
+                <div class="largeTitle">
+                    Info
                 </div>
-                <div id="infoPanelContent">
+                <div id="infoPanelContent" class="content">
                     
                 </div>
Index: Dev/trunk/classes/pipelineSequencer.php
===================================================================
--- Dev/trunk/classes/pipelineSequencer.php	(revision 177)
+++ Dev/trunk/classes/pipelineSequencer.php	(revision 178)
@@ -40,5 +40,35 @@
         }
         ?>
-        <br /><form name="sequencerForm" action="pipelineEditor.php" method="post">
+        <br />
+
+        <div id="sequencer" class="largeFrame">
+            <div class="largeTitle">Name <?php echo $this->loadedSession->title; ?></div>
+            
+            <div id="seqContent" class="innerLargeFrame">
+                <div id="seqContentWrapper"></div>
+            </div>
+
+            <div class="controls">
+                <input type="button" id="moveSelectedL" value="< Move" class="smallButton"  onClick="moveStep(-1);" />
+                <input type="button" id="moveSelectedR" value="Move >" class="smallButton"  onClick="moveStep(1);" />
+                <input type="button" id="editSelected" value="Edit step" class="smallButton" onClick="editStep();" />
+                <input type="button" id="deleteSelected" value="Delete step" class="smallButton" onClick="deleteStep();" />
+                <input type="submit" id ="clearPipeline" name="clearPipeline" value="Clear pipeline" class="smallButton dis" disabled="true"/>
+                <input type="checkbox" id="confirmClear" name="confirmClear" onChange="IsCheckEnabled(this, document.getElementById('clearPipeline'));" />Really clear?
+                <input type="button" value="debug_save" onClick="savePipeline(true);" />
+            </div>
+            
+            <div id="hiddenInputs">
+                <input type="hidden" name="selectedStep" id="selectedStepField" value="" />
+                <input type="hidden" name="pipelineString" id="pipelineStringField" value="<?php echo $stringPipeline; ?>" />
+                <input type="hidden" name="pipelineTypes" id="pipelineTypeField" value="<?php echo $stringPipelineType; ?>" />
+                <input type="hidden" name="pipelineUpDated" id="pipelineUpdatedField" value="<?php echo $stringPipelineUpdated; ?>" />
+                <input type="hidden" name="numSteps" id="numSteps" value="<?php echo $numberOfSteps; ?>" />
+                <input type="hidden" name="session" id="sessionField" value="<?php echo $this->loadedSession->uid; ?>" />
+            </div>
+        </div>
+
+        <!--
+        <form name="sequencerForm" action="pipelineEditor.php" method="post">
             <fieldset id="sequencer">
                 <div class="fieldsetTitle">Name: <?php echo $this->loadedSession->title; ?> </div>
@@ -67,8 +97,7 @@
             </fieldset>
         </form>
+        -->
         <?php
     }
-
-    
 
     public function Javascript() {
Index: Dev/trunk/classes/surveyEditorWidget.php
===================================================================
--- Dev/trunk/classes/surveyEditorWidget.php	(revision 178)
+++ Dev/trunk/classes/surveyEditorWidget.php	(revision 178)
@@ -0,0 +1,102 @@
+<?php
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+/**
+ * The PHP class that implements the survey editor interface
+ *
+ * @author Thijs Schipper
+ */
+class surveyEditorWidget {
+
+    private $loadedSession;
+
+    public function __construct() {
+        // Set basic variables
+        // Should probably include a default empty survey for the sake of safety
+    }
+
+    public function handlePost() {
+        // Get POSTed data and store variables to class instance properties
+        // Most important: loadedSession!
+
+        //var_dump($_POST);
+
+        $dbi = new DatabaseInterface();
+        if (isset($_POST['objectUid']) && !empty($_POST['objectUid'])) {
+            $surveyResults = $dbi->get("Survey", array("uid" => $_POST['objectUid']));
+            if (count($surveyResults) > 0) {
+                $this->loadedSurvey = $surveyResults[0];
+            } else {
+                var_dump("No surveys found!");
+            }
+        } else {
+            var_dump("Incorrect or null uid passed!");
+        }
+    }
+
+    public function init() {
+        // echo the HTML markup to display the editor on the screen
+        ?>
+
+        <div id="surveyEditor" class="largeFrame">
+            <div class="largeTitle">
+                Survey name
+            </div>
+            <div id="surveyEditorContent" class="innerLargeFrame">
+
+                <div id="questionUID" class="smallFrame">
+                    <div class="smallTitle"><div class="listNumber">1</div>#QUESTION-IDENT-NO</div>
+                    <div class="content">
+                        <p class="questionBody">
+                            This is the question body text. This is what the user will read when he is answering the survey.This is the question body text. This is what the user will read when he is answering the survey.This is the question body text. This is what the user will read when he is answering the survey.
+                        </p>
+                        <div class="questionParamsView">
+                            PARAMETERS GO HERE, probably in one line (Only answer type and identifier?) Tags?
+                        </div>
+                    </div>
+                    <div id="questionDisplayControls" class="controls">
+                        <input type="button" value="Edit" onClick="javascript:alert('editing not yet supported');" class =" smallButton"/>
+                        <input type="button" value="Remove" onClick="javascript:alert('removing not yet supported');" class =" smallButton"/>
+                    </div>
+                </div>
+
+
+            </div>
+            <div id="surveyEditorControls" class="controls">
+                <input type="button" value="Discard survey" onClick="javascript:alert('discard not yet supported');" class="smallButton" />
+                <input type="button" value="Save survey" onClick="javascript:alert('save not yet supported');" class="smallButton" />
+            </div>
+
+        </div>
+
+
+        <form name="hiddenFields">
+            <input type="hidden" id="surveyUid" value="<?php echo $this->loadedSurvey->uid; ?>" />
+            <input type="hidden" id="questionUids" value="<?php echo $this->loadedSurvey->questions; ?>" />
+            <input type="hidden" id="surveyTitle" value="<?php echo $this->loadedSurvey->title; ?>" />
+            <input type="hidden" id="numQuestions" value="<?php echo count($this->loadedSurvey->questions); ?>" />
+            <input type="hidden" id="surveyDescription" value="<?php echo $this->loadedSurvey->description; ?>" />
+        </form>
+
+
+        <?php
+    }
+
+    public function javascript() {
+        // output the javascript tags and needed functions in the head of the page
+        ?>
+        <script type="text/javascript" src="js/surveyEditorScripts.js"></script>
+        <script type="text/javascript" src="js/jquery.js"></script>
+        <script type="text/javascript">
+            $(document).ready(function() {
+                loadSurvey();
+            });
+        </script>
+        <?php
+    }
+
+}
+?>
