Commit 4733e880 authored by Robert Ricci's avatar Robert Ricci
Browse files

Different view for the currently selected profile

I was not really liking the side by side thing, so put the button in
a panel footer instead.

The main downside is that this looks sort of silly for a logged in user,
who doesn't need the rest of the form. So, still needs some work.
parent 5604a90b
......@@ -271,7 +271,7 @@ function SPITFORM($formfields, $newuser, $errors)
echo "<div class='form-group row'>";
echo "<input id='selected_profile' type='hidden'
echo "<div class='col-md-8'><div class='panel panel-default'>\n";
echo "<div class='col-md-12'><div class='panel panel-default'>\n";
echo "<div class='panel-heading'>
<span class='panel-title'><strong>Selected Profile:</strong>
<span id='selected_profile_text'>
......@@ -283,15 +283,18 @@ function SPITFORM($formfields, $newuser, $errors)
echo " </div>\n";
# Note: Following line is also duplicated above
echo " <div class='panel-body' id='selected_profile_description'></div>\n";
echo "</div></div>"; # End of panel
echo "<div class='col-md-4 text-right'><button id='profile' class='btn btn-primary btn-md'
echo "<div class='panel-body'>";
echo " <div id='selected_profile_description'></div>\n";
echo "</div>";
echo "<div class='panel-footer'>";
echo "<button id='profile' class='btn btn-primary btn-md pull-right'
type='button' name='profile_button'>
Select a Profile
Change Profile
echo "<div class='clearfix'></div>";
echo "</div>";
echo "</div></div>"; # End of panel
#echo "</div>"; # End of row
else {
echo "<input id='selected_profile' type='hidden'
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