Commit 30c06921 authored by Robert Ricci's avatar Robert Ricci

Make Tim's GUI available to everyone, even non-studs.

parent 733ebb12
...@@ -256,31 +256,19 @@ function SPITFORM($formfields, $errors) ...@@ -256,31 +256,19 @@ function SPITFORM($formfields, $errors)
else { else {
if (! isset($formfields['copyid'])) { if (! isset($formfields['copyid'])) {
if (!isset($formfields['nsref']) && !isset($view['quiet'])) { if (!isset($formfields['nsref']) && !isset($view['quiet'])) {
if (STUDLY()) { echo "<p><ul>
echo "<p><ul> <li><b>If you have an NS file:</b><br> You may want to
<li><b>If you have an NS file:</b><br> You may want to <b><a href='nscheck_form.php3'>syntax check it first</a></b>
<b><a href='nscheck_form.php3'>syntax check it first</a></b> <li><b>If you do not have an NS file:</b><br>
<li><b>If you do not have an NS file:</b><br> <b><a href='clientui.php3'>New GUI editor</a></b> - An enhanced Java applet for editing topologies.<br>
<b><a href='clientui.php3'>New GUI editor</a></b> - An enhanced Java applet for editing topologies.<br> The older <b><a href='buildui/bui.php3'>NetBuild GUI</a></b>
<b><a href='buildui/bui.php3'>The NetBuild GUI</a></b> can be used to graphically create topologies.<font size=-2>
can be used to graphically create topologies.<font size=-2> (<a href='$TBDOCBASE/faq.php3#netbuild'>Additional
(<a href='$TBDOCBASE/faq.php3#netbuild'>Additional information</a>)</font>.<br>
information</a>)</font>. Or, you can download the Emulab
</ul></p><br>"; <a href='netlab/client.php3'><b>client</b></a> and graphically
} else { create one from your desktop.
echo "<p><ul> </ul></p><br>";
<li><b>If you have an NS file:</b><br> You may want to
<b><a href='nscheck_form.php3'>syntax check it first</a></b>
<li><b>If you do not have an NS file:</b><br> You may want to
<b><a href='buildui/bui.php3'>go to the NetBuild GUI</a></b>
to graphically create one online<font size=-2>
(<a href='$TBDOCBASE/faq.php3#netbuild'>Additional
information</a>)</font>.<br>
Or, you can download the Emulab
<a href='netlab/client.php3'><b>client</b></a> and graphically
create one from your desktop.
</ul></p><br>";
}
} else { } else {
if (isset($view['plab_ns_message'])) { if (isset($view['plab_ns_message'])) {
echo "<center> echo "<center>
......
...@@ -15,7 +15,7 @@ $view = array( ...@@ -15,7 +15,7 @@ $view = array(
'hide_copyright' => 1 'hide_copyright' => 1
); );
PAGEHEADER("NetlabClient", $view); PAGEHEADER("Experiment Creation GUI", $view);
# #
# Only known and logged in users can do this. # Only known and logged in users can do this.
...@@ -32,6 +32,8 @@ $optargs = OptionalPageArguments("experiment", PAGEARG_EXPERIMENT, ...@@ -32,6 +32,8 @@ $optargs = OptionalPageArguments("experiment", PAGEARG_EXPERIMENT,
?> ?>
<h3>Note: See the Help menu for quickstart and tips</h3>
<div id="clientblock" name="clientblock"></div> <div id="clientblock" name="clientblock"></div>
<script language='JavaScript'> <script language='JavaScript'>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment