George Stephanis
5736d66a92
Pagination now works by first, prev, next, last.
...
Still need to get number based pagination working.
2015-08-07 16:58:42 -04:00
George Stephanis
ba1d2d7bde
Add in and populate pagination template.
...
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-07 16:36:50 -04:00
George Stephanis
2b2a54c5dc
Pass rates in as an array, not an associative array, so it's an Array in js.
2015-08-07 16:01:57 -04:00
George Stephanis
c627d49460
A default placeholder to show until the rendering code replaces it.
2015-08-07 15:44:23 -04:00
George Stephanis
4874408a98
Insert placeholder divs for search and pagination.
2015-08-07 15:25:09 -04:00
George Stephanis
56dc05d80e
Whitespace tweaks
2015-08-07 15:24:49 -04:00
George Stephanis
516977bd01
JSHint fixes.
...
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-07 12:10:01 -04:00
George Stephanis
b030927590
Extract 'No Rows Selected' string
2015-08-07 11:58:02 -04:00
George Stephanis
bd30def6a1
Whitespace tidy!
2015-08-07 11:57:48 -04:00
George Stephanis
4221c7be24
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-07 11:57:38 -04:00
George Stephanis
65eb16fe8a
Migrate csv columns to localize script.
2015-08-07 11:47:39 -04:00
George Stephanis
974b337fbb
Move js in from php template file.
2015-08-07 11:42:49 -04:00
George Stephanis
64f48f8706
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-07 11:36:38 -04:00
George Stephanis
cca93cd09e
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-07 11:14:55 -04:00
George Stephanis
729e6c924c
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-07 11:04:55 -04:00
George Stephanis
f0656e7e38
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-06 17:41:12 -04:00
Mike Jolley
ddd97b64c3
Remove white space to fix appearance of new rows
...
Fixes #8730
2015-08-06 11:38:46 +01:00
Shiva Poudel
0d1c2dc4dc
Fix - calls for esc_*
2015-08-06 02:04:21 +05:45
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
29d9a7da8c
Found two missing `esc_js()` calls as well.
2015-08-05 14:10:10 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches
054dfe0c7b
Changed default Underscore's template for wp.template in API Keys
2015-08-05 15:02:55 -03:00
Fredrik Rossland
841beb95a6
Found a typo, "Permissons"
...
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Claudio Sanches
eebd47ecf8
Improved truncated key description
2015-07-16 15:45:00 -03:00
Claudio Sanches
e0be5a2e9f
Added truncated consumer key and last access fields in woocommerce_api_keys table
2015-07-16 15:42:00 -03:00
Beka Rice
54e00fc84a
Fix typo while creating API keys
...
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Claudio Sanches
4698111dd2
Hide api key fields when generate a new keys
2015-06-08 20:22:49 -03:00
Claudio Sanches
51c5ef6b20
Removed extra <p>
2015-06-08 19:45:14 -03:00
Claudio Sanches
89ddda9ff6
Added new api key generation methods
2015-06-08 19:41:35 -03:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Claudio Sanches
c4d4a623b5
Improved the API Keys table list, added actions and fixed the links
2015-05-18 15:33:36 -03:00
Claudio Sanches
2f5df9c185
Added methods to generate and edit API keys
2015-05-18 15:23:05 -03:00
Claudio Sanches
c49ab520b8
Created page to edit and create keys
2015-05-16 00:09:29 -03:00
Claudio Sanches
2689d8b51e
Created api keys table list
2015-05-15 23:03:24 -03:00
Claudio Sanches
eb6f25b47b
Moved some webhooks admin methods from WC_Settings_Rest_API to WC_Admin_Webhooks class
2015-05-15 16:50:30 -03:00
Claudio Sanches
0edbfeaa35
Created new Settings API tab and moved the old webhooks tab to API tab
2015-05-15 16:12:11 -03:00
Gabor Javorszky
fc66b8581a
Adds a filter to webhook topic dropdown values
...
Fixes #8098
2015-05-02 02:31:24 +01:00
Mike Jolley
af2407a089
Move default customer location to general settings tab.
2015-03-06 14:45:04 +00:00
Mike Jolley
470b259a8a
Don't download GeoIP Database until geolocation option is enabled in settings.
2015-02-18 12:53:24 +00:00
Claudio Sanches
1a3617c55b
Improved the select fields in webhooks ui
2015-01-30 10:31:43 -02:00
Claudio Sanches
f7e24c0b77
Fixed more typos
2015-01-29 01:31:03 -02:00
Claudio Sanches
ffbafbf652
Prevent errors in webhook log display
2015-01-21 14:25:33 -02:00
Mike Jolley
7f2a6b5e41
Fix pagination by preventing old query args from being re-added to the link
...
Fixes #7164
2015-01-20 09:43:56 +00:00
Claudio Sanches
26ea24ae4c
Removed useless data-tip in webhooks save button
2015-01-15 09:44:29 -02:00
Claudio Sanches
9c52a70597
Fixed webhooks status description
2015-01-13 22:09:54 -02:00
Claudio Sanches
695b04be61
Fixed conflits
2015-01-12 16:02:46 -02:00
Claudio Sanches
f3e5c03b38
Repositioned the "move to trash" and "save" buttons
2015-01-12 09:27:09 -02:00
Claudio Sanches
2626275782
Edit and deleted webhooks
2015-01-09 15:42:01 -02:00
Claudio Sanches
03193b867b
Creted new webhooks edit interface
2015-01-08 16:34:30 -02:00