Plugin Directory

Changeset 1700300


Ignore:
Timestamp:
07/21/2017 12:39:39 PM (9 years ago)
Author:
oldcwj
Message:

fix bug

Location:
wpapper/trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wpapper/trunk/admin/js/uz/mobile_style.js

    r1699395 r1700300  
    4040                success: function (res) {
    4141                    if (res.error_code==0) {
    42                         alert("设置已更改");
     42                        alert("Success");
    4343                    } else {
    4444                        if (res.error_code==100803) {
    45                             alert("您没有权限管理此页面");
     45                            alert("No permission");
    4646                        } else {
    4747                            alert(res.error_msg);
     
    5151                error: function (data) {
    5252                    print_r(data); return;
    53                     alert("设置保存失败");
     53                    alert("Fail");
    5454                }
    5555            });
  • wpapper/trunk/admin/views/admin_style.tpl

    r1699395 r1700300  
    1010<div class="wrap control-section wp-admin wp-core-ui js  nav-menus-php auto-fold admin-bar branch-4-2 version-4-2-2 admin-color-fresh locale-zh-cn customize-support svg menu-max-depth-0" id="wpbody-content">
    1111    <div id="uz">
    12         <h2>Set the native app style</h2>
     12        <h2>Set the native app style</h2><h3>(You do not need to regenerate the app)</h3>
    1313    </div>
    1414    <div class="clear"></div>
    1515    <br/>
    1616    <br/>
    17   <table class="tb tb2">
    18     <tr><th colspan="15" class="partition">Set the list style</th></tr>
    19   </table>
    2017
    2118  <table class="tb tb2">
    2219    <tr>
    23       <td width='80'>List style:</td>
    24       <td width='300'><input id='list_style' class='txt' style="width:100%"/></td>
    25       <td class='tips2'>1:List 2:One Column Grid 3:Two Column Grid 4:Two Staggered Column</td>
     20      <td width='180'>List style:</td>
     21      <td width='186'>
     22        <select id="list_style">
     23            <option value="1">1:List</option>
     24            <option value="2">2:One Column Grid</option>
     25            <option value="3">3:Two Column Grid</option>
     26            <option value="4">4:Two Staggered Column</option>
     27        </select>
     28      </td>
    2629    </tr>
    2730
    2831      <tr>
    29           <td width='80'>Title bar color:</td>
    30           <td width='300'><input id='title_bar_color' value="#ffffff" class="jscolor {hash:true}" style="width:100%"/></td>
    31           <td class='tips2'></td>
     32          <td width='180'>Title bar color:</td>
     33          <td width='186'><input id='title_bar_color' value="#ffffff" class="jscolor {hash:true}" style="width:100%"/></td>
    3234      </tr>
    3335
    3436      <tr>
    35           <td width='80'>Sliding menu color:</td>
    36           <td width='300'><input id='sliding_menu_color' value="#000000" class="jscolor {hash:true}" style="width:100%"/></td>
    37           <td class='tips2'></td>
     37          <td width='180'>Sliding menu color:</td>
     38          <td width='186'><input id='sliding_menu_color' value="#000000" class="jscolor {hash:true}" style="width:100%"/></td>
    3839      </tr>
    3940    <tr>
    4041      <td colspan="3">
    41         <input type="button" id='subbtn' class='mwt-btn mwt-btn-default mwt-btn-xs' style='padding:2px 8px;' value="提交"/>
     42        <input type="button" id='subbtn' class="button button-primary" style='padding:2px 8px;' value="Submit"/>
    4243      </td>
    4344    </tr>
Note: See TracChangeset for help on using the changeset viewer.