Changeset 1700939
- Timestamp:
- 07/23/2017 06:18:09 AM (9 years ago)
- Location:
- wpapper/trunk
- Files:
-
- 5 added
- 7 edited
-
admin/admin_model.class.php (modified) (1 diff)
-
admin/img/list.png (added)
-
admin/img/one_column_grid.png (added)
-
admin/img/style_setting.png (added)
-
admin/img/two_column_grid.png (added)
-
admin/img/two_staggered_column.png (added)
-
admin/js/uz/mobile_style.js (modified) (1 diff)
-
admin/views/admin_main.tpl (modified) (1 diff)
-
admin/views/admin_style.tpl (modified) (1 diff)
-
admin/wpapper-admin.class.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
wpapper.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpapper/trunk/admin/admin_model.class.php
r1696662 r1700939 128 128 $data['opt_url'] = admin_url( "admin.php?page=$wpapper_page_alias&action=style"); //返回链接 129 129 130 $data['style_setting_url'] = wpapper_get_plugin_site_base()."/admin/img/style_setting.png"; 131 $data['list_url'] = wpapper_get_plugin_site_base()."/admin/img/list.png"; 132 $data['one_column_url'] = wpapper_get_plugin_site_base()."/admin/img/one_column_grid.png"; 133 $data['two_column_grid_url'] = wpapper_get_plugin_site_base()."/admin/img/two_column_grid.png"; 134 $data['two_staggered_url'] = wpapper_get_plugin_site_base()."/admin/img/two_staggered_column.png"; 135 130 136 return $data; 131 137 } -
wpapper/trunk/admin/js/uz/mobile_style.js
r1700300 r1700939 19 19 set_value("title_bar_color",_wpapper_obj.title_bar_color); 20 20 set_value("sliding_menu_color",_wpapper_obj.sliding_menu_color); 21 22 $("#style_setting_img").attr('src',_wpapper_obj.style_setting_url); 23 $("#list_img").attr('src',_wpapper_obj.list_url); 24 $("#one_column_img").attr('src',_wpapper_obj.one_column_url); 25 $("#two_column_img").attr('src',_wpapper_obj.two_column_grid_url); 26 $("#two_staggered_img").attr('src',_wpapper_obj.two_staggered_url); 21 27 }; 22 28 -
wpapper/trunk/admin/views/admin_main.tpl
r1694899 r1700939 108 108 <tbody> 109 109 <tr class="active" id="app_style"> 110 <td class="plugin-title"><strong>App Style</strong>110 <td class="plugin-title"><strong>App Theme Settings</strong> 111 111 <div class="row-actions visible"> 112 112 <a class="tpl-link" href="javascript:;">Setting</a> -
wpapper/trunk/admin/views/admin_style.tpl
r1700300 r1700939 10 10 <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"> 11 11 <div id="uz"> 12 <h2>Set the native app style</h2><h3>(You do not need to regenerate the app)</h3>12 <h2>Set the native app theme(You do not need to regenerate the app)</h2> 13 13 </div> 14 14 <div class="clear"></div> 15 15 <br/> 16 16 <br/> 17 <div id="poststuff"> 18 <table class="tb tb2" border="1px solid #151515;" cellspacing="0"> 19 <tr> 20 <td width='180'>Title bar color:</td> 21 <td width='186'><input id='title_bar_color' value="#ffffff" class="jscolor {hash:true}" style="width:100%"/></td> 22 <td rowspan="2"> 23 <img id="style_setting_img" src='' style='width:180px;height:320px;'/> 24 </td> 25 </tr> 17 26 18 <table class="tb tb2"> 19 <tr> 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> 29 </tr> 27 <tr> 28 <td width='180'>Sliding menu color:</td> 29 <td width='186'><input id='sliding_menu_color' value="#000000" class="jscolor {hash:true}" style="width:100%"/></td> 30 </tr> 30 31 31 <tr> 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> 34 </tr> 32 <tr> 33 <td width='180' >List style:</td> 34 <td width='186' > 35 <select id="list_style"> 36 <option value="1">1:List</option> 37 <option value="2">2:One Column Grid</option> 38 <option value="3">3:Two Column Grid</option> 39 <option value="4">4:Two Staggered Column</option> 40 </select> 41 </td> 42 <td > 43 <img id="list_img" src='' style='width:120px;height:210px;'/> 44 <img id="one_column_img" src='' style='width:120px;height:210px;'/> 45 <img id="two_column_img" src='' style='width:120px;height:210px;'/> 46 <img id="two_staggered_img" src='' style='width:120px;height:210px;'/> 47 </td> 48 </tr> 35 49 36 <tr> 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> 39 </tr> 40 <tr> 41 <td colspan="3"> 42 <input type="button" id='subbtn' class="button button-primary" style='padding:2px 8px;' value="Submit"/> 43 </td> 44 </tr> 45 </table> 50 <tr> 51 <td colspan="3"> 52 <input type="button" id='subbtn' class="button button-primary" style='padding:2px 8px;' value="Submit"/> 53 </td> 54 </tr> 55 </table> 56 </div> 46 57 </div> 47 58 -
wpapper/trunk/admin/wpapper-admin.class.php
r1699395 r1700939 265 265 add_submenu_page( $bigapp_page_alias, 'Send Push Msg', 'Send Push Msg', 'manage_options', 'display_wpapper_admin_send_notification_page', 266 266 array("WpApperAdmin", 'display_wpapper_admin_send_notification_page')); 267 add_submenu_page( $bigapp_page_alias, ' Style', 'Style', 'manage_options', 'display_wpapper_admin_style_page',267 add_submenu_page( $bigapp_page_alias, 'App Theme Settings', 'App Theme Settings', 'manage_options', 'display_wpapper_admin_style_page', 268 268 array("WpApperAdmin", 'display_wpapper_admin_style_page')); 269 269 } -
wpapper/trunk/readme.txt
r1699395 r1700939 6 6 Requires at least:3.4 7 7 Tested up to: 4.8 8 Stable tag: 1.2. 08 Stable tag: 1.2.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
wpapper/trunk/wpapper.php
r1699395 r1700939 3 3 * Plugin Name: WpApper 4 4 * Description: Create native app(Android & iOS). The wordpress plugin for Wpapper 5 * Version: 1.2. 05 * Version: 1.2.1 6 6 * Author: WpApper 7 7 * Author URI: http://wpapper.com/ … … 25 25 26 26 */ 27 define( 'WPAPPER_APP_VERSION', '1.2. 0' );28 define( 'WPAPPER_INNER_VERSION', ' 8' );29 define( 'WPAPPER_LAST_MODIFICATION', ' 2017-07-2 011:30' );27 define( 'WPAPPER_APP_VERSION', '1.2.1' ); 28 define( 'WPAPPER_INNER_VERSION', '9' ); 29 define( 'WPAPPER_LAST_MODIFICATION', ' 2017-07-23 11:30' ); 30 30 define( 'WPAPPER_API_VERSION', '1' ); 31 31 define( 'WPAPPER_MINIMUM_WP_VERSION','3.5' );
Note: See TracChangeset
for help on using the changeset viewer.