Commit 59d118fd authored by Leigh B Stoller's avatar Leigh B Stoller

Add red-dot buttons to show all Profiles and Experiments.

parent 15df1afe
......@@ -79,7 +79,11 @@ $query_result =
if (mysql_num_rows($query_result) == 0) {
echo "<b>No experiments to show you. Maybe you want to ".
"<a href='instantiate.php'>start one?</a></b>\n";
"<a href='instantiate.php'>start one?</a></b><br><br>\n";
if (ISADMIN()) {
echo "<img src='/redball.gif'>
<a href='myexperiments.php?all=1'>Show all user Experiments</a>\n";
}
echo "<script src='js/lib/require.js' data-main='js/null'>
</script>\n";
SPITFOOTER();
......@@ -133,8 +137,13 @@ while ($row = mysql_fetch_array($query_result)) {
</tr>\n";
}
echo " </tbody>
</table>
</div>
</table>\n";
if (ISADMIN()) {
echo "<img src='/redball.gif'>
<a href='myexperiments.php?all=1'>Show all user Experiments</a>\n";
}
echo " </div>
</div>\n";
echo "<script src='js/lib/require.js' data-main='js/myexperiments'></script>\n";
......
......@@ -174,8 +174,13 @@ while ($row = mysql_fetch_array($query_result)) {
</tr>\n";
}
echo " </tbody>
</table>
</div>
</table>\n";
if (ISADMIN()) {
echo "<img src='/redball.gif'>
<a href='myprofiles.php?all=1'>Show all user Profiles</a>\n";
}
echo" </div>
</div>\n";
echo "<!-- This is the topology view modal -->
......
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