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