Commit 6404271b authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Always show the full panel, even if the link is to a specific

profile. This is more consistent, and we show the profile name,
and the copy/show buttons.
parent 7d194254
......@@ -37,15 +37,12 @@
</center>
</h3>
<% } %>
<% } %>
<!-- If linked to a specific profile, description goes here -->
<% if (profilename) { %>
<% if (!registered) { %>
<p>
Fill out the form below to run an experiment
using this profile:
</p>
<% } %>
<blockquote>
<p><span id='selected_profile_description'></span></p>
</blockquote>
......@@ -55,7 +52,6 @@
on <%= clustername %>'s hardware
</p>
<% } %>
<% if (!registered) { %>
<div class='form-group format-me'>
<input name="username"
id='input_username'
......@@ -147,8 +143,7 @@
</div>
</div>
<% } %>
<!-- Profile selection box -->
<% if (showpicker) { %>
<% if (registered || !profilename) { %>
<div class='form-group row' style='margin-bottom: 0px;'>
<div class='col-md-12'>
<div class='panel panel-default'>
......@@ -183,11 +178,14 @@
Show Profile
</button>
<% } %>
<!-- Profile selection box -->
<% if (showpicker) { %>
<button id='profile'
class='btn btn-primary btn-sm pull-right'
type='button' name='profile_button'>
Change Profile
</button>
<% } %>
<div class='clearfix'></div>
</div>
</div>
......
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