mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 18:51:41 +09:00
Communication module bootstrap UI fix.
Module selector popup UI fixed. git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12577 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c9edd9eb33
commit
f6a00de24c
14 changed files with 168 additions and 171 deletions
|
|
@ -1,44 +1,37 @@
|
|||
<load target="./js/module_admin.js" usecdn="true" />
|
||||
<load target="../../../common/css/bootstrap.min.css" usecdn="true" />
|
||||
|
||||
<div class="x_page-header">
|
||||
<h1>{$lang->module_selector}</h1>
|
||||
<div class="x_modal-header">
|
||||
<h3>{$lang->module_selector}</h3>
|
||||
</div>
|
||||
<form action="./" method="post">
|
||||
<form action="./" method="post" class="x_modal-body x_form-horizontal" style="max-height:none">
|
||||
<input type="hidden" name="module" value="module" />
|
||||
<input type="hidden" name="act" value="dispModuleSelectList" />
|
||||
<input type="hidden" name="id" value="{$id}" />
|
||||
<input type="hidden" name="type" value="{$type}" />
|
||||
<input type="hidden" name="vid" value="{$vid}" />
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<tbody>
|
||||
<!--@if($site_count && $logged_info->is_admin == 'Y')-->
|
||||
<tr>
|
||||
<th>{$lang->virtual_site}</th>
|
||||
<td>
|
||||
<input type="text" name="site_keyword" value="{$site_keyword}" /> <span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
<p>{$lang->about_search_virtual_site}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th>{$lang->module}</th>
|
||||
<td>
|
||||
<select name="selected_module">
|
||||
<!--@foreach($mid_list as $key=>$val)-->
|
||||
<option value="{$key}" <!--@if($selected_module == $key)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select><span class="button blue"><input type="submit" value="{$lang->cmd_search}" /></span>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="x_table x_table-striped x_table-hover">
|
||||
<div class="x_control-group" cond="$site_count && $logged_info->is_admin == 'Y'">
|
||||
<label class="x_control-label" for="site_keyword">{$lang->virtual_site}</label>
|
||||
<div class="x_controls">
|
||||
<span class="x_input-append">
|
||||
<input type="text" name="site_keyword" id="site_keyword" value="{$site_keyword}" />
|
||||
<input type="submit" value="{$lang->cmd_search}" class="x_btn" />
|
||||
</span>
|
||||
<p class="x_help-block">{$lang->about_search_virtual_site}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
<label class="x_control-label" for="selected_module">{$lang->module}</label>
|
||||
<div class="x_controls">
|
||||
<select name="selected_module" id="selected_module">
|
||||
<option loop="$mid_list => $key,$val" value="{$key}" selected="selected"|cond="$selected_module == $key">{$val->title}</option>
|
||||
</select>
|
||||
<input type="submit" value="{$lang->cmd_search}" class="x_btn" />
|
||||
</div>
|
||||
</div>
|
||||
<table class="x_table x_table-striped x_table-hover" style="border-top:1px dotted #ddd">
|
||||
<thead>
|
||||
<tr>
|
||||
<!--@if($module_category_exists)--><th>{$lang->module_category}</th><!--@end-->
|
||||
<th>{$lang->mid}</th>
|
||||
<th >{$lang->browser_title}</th>
|
||||
<th>{$lang->browser_title}</th>
|
||||
<th>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</th>
|
||||
<tr>
|
||||
</thead>
|
||||
|
|
@ -46,7 +39,6 @@
|
|||
<!--@if($module_category_exists)-->
|
||||
<!--@foreach($selected_mids as $key => $val)-->
|
||||
<tr>
|
||||
<td rowspan="{count($val)}">{$key} </td>
|
||||
{@ $_idx =0; }
|
||||
<!--@foreach($val as $k => $v)-->
|
||||
<!--@if($_idx >0)--><tr><!--@end-->
|
||||
|
|
@ -66,7 +58,7 @@
|
|||
<td>{$k}</td>
|
||||
<td>{$v->browser_title}</td>
|
||||
<td><a href="#" onclick="insertModule('{$id}', {$v->module_srl}, '{$k}', '{str_replace("'","\\'",$v->browser_title)}',{$type=='single'?'false':'true'}); return false;" class="button green"><span>{$type=='single'?$lang->cmd_select:$lang->cmd_insert}</span></a></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue