Skip to content
GitLab
Menu
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
7c40bc46
Commit
7c40bc46
authored
Jan 31, 2015
by
Leigh B Stoller
Browse files
Minor tweak to ssh key info block.
parent
9de5eac3
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/instantiate.php
View file @
7c40bc46
...
...
@@ -421,14 +421,15 @@ function SPITFORM($formfields, $newuser, $errors)
echo
"<input type='hidden' name='profile' value='
$thisuuid
'>
\n
"
;
}
if
(
isset
(
$this_user
))
{
echo
"<div class='panel panel-info'>
\n
"
;
echo
" <div class='panel-body bg-info' style='padding: 5px;'>
\n
"
;
#
# Local users, show a link to the ssh keys page.
# Nonlocal users, remind them ssh keys go into their portal.
#
if
(
$this_user
->
IsNonLocal
())
{
echo
"<div>"
;
echo
" <div class='col-md-12 bg-info'
style='margin-top: -5px; margin-bottom: 10px;'>
echo
" <div>
GENI Users; be sure to add ssh keys at <b>your</b> portal if
you want to log in from your desktop, else you
will be limited to using a shell window in your browser.
...
...
@@ -437,14 +438,15 @@ function SPITFORM($formfields, $newuser, $errors)
}
else
{
echo
"<div>"
;
echo
" <div class='col-md-12 bg-info'
style='margin-top: -5px; margin-bottom: 10px;'>
echo
" <div>
<a href='ssh-keys.php'>Manage your SSH keys</a> if
you want to log in from your desktop, else you
will be limited to using a shell window in your browser.
</div>
</div>
\n
"
;
}
echo
" </div>
\n
"
;
echo
"</div>
\n
"
;
}
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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