Commit 27f74fb0 authored by Pat Kira's avatar Pat Kira Committed by Robert Lyon

Openbadges - Style, add icon, remove inline css. Bug 1536393

behatnotneeded

Change-Id: I45e62490cf284743b758e847e95991cc56855ead
parent 8205ca80
......@@ -49,6 +49,10 @@ class PluginBlocktypeOpenbadgedisplayer extends SystemBlocktype {
return array('external');
}
public static function get_css_icon() {
return 'shield';
}
public static function get_viewtypes() {
return array('portfolio', 'profile');
}
......
......@@ -62,7 +62,6 @@
$("#viewpreview").removeClass('hidden');
$("#viewpreview").width('500px');
$("#viewpreview").show();
disconnectAll('viewpreviewcontent');
}
});
......@@ -76,4 +75,4 @@
{include file="pagemodal.tpl"}
{/if}
{include file="blocktype:openbadgedisplayer:badge.tpl"}
\ No newline at end of file
{include file="blocktype:openbadgedisplayer:badge.tpl"}
......@@ -21,4 +21,29 @@
.badge-container .openbadge-details {
margin-left: 120px;
}
\ No newline at end of file
}
.openbadges-block img {
width: 90px;
height: 90px;
float: left;
cursor: pointer;
padding: 5px;
}
.openbadge-img {
float: left;
width: 90px;
}
.openbadge-details {
margin-left: 120px;
}
.openbadge-details h3:first-child {
margin-top: 0;
}
.openbadge-details tr td:first-child {
min-width: 80px;
}
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