Permalink
Browse files

MDL-56895 porfolio: give buttons bootstrap styling

  • Loading branch information...
danpoltawski committed Nov 11, 2016
1 parent 258d07d commit b1f3de579347754e618ed4a5c1bf312c64d5e2a1
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/portfoliolib.php
View
@@ -346,7 +346,7 @@ public function to_html($format=null, $addstr=null) {
switch ($format) {
case PORTFOLIO_ADD_FULL_FORM:
$formoutput .= $selectoutput;
$formoutput .= "\n" . '<input type="submit" value="' . $addstr .'" />';
$formoutput .= "\n" . '<input type="submit" class="btn btn-secondary" value="' . $addstr .'" />';
$formoutput .= "\n" . '</form>';
break;
case PORTFOLIO_ADD_ICON_FORM:
@@ -453,7 +453,7 @@ function portfolio_instance_select($instances, $callerformats, $callbackclass, $
$count = 0;
$selectoutput = "\n" . '<label class="accesshide" for="instanceid">' . get_string('plugin', 'portfolio') . '</label>';
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '">' . "\n";
$selectoutput .= "\n" . '<select id="instanceid" name="' . $selectname . '" class="custom-select">' . "\n";
$existingexports = portfolio_existing_exports_by_plugin($USER->id);
foreach ($instances as $instance) {
$formats = portfolio_supported_formats_intersect($callerformats, $instance->supported_formats());

0 comments on commit b1f3de5

Please sign in to comment.