1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 15:46:44 +02:00

Issue #1138 Bootstrap3 styling of lists.

This commit is contained in:
Cameron
2015-07-13 13:09:52 -07:00
parent b94d8b2b49
commit 9d6e3978e6
5 changed files with 9 additions and 9 deletions

View File

@@ -273,11 +273,11 @@ class adminstyle_infopanel
<!-- INFOPANEL --> <!-- INFOPANEL -->
<div class="span6 col-md-6"> <div class="span6 col-md-6">
<ul class="thumbnails">'.$text.'</ul> <ul class="list-unstyled thumbnails">'.$text.'</ul>
</div> </div>
<div class="span6 col-md-6"> <div class="span6 col-md-6">
<ul class="thumbnails">'.$text2.'</ul> <ul class="list-unstyled thumbnails">'.$text2.'</ul>
</div> </div>
<!-- --> <!-- -->
@@ -483,7 +483,7 @@ class adminstyle_infopanel
$sc = e107::getScBatch('comment'); $sc = e107::getScBatch('comment');
$text = ' $text = '
<ul class="media-list unstyled">'; <ul class="media-list unstyled list-unstyled">';
// <button class='btn btn-mini'><i class='icon-pencil'></i> Edit</button> // <button class='btn btn-mini'><i class='icon-pencil'></i> Edit</button>
//XXX Always keep template hardcoded here - heavy use of ajax and ids. //XXX Always keep template hardcoded here - heavy use of ajax and ids.

View File

@@ -789,7 +789,7 @@ class e_layout
$text = "<div class='menu-panel'>"; $text = "<div class='menu-panel'>";
$text .= "<div class='menu-panel-header' title=\"".MENLAN_34."\">Area ".$area."</div>\n"; $text .= "<div class='menu-panel-header' title=\"".MENLAN_34."\">Area ".$area."</div>\n";
$text .= $frm->open('form-area-'.$area,'post',e_SELF); $text .= $frm->open('form-area-'.$area,'post',e_SELF);
$text .= "<ul id='area-".$area."' class='sortable unstyled'> $text .= "<ul id='area-".$area."' class='sortable unstyled list-unstyled'>
<li>&nbsp;</li>"; <li>&nbsp;</li>";
if(vartrue($this->menuData[THEME_LAYOUT]) && is_array($this->menuData[THEME_LAYOUT][$area])) if(vartrue($this->menuData[THEME_LAYOUT]) && is_array($this->menuData[THEME_LAYOUT][$area]))

View File

@@ -482,7 +482,7 @@ class admin_shortcodes
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly. $allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
$text = "<ul id='e-latest' class='unstyled'>"; $text = "<ul id='e-latest' class='unstyled list-unstyled'>";
foreach($allconfigs as $k=>$v) foreach($allconfigs as $k=>$v)
{ {
foreach($v as $val) foreach($v as $val)
@@ -1161,7 +1161,7 @@ class admin_shortcodes
$allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly. $allconfigs = multiarray_sort($allconfigs,'title'); //XXX FIXME - not sorting correctly.
$text = "<ul id='e-status' class='unstyled'>"; $text = "<ul id='e-status' class='unstyled list-unstyled'>";
foreach($allconfigs as $k=>$v) foreach($allconfigs as $k=>$v)
{ {
foreach($v as $val) foreach($v as $val)

View File

@@ -295,7 +295,7 @@ if(!$text = $e107cache->retrieve("nq_chatbox"))
{ {
$tp->parseTemplate("{SETIMAGE: w=40}",true); // set thumbnail size. $tp->parseTemplate("{SETIMAGE: w=40}",true); // set thumbnail size.
// FIXME - move to template // FIXME - move to template
$CHATBOX_TEMPLATE['start'] = "<ul class='media-list unstyled'>"; $CHATBOX_TEMPLATE['start'] = "<ul class='media-list unstyled list-unstyled'>";
$CHATBOX_TEMPLATE['item'] = "<li class='media'> $CHATBOX_TEMPLATE['item'] = "<li class='media'>
<span class='media-object pull-left'>{CB_AVATAR}</span> <span class='media-object pull-left'>{CB_AVATAR}</span>
<div class='media-body'><b>{CB_USERNAME}</b>&nbsp; <div class='media-body'><b>{CB_USERNAME}</b>&nbsp;

View File

@@ -77,7 +77,7 @@ $NEWS_MENU_TEMPLATE['other']['end'] = "</div></div>";
// Other News Menu. 2 // Other News Menu. 2
$NEWS_MENU_TEMPLATE['other2']['caption'] = TD_MENU_L2; $NEWS_MENU_TEMPLATE['other2']['caption'] = TD_MENU_L2;
$NEWS_MENU_TEMPLATE['other2']['start'] = "<ul class='media-list unstyled othernews2-block'>{SETIMAGE: w=100&h=100&crop=1}"; // set the {NEWSIMAGE} dimensions. $NEWS_MENU_TEMPLATE['other2']['start'] = "<ul class='media-list unstyled list-unstyled othernews2-block'>{SETIMAGE: w=100&h=100&crop=1}"; // set the {NEWSIMAGE} dimensions.
$NEWS_MENU_TEMPLATE['other2']['item'] = "<li class='media'> $NEWS_MENU_TEMPLATE['other2']['item'] = "<li class='media'>
<span class='media-object pull-left'>{NEWSTHUMBNAIL=placeholder}</span> <span class='media-object pull-left'>{NEWSTHUMBNAIL=placeholder}</span>
<div class='media-body'><h4>{NEWSTITLELINK}</h4> <div class='media-body'><h4>{NEWSTITLELINK}</h4>