Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
59d118fd
Commit
59d118fd
authored
Mar 05, 2014
by
Leigh B Stoller
Browse files
Add red-dot buttons to show all Profiles and Experiments.
parent
15df1afe
Changes
2
Hide whitespace changes
Inline
Side-by-side
www/aptui/myexperiments.php
View file @
59d118fd
...
...
@@ -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
"
;
...
...
www/aptui/myprofiles.php
View file @
59d118fd
...
...
@@ -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 -->
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment