Version Description
- Added support for additional errors and exceptions handling
- Added support for reporting a problem in better and easier way
- Improved support process in ZenDesk system for faster response time
- Fixed typos on the import page. Thanks to Terry Heenan
Download this release
Release Info
Developer | bangelov |
Plugin | All-in-One WP Migration |
Version | 1.5.0 |
Comparing to | |
See all releases |
Code changes from version 1.4.0 to 1.5.0
- all-in-one-wp-migration.php +1 -1
- constants.php +6 -1
- lib/controller/class-ai1wm-export-controller.php +5 -0
- lib/controller/class-ai1wm-feedback-controller.php +44 -0
- lib/controller/class-ai1wm-import-controller.php +5 -0
- lib/controller/class-ai1wm-main-controller.php +17 -57
- lib/controller/class-ai1wm-report-controller.php +44 -0
- lib/model/class-ai1wm-error.php +80 -0
- lib/model/class-ai1wm-export.php +1 -1
- lib/model/class-ai1wm-feedback.php +63 -0
- lib/model/class-ai1wm-report.php +63 -0
- lib/view/assets/css/export.min.css +1 -1
- lib/view/assets/css/import.min.css +1 -1
- lib/view/assets/font/servmask.eot +0 -0
- lib/view/assets/font/servmask.svg +15 -1
- lib/view/assets/font/servmask.ttf +0 -0
- lib/view/assets/font/servmask.woff +0 -0
- lib/view/assets/javascript/export.min.js +1 -1
- lib/view/assets/javascript/import.min.js +1 -1
- lib/view/export/index.php +30 -3
- lib/view/import/index.php +28 -3
- loader.php +29 -3
- readme.txt +7 -1
all-in-one-wp-migration.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Migration tool for all your blog data
|
6 |
* Author: ServMask
|
7 |
* Author URI: http://servmask.com/
|
8 |
-
* Version: 1.
|
9 |
*
|
10 |
* Copyright (C) 2013 ServMask LLC
|
11 |
*
|
5 |
* Description: Migration tool for all your blog data
|
6 |
* Author: ServMask
|
7 |
* Author URI: http://servmask.com/
|
8 |
+
* Version: 1.5.0
|
9 |
*
|
10 |
* Copyright (C) 2013 ServMask LLC
|
11 |
*
|
constants.php
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
// ==================
|
20 |
// = Plugin VERSION =
|
21 |
// ==================
|
22 |
-
define( 'AI1WM_VERSION', '1.
|
23 |
|
24 |
// ===============
|
25 |
// = Plugin Name =
|
@@ -76,6 +76,11 @@ define( 'AI1WM_URL', plugins_url( '', __FILE__ ) );
|
|
76 |
// ==============
|
77 |
define( 'AI1WM_FEEDBACK_URL', 'https://servmask.com/ai1wm/feedback/create' );
|
78 |
|
|
|
|
|
|
|
|
|
|
|
79 |
// ==============
|
80 |
// = ServMask Table Prefix =
|
81 |
// ==============
|
19 |
// ==================
|
20 |
// = Plugin VERSION =
|
21 |
// ==================
|
22 |
+
define( 'AI1WM_VERSION', '1.5.0' );
|
23 |
|
24 |
// ===============
|
25 |
// = Plugin Name =
|
76 |
// ==============
|
77 |
define( 'AI1WM_FEEDBACK_URL', 'https://servmask.com/ai1wm/feedback/create' );
|
78 |
|
79 |
+
// ==============
|
80 |
+
// = ServMask Report Url =
|
81 |
+
// ==============
|
82 |
+
define( 'AI1WM_REPORT_URL', 'https://servmask.com/ai1wm/report/create' );
|
83 |
+
|
84 |
// ==============
|
85 |
// = ServMask Table Prefix =
|
86 |
// ==============
|
lib/controller/class-ai1wm-export-controller.php
CHANGED
@@ -30,6 +30,11 @@ class Ai1wm_Export_Controller
|
|
30 |
}
|
31 |
|
32 |
public static function export() {
|
|
|
|
|
|
|
|
|
|
|
33 |
if ( isset( $_POST['options'] ) && ( $options = $_POST['options'] ) ) {
|
34 |
$output_file = tempnam( sys_get_temp_dir(), 'wm_' );
|
35 |
|
30 |
}
|
31 |
|
32 |
public static function export() {
|
33 |
+
// Set default handlers
|
34 |
+
set_error_handler( array( 'Ai1wm_Error', 'error_handler' ) );
|
35 |
+
set_exception_handler( array( 'Ai1wm_Error', 'exception_handler' ) );
|
36 |
+
|
37 |
+
// Get options
|
38 |
if ( isset( $_POST['options'] ) && ( $options = $_POST['options'] ) ) {
|
39 |
$output_file = tempnam( sys_get_temp_dir(), 'wm_' );
|
40 |
|
lib/controller/class-ai1wm-feedback-controller.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2013 ServMask LLC
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*/
|
18 |
+
|
19 |
+
class Ai1wm_Feedback_Controller
|
20 |
+
{
|
21 |
+
public static function leave_feedback() {
|
22 |
+
// Set E-mail
|
23 |
+
$email = null;
|
24 |
+
if ( isset( $_POST['email'] ) ) {
|
25 |
+
$email = trim( $_POST['email'] );
|
26 |
+
}
|
27 |
+
|
28 |
+
// Set Message
|
29 |
+
$message = null;
|
30 |
+
if ( isset( $_POST['message'] ) ) {
|
31 |
+
$message = trim( $_POST['message'] );
|
32 |
+
}
|
33 |
+
|
34 |
+
// Set Terms
|
35 |
+
$terms = false;
|
36 |
+
if ( isset( $_POST['terms'] ) ) {
|
37 |
+
$terms = (bool) $_POST['terms'];
|
38 |
+
}
|
39 |
+
|
40 |
+
// Send Feedback
|
41 |
+
$model = new Ai1wm_Feedback;
|
42 |
+
return $model->leave_feedback( $email, $message, $terms );
|
43 |
+
}
|
44 |
+
}
|
lib/controller/class-ai1wm-import-controller.php
CHANGED
@@ -23,8 +23,13 @@ class Ai1wm_Import_Controller
|
|
23 |
}
|
24 |
|
25 |
public static function upload_file() {
|
|
|
|
|
|
|
|
|
26 |
$result = array();
|
27 |
|
|
|
28 |
if ( isset( $_FILES['input_file'] ) && ( $input_file = $_FILES['input_file'] ) ) {
|
29 |
$options = array(
|
30 |
'chunk' => 0,
|
23 |
}
|
24 |
|
25 |
public static function upload_file() {
|
26 |
+
// Set default handlers
|
27 |
+
set_error_handler( array( 'Ai1wm_Error', 'error_handler' ) );
|
28 |
+
set_exception_handler( array( 'Ai1wm_Error', 'exception_handler' ) );
|
29 |
+
|
30 |
$result = array();
|
31 |
|
32 |
+
// Get options
|
33 |
if ( isset( $_FILES['input_file'] ) && ( $input_file = $_FILES['input_file'] ) ) {
|
34 |
$options = array(
|
35 |
'chunk' => 0,
|
lib/controller/class-ai1wm-main-controller.php
CHANGED
@@ -20,8 +20,9 @@ class Ai1wm_Main_Controller
|
|
20 |
{
|
21 |
|
22 |
/**
|
23 |
-
*
|
24 |
-
*
|
|
|
25 |
*/
|
26 |
public function __construct() {
|
27 |
register_activation_hook(
|
@@ -65,7 +66,8 @@ class Ai1wm_Main_Controller
|
|
65 |
}
|
66 |
add_action( 'admin_head', array( $this, 'admin_head' ) );
|
67 |
add_action( 'init', array( $this, 'router' ) );
|
68 |
-
add_action( 'wp_ajax_leave_feedback',
|
|
|
69 |
add_action( 'wp_ajax_upload_file', 'Ai1wm_Import_Controller::upload_file' );
|
70 |
|
71 |
// Enable or disable maintenance mode
|
@@ -101,60 +103,6 @@ class Ai1wm_Main_Controller
|
|
101 |
wp_die( $body, $title );
|
102 |
}
|
103 |
|
104 |
-
/**
|
105 |
-
* Submit customer feedback to ServMask.com
|
106 |
-
* @return void
|
107 |
-
*/
|
108 |
-
public function leave_feedback() {
|
109 |
-
$errors = array();
|
110 |
-
|
111 |
-
// Set E-mail
|
112 |
-
$email = null;
|
113 |
-
if ( isset( $_POST['email'] ) ) {
|
114 |
-
$email = trim( $_POST['email'] );
|
115 |
-
}
|
116 |
-
|
117 |
-
// Set Message
|
118 |
-
$message = null;
|
119 |
-
if ( isset( $_POST['message'] ) ) {
|
120 |
-
$message = trim( $_POST['message'] );
|
121 |
-
}
|
122 |
-
|
123 |
-
// Set Terms
|
124 |
-
$terms = false;
|
125 |
-
if ( isset( $_POST['terms'] ) ) {
|
126 |
-
$terms = (bool) $_POST['terms'];
|
127 |
-
}
|
128 |
-
|
129 |
-
// Submit feedback to ServMask
|
130 |
-
if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
131 |
-
$errors[] = 'Your email is not valid.';
|
132 |
-
} else if ( empty( $message ) ) {
|
133 |
-
$errors[] = 'Please enter comments in the text area.';
|
134 |
-
} else if ( ! $terms ) {
|
135 |
-
$errors[] = 'Please accept feedback term conditions.';
|
136 |
-
} else {
|
137 |
-
$response = wp_remote_post(
|
138 |
-
AI1WM_FEEDBACK_URL,
|
139 |
-
array(
|
140 |
-
'body' => array(
|
141 |
-
'email' => $email,
|
142 |
-
'message' => $message,
|
143 |
-
'export_last_options' => get_option( Ai1wm_Export::EXPORT_LAST_OPTIONS ),
|
144 |
-
),
|
145 |
-
)
|
146 |
-
);
|
147 |
-
|
148 |
-
if ( is_wp_error( $response ) ) {
|
149 |
-
$errors[] = 'Something went wrong: ' .
|
150 |
-
$response->get_error_message();
|
151 |
-
}
|
152 |
-
}
|
153 |
-
|
154 |
-
echo json_encode( array( 'errors' => $errors ) );
|
155 |
-
exit;
|
156 |
-
}
|
157 |
-
|
158 |
/**
|
159 |
* Register plugin menus
|
160 |
*/
|
@@ -279,6 +227,12 @@ class Ai1wm_Main_Controller
|
|
279 |
),
|
280 |
);
|
281 |
wp_localize_script( 'ai1wm-js-export', 'ai1wm_feedback', $feedback_init );
|
|
|
|
|
|
|
|
|
|
|
|
|
282 |
}
|
283 |
|
284 |
/**
|
@@ -331,6 +285,12 @@ class Ai1wm_Main_Controller
|
|
331 |
),
|
332 |
);
|
333 |
wp_localize_script( 'ai1wm-js-import', 'ai1wm_feedback', $feedback_init );
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
}
|
335 |
|
336 |
/**
|
20 |
{
|
21 |
|
22 |
/**
|
23 |
+
* Main Application Controller
|
24 |
+
*
|
25 |
+
* @return Ai1wm_Main_Controller
|
26 |
*/
|
27 |
public function __construct() {
|
28 |
register_activation_hook(
|
66 |
}
|
67 |
add_action( 'admin_head', array( $this, 'admin_head' ) );
|
68 |
add_action( 'init', array( $this, 'router' ) );
|
69 |
+
add_action( 'wp_ajax_leave_feedback', 'Ai1wm_Feedback_Controller::leave_feedback' );
|
70 |
+
add_action( 'wp_ajax_report_problem', 'Ai1wm_Report_Controller::report_problem' );
|
71 |
add_action( 'wp_ajax_upload_file', 'Ai1wm_Import_Controller::upload_file' );
|
72 |
|
73 |
// Enable or disable maintenance mode
|
103 |
wp_die( $body, $title );
|
104 |
}
|
105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
/**
|
107 |
* Register plugin menus
|
108 |
*/
|
227 |
),
|
228 |
);
|
229 |
wp_localize_script( 'ai1wm-js-export', 'ai1wm_feedback', $feedback_init );
|
230 |
+
$report_init = array(
|
231 |
+
'ajax' => array(
|
232 |
+
'url' => admin_url( 'admin-ajax.php' ) . '?action=report_problem',
|
233 |
+
),
|
234 |
+
);
|
235 |
+
wp_localize_script( 'ai1wm-js-export', 'ai1wm_report', $report_init );
|
236 |
}
|
237 |
|
238 |
/**
|
285 |
),
|
286 |
);
|
287 |
wp_localize_script( 'ai1wm-js-import', 'ai1wm_feedback', $feedback_init );
|
288 |
+
$report_init = array(
|
289 |
+
'ajax' => array(
|
290 |
+
'url' => admin_url( 'admin-ajax.php' ) . '?action=report_problem',
|
291 |
+
),
|
292 |
+
);
|
293 |
+
wp_localize_script( 'ai1wm-js-import', 'ai1wm_report', $report_init );
|
294 |
}
|
295 |
|
296 |
/**
|
lib/controller/class-ai1wm-report-controller.php
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2013 ServMask LLC
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*/
|
18 |
+
|
19 |
+
class Ai1wm_Report_Controller
|
20 |
+
{
|
21 |
+
public static function report_problem() {
|
22 |
+
// Set E-mail
|
23 |
+
$email = null;
|
24 |
+
if ( isset( $_POST['email'] ) ) {
|
25 |
+
$email = trim( $_POST['email'] );
|
26 |
+
}
|
27 |
+
|
28 |
+
// Set Message
|
29 |
+
$message = null;
|
30 |
+
if ( isset( $_POST['message'] ) ) {
|
31 |
+
$message = trim( $_POST['message'] );
|
32 |
+
}
|
33 |
+
|
34 |
+
// Set Terms
|
35 |
+
$terms = false;
|
36 |
+
if ( isset( $_POST['terms'] ) ) {
|
37 |
+
$terms = (bool) $_POST['terms'];
|
38 |
+
}
|
39 |
+
|
40 |
+
// Send Feedback
|
41 |
+
$model = new Ai1wm_Report;
|
42 |
+
return $model->report_problem( $email, $message, $terms );
|
43 |
+
}
|
44 |
+
}
|
lib/model/class-ai1wm-error.php
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2013 ServMask LLC
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*/
|
18 |
+
|
19 |
+
class Ai1wm_Error
|
20 |
+
{
|
21 |
+
const ERROR_LIMIT = 20;
|
22 |
+
const EXCEPTION_LIMIT = 20;
|
23 |
+
const ERROR_HANDLER = 'ai1wm_error_handler';
|
24 |
+
const EXCEPTION_HANDLER = 'ai1wm_exception_handler';
|
25 |
+
|
26 |
+
/**
|
27 |
+
* Custom Error Handler
|
28 |
+
*
|
29 |
+
* @param integer $code Error Code
|
30 |
+
* @param string $message Error Message
|
31 |
+
* @param string $file Error File
|
32 |
+
* @param integer $line Error Line
|
33 |
+
* @return void
|
34 |
+
*/
|
35 |
+
public static function error_handler( $code, $message, $file, $line ) {
|
36 |
+
$errors = get_option( self::ERROR_HANDLER, array() );
|
37 |
+
|
38 |
+
// Limit errors
|
39 |
+
if ( count( $errors ) > self::ERROR_LIMIT ) {
|
40 |
+
array_shift( $errors );
|
41 |
+
}
|
42 |
+
|
43 |
+
// Add error
|
44 |
+
$errors[] = array(
|
45 |
+
'code' => $code,
|
46 |
+
'message' => $message,
|
47 |
+
'file' => $file,
|
48 |
+
'line' => $line,
|
49 |
+
'time' => time(),
|
50 |
+
);
|
51 |
+
|
52 |
+
update_option( self::ERROR_HANDLER, $errors );
|
53 |
+
}
|
54 |
+
|
55 |
+
/**
|
56 |
+
* Custom Exception Handler
|
57 |
+
*
|
58 |
+
* @param Exception $e Exception Object
|
59 |
+
* @return void
|
60 |
+
*/
|
61 |
+
public static function exception_handler( $e ) {
|
62 |
+
$exceptions = get_option( self::EXCEPTION_HANDLER, array() );
|
63 |
+
|
64 |
+
// Limit errors
|
65 |
+
if ( count( $exceptions ) > self::EXCEPTION_LIMIT ) {
|
66 |
+
array_shift( $exceptions );
|
67 |
+
}
|
68 |
+
|
69 |
+
// Add exception
|
70 |
+
$exceptions[] = array(
|
71 |
+
'code' => $e->getCode(),
|
72 |
+
'message' => $e->getMessage(),
|
73 |
+
'file' => $e->getFile(),
|
74 |
+
'line' => $e->getLine(),
|
75 |
+
'time' => time(),
|
76 |
+
);
|
77 |
+
|
78 |
+
update_option( self::EXCEPTION_HANDLER, $exceptions );
|
79 |
+
}
|
80 |
+
}
|
lib/model/class-ai1wm-export.php
CHANGED
@@ -60,7 +60,7 @@ class Ai1wm_Export
|
|
60 |
$options['home_url'] = home_url();
|
61 |
|
62 |
// Export last options
|
63 |
-
update_option( self::EXPORT_LAST_OPTIONS,
|
64 |
|
65 |
// Make archive
|
66 |
$archive = ZipFactory::makeZipArchiver( $output_file, ! class_exists( 'ZipArchive' ) );
|
60 |
$options['home_url'] = home_url();
|
61 |
|
62 |
// Export last options
|
63 |
+
update_option( self::EXPORT_LAST_OPTIONS, $options );
|
64 |
|
65 |
// Make archive
|
66 |
$archive = ZipFactory::makeZipArchiver( $output_file, ! class_exists( 'ZipArchive' ) );
|
lib/model/class-ai1wm-feedback.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2013 ServMask LLC
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*/
|
18 |
+
|
19 |
+
class Ai1wm_Feedback
|
20 |
+
{
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Submit customer feedback to ServMask.com
|
24 |
+
*
|
25 |
+
* @param string $email User E-mail
|
26 |
+
* @param string $message User Message
|
27 |
+
* @param integer $terms User Accept Terms
|
28 |
+
* @return void
|
29 |
+
*/
|
30 |
+
public function leave_feedback( $email, $message, $terms ) {
|
31 |
+
$errors = array();
|
32 |
+
|
33 |
+
// Submit feedback to ServMask
|
34 |
+
if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
35 |
+
$errors[] = 'Your email is not valid.';
|
36 |
+
} else if ( empty( $message ) ) {
|
37 |
+
$errors[] = 'Please enter comments in the text area.';
|
38 |
+
} else if ( ! $terms ) {
|
39 |
+
$errors[] = 'Please accept feedback term conditions.';
|
40 |
+
} else {
|
41 |
+
$response = wp_remote_post(
|
42 |
+
AI1WM_FEEDBACK_URL,
|
43 |
+
array(
|
44 |
+
'body' => array(
|
45 |
+
'email' => $email,
|
46 |
+
'message' => $message,
|
47 |
+
'export_last_options' => json_encode( get_option( Ai1wm_Export::EXPORT_LAST_OPTIONS, array() ) ),
|
48 |
+
'error_handler' => json_encode( get_option( Ai1wm_Error::ERROR_HANDLER, array() ) ),
|
49 |
+
'exception_handler' => json_encode( get_option( Ai1wm_Error::EXCEPTION_HANDLER, array() ) ),
|
50 |
+
),
|
51 |
+
)
|
52 |
+
);
|
53 |
+
|
54 |
+
if ( is_wp_error( $response ) ) {
|
55 |
+
$errors[] = 'Something went wrong: ' .
|
56 |
+
$response->get_error_message();
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
echo json_encode( array( 'errors' => $errors ) );
|
61 |
+
exit;
|
62 |
+
}
|
63 |
+
}
|
lib/model/class-ai1wm-report.php
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Copyright (C) 2013 ServMask LLC
|
4 |
+
*
|
5 |
+
* This program is free software: you can redistribute it and/or modify
|
6 |
+
* it under the terms of the GNU General Public License as published by
|
7 |
+
* the Free Software Foundation, either version 3 of the License, or
|
8 |
+
* (at your option) any later version.
|
9 |
+
*
|
10 |
+
* This program is distributed in the hope that it will be useful,
|
11 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
+
* GNU General Public License for more details.
|
14 |
+
*
|
15 |
+
* You should have received a copy of the GNU General Public License
|
16 |
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17 |
+
*/
|
18 |
+
|
19 |
+
class Ai1wm_Report
|
20 |
+
{
|
21 |
+
|
22 |
+
/**
|
23 |
+
* Submit customer report to ServMask.com
|
24 |
+
*
|
25 |
+
* @param string $email User E-mail
|
26 |
+
* @param string $message User Message
|
27 |
+
* @param integer $terms User Accept Terms
|
28 |
+
* @return void
|
29 |
+
*/
|
30 |
+
public function report_problem( $email, $message, $terms ) {
|
31 |
+
$errors = array();
|
32 |
+
|
33 |
+
// Submit report to ServMask
|
34 |
+
if ( ! filter_var( $email, FILTER_VALIDATE_EMAIL ) ) {
|
35 |
+
$errors[] = 'Your email is not valid.';
|
36 |
+
} else if ( empty( $message ) ) {
|
37 |
+
$errors[] = 'Please enter comments in the text area.';
|
38 |
+
} else if ( ! $terms ) {
|
39 |
+
$errors[] = 'Please accept report term conditions.';
|
40 |
+
} else {
|
41 |
+
$response = wp_remote_post(
|
42 |
+
AI1WM_REPORT_URL,
|
43 |
+
array(
|
44 |
+
'body' => array(
|
45 |
+
'email' => $email,
|
46 |
+
'message' => $message,
|
47 |
+
'export_last_options' => json_encode( get_option( Ai1wm_Export::EXPORT_LAST_OPTIONS, array() ) ),
|
48 |
+
'error_handler' => json_encode( get_option( Ai1wm_Error::ERROR_HANDLER, array() ) ),
|
49 |
+
'exception_handler' => json_encode( get_option( Ai1wm_Error::EXCEPTION_HANDLER, array() ) ),
|
50 |
+
),
|
51 |
+
)
|
52 |
+
);
|
53 |
+
|
54 |
+
if ( is_wp_error( $response ) ) {
|
55 |
+
$errors[] = 'Something went wrong: ' .
|
56 |
+
$response->get_error_message();
|
57 |
+
}
|
58 |
+
}
|
59 |
+
|
60 |
+
echo json_encode( array( 'errors' => $errors ) );
|
61 |
+
exit;
|
62 |
+
}
|
63 |
+
}
|
lib/view/assets/css/export.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ai1wm-checkbox{position:relative;display:inline-block;min-width:1em;height:1.25em;line-height:1em;outline:none;vertical-align:middle;margin-bottom:5px}.ai1wm-checkbox input{position:absolute;top:0px;left:0px;opacity:0;outline:none}.ai1wm-checkbox .box,.ai1wm-checkbox label{cursor:pointer;padding-left:2em;outline:none}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{position:absolute;top:0em;left:0em;line-height:1;width:1em;height:1em;left:0em;content:'';border-radius:4px;background:#FFFFFF;transition:background-color 0.3s ease,box-shadow 0.3s ease;box-shadow:0em 0em 0em 1px rgba(0,0,0,0.2)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0;content:'';position:absolute;background:transparent;border:0.2em solid #333333;border-top:none;border-right:none;transform:rotate(-45deg)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{top:0.275em;left:0.2em;width:0.45em;height:0.15em}.ai1wm-checkbox label{color:rgba(0,0,0,0.6);transition:color 0.2s ease}.ai1wm-checkbox label:hover{color:rgba(0,0,0,0.8)}.ai1wm-checkbox input:focus+label{color:rgba(0,0,0,0.8)}.ai1wm-checkbox+label{cursor:pointer;opacity:0.85;vertical-align:middle}.ai1wm-checkbox+label:hover{opacity:1}.ai1wm-checkbox{cursor:pointer}.ai1wm-checkbox .box,.ai1wm-checkbox label{padding-left:4em}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{cursor:pointer;display:block;position:absolute;content:'';top:-0.25em;left:0em;z-index:1;background-color:#FFFFFF;width:3em;height:1.5em;transform:none;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.1) inset;border-radius:50rem}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{opacity:1;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;content:'';position:absolute;top:0.15em;left:0.5em;z-index:2;border:none;width:0.75em;height:0.75em;background-color:#D95C5C;border-radius:50rem;transition:background 0.3s ease 0s,left 0.3s ease 0s}.ai1wm-checkbox:active .box:before,.ai1wm-checkbox:active label:before{background-color:#F5F5F5}.ai1wm-checkbox input:checked+.box:after,.ai1wm-checkbox input:checked+label:after{left:1.75em;background-color:#89B84C}.ui.checkbox{font-size:1em}.ui.large.checkbox{font-size:1.25em}.ui.huge.checkbox{font-size:1.5em}.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}@media (min-width: 855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:normal;font-size:0.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-accordion{margin:10px 0 20px 0}.ai1wm-accordion .ai1wm-title{cursor:pointer;float:left}.ai1wm-accordion .ai1wm-title:after{clear:both}.ai1wm-accordion .ai1wm-title:hover{color:rgba(0,116,162,0.8)}.ai1wm-accordion .ai1wm-content{display:none;margin:22px 0px 0px 22px}.ai1wm-accordion.ai1wm-active .ai1wm-title .ai1wm-icon-arrow-right:before{content:"\e606"}.ai1wm-accordion.ai1wm-active .ai1wm-content{display:block}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}
|
1 |
+
.ai1wm-checkbox{position:relative;display:inline-block;min-width:1em;height:1.25em;line-height:1em;outline:none;vertical-align:middle;margin-bottom:5px}.ai1wm-checkbox input{position:absolute;top:0px;left:0px;opacity:0;outline:none}.ai1wm-checkbox .box,.ai1wm-checkbox label{cursor:pointer;padding-left:2em;outline:none}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{position:absolute;top:0em;left:0em;line-height:1;width:1em;height:1em;left:0em;content:'';border-radius:4px;background:#FFFFFF;transition:background-color 0.3s ease,box-shadow 0.3s ease;box-shadow:0em 0em 0em 1px rgba(0,0,0,0.2)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";filter:alpha(opacity=0);opacity:0;content:'';position:absolute;background:transparent;border:0.2em solid #333333;border-top:none;border-right:none;transform:rotate(-45deg)}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{top:0.275em;left:0.2em;width:0.45em;height:0.15em}.ai1wm-checkbox label{color:rgba(0,0,0,0.6);transition:color 0.2s ease}.ai1wm-checkbox label:hover{color:rgba(0,0,0,0.8)}.ai1wm-checkbox input:focus+label{color:rgba(0,0,0,0.8)}.ai1wm-checkbox+label{cursor:pointer;opacity:0.85;vertical-align:middle}.ai1wm-checkbox+label:hover{opacity:1}.ai1wm-checkbox{cursor:pointer}.ai1wm-checkbox .box,.ai1wm-checkbox label{padding-left:4em}.ai1wm-checkbox .box:before,.ai1wm-checkbox label:before{cursor:pointer;display:block;position:absolute;content:'';top:-0.25em;left:0em;z-index:1;background-color:#FFFFFF;width:3em;height:1.5em;transform:none;box-shadow:0px 0px 0px 1px rgba(0,0,0,0.1) inset;border-radius:50rem}.ai1wm-checkbox .box:after,.ai1wm-checkbox label:after{opacity:1;background-color:transparent;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;content:'';position:absolute;top:0.15em;left:0.5em;z-index:2;border:none;width:0.75em;height:0.75em;background-color:#D95C5C;border-radius:50rem;transition:background 0.3s ease 0s,left 0.3s ease 0s}.ai1wm-checkbox:active .box:before,.ai1wm-checkbox:active label:before{background-color:#F5F5F5}.ai1wm-checkbox input:checked+.box:after,.ai1wm-checkbox input:checked+label:after{left:1.75em;background-color:#89B84C}.ui.checkbox{font-size:1em}.ui.large.checkbox{font-size:1.25em}.ui.huge.checkbox{font-size:1.5em}.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}@media (min-width: 855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:normal;font-size:0.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-accordion{margin:10px 0 20px 0}.ai1wm-accordion .ai1wm-title{cursor:pointer;float:left}.ai1wm-accordion .ai1wm-title:after{clear:both}.ai1wm-accordion .ai1wm-title:hover{color:rgba(0,116,162,0.8)}.ai1wm-accordion .ai1wm-content{display:none;margin:22px 0px 0px 22px}.ai1wm-accordion.ai1wm-active .ai1wm-title .ai1wm-icon-arrow-right:before{content:"\e606"}.ai1wm-accordion.ai1wm-active .ai1wm-content{display:block}.ai1wm-include-tables{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-plugins{display:inline-block;width:300px;vertical-align:top}.ai1wm-include-media{display:inline-block;width:300px;margin:0 6px 0 0}.ai1wm-include-themes{display:inline-block;width:300px;vertical-align:top}
|
lib/view/assets/css/import.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}@media (min-width: 855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:normal;font-size:0.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-drag-drop-area{border:4px dashed #DDDDDD;height:200px;margin:20px 0 16px 0;background:#fff}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,0.4);border-color:green}.ai1wm-drag-drop-area .ai1wm-drag-drop-inside{margin:70px auto 0;width:250px}.ai1wm-drag-drop-inside p{display:block;text-align:center;color:#AAAAAA;font-size:14px;margin:5px 0}.ai1wm-drag-drop-inside p.ai1wm-drag-drop-info{font-size:20px}.ai1wm-drag-drop-inside p.ai1wm-upload-progress{margin:-15px 0 15px 0;display:none;color:#000;font-size:20px}.ai1wm-drag-over #ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-upload-file-message{display:none}
|
1 |
+
.ai1wm-divider{margin:1rem 0rem;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8);line-height:1;height:0em;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;border:none;height:0em;margin:0em;background-color:transparent;font-size:0.875rem;font-weight:bold;text-align:center;text-transform:uppercase;color:rgba(0,0,0,0.8)}.ai1wm-divider{position:relative;top:0%;left:0%;margin:1rem 2.5rem;height:auto;padding:0em;line-height:1}.ai1wm-divider:before,.ai1wm-divider:after{position:absolute;top:50%;content:" ";z-index:3;width:50%;top:50%;height:0%;border-top:1px solid rgba(0,0,0,0.1);border-bottom:1px solid rgba(255,255,255,0.8)}.ai1wm-divider:before{left:0%;margin-left:-2.5rem}.ai1wm-divider:after{left:auto;right:0%;margin-right:-2.5rem}@font-face{font-family:'servmask';src:url("../font/servmask.eot");src:url("../font/servmask.eot?#iefix") format("embedded-opentype"),url("../font/servmask.woff") format("woff"),url("../font/servmask.ttf") format("truetype"),url("../font/servmask.svg#servmask") format("svg");font-weight:normal;font-style:normal}[class^="ai1wm-icon-"],[class*=" ai1wm-icon-"]{font-family:'servmask';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ai1wm-icon-plus:before{content:"\e600"}.ai1wm-icon-plus2:before{content:"\e601"}.ai1wm-icon-plus3:before{content:"\e602"}.ai1wm-icon-history:before{content:"\e603"}.ai1wm-icon-arrow-down:before{content:"\e604"}.ai1wm-icon-arrow-right:before{content:"\e605"}.ai1wm-icon-arrow-down2:before{content:"\e606"}.ai1wm-icon-plus:before{content:"\e607"}.ai1wm-icon-paperplane:before{content:"\e608"}.ai1wm-icon-help:before{content:"\e609"}.ai1wm-icon-file:before{content:"\e60a"}.ai1wm-icon-twitter:before{content:"\e60b"}.ai1wm-icon-facebook:before{content:"\e60c"}.ai1wm-icon-exclamation:before{content:"\e619"}@media (min-width: 855px){.ai1wm-row{margin-right:399px}.ai1wm-row:before,.ai1wm-row:after{content:" ";display:table}.ai1wm-row:after{clear:both}.ai1wm-left{float:left;width:100%}.ai1wm-right{float:right;width:377px;margin-right:-399px}.ai1wm-right .ai1wm-sidebar{width:100%}.ai1wm-right .ai1wm-segment{width:333px;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;color:#333333;background-color:#f9f9f9;padding:22px;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-holder{position:relative;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-holder h1{margin-top:0 !important}.ai1wm-segment>.ai1wm-divider:first-child{margin-top:0 !important}@media (max-width: 854px){.ai1wm-container{margin-left:10px !important}.ai1wm-row{margin-right:0px !important}.ai1wm-right{float:left !important;width:100% !important;margin-top:18px;margin-right:0 !important}.ai1wm-right .ai1wm-sidebar{width:auto !important;border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 white;padding:22px;background:#f9f9f9}.ai1wm-right .ai1wm-feedback-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-right .ai1wm-feedback-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-right .ai1wm-feedback-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0;border-radius:3px}.ai1wm-right .ai1wm-feedback-terms-segment>.ai1wm-feedback-terms{border-radius:3px}}.ai1wm-container{margin:20px 20px 0px 2px}.ai1wm-container:before,.ai1wm-container:after{content:" ";display:table}.ai1wm-container:after{clear:both}.ai1wm-replace-row{width:100%;box-shadow:outset 0 1px 0 0 white;border-radius:3px;color:#333333;font-size:11px;font-weight:bold;background-color:#f9f9f9;text-decoration:none;text-shadow:0 1px 0 white;background-clip:padding-box;margin-bottom:10px}.ai1wm-replace-row .ai1wm-field-inline{float:left;width:100%}.ai1wm-replace-row .ai1wm-field-inline input{width:100%;font-weight:normal;font-size:0.8rem;padding:0 10px;height:2.3rem;line-height:2.3rem;margin-bottom:4px}.ai1wm-field{margin-bottom:4px}.ai1wm-field input[type="text"],.ai1wm-field textarea{width:100%;font-weight:normal}.ai1wm-message{-moz-box-sizing:border-box;background-color:#EFEFEF;border-radius:4px;color:rgba(0,0,0,0.6);height:auto;margin:10px 0;min-height:18px;padding:6px 10px;position:relative;transition:opacity 0.1s ease 0s, color 0.1s ease 0s, background 0.1s ease 0s, box-shadow 0.1s ease 0s}.ai1wm-message.ai1wm-green-message{background-color:#F2F8F0;color:#119000}.ai1wm-message.ai1wm-blue-message{background-color:#E6F4F9;color:#4D8796}.ai1wm-message.ai1wm-red-message{background-color:#F1D7D7;color:#A95252}.ai1wm-message p{margin:4px 0}.ai1wm-button-gray{border:1px solid #d6d6d6;border-radius:3px;box-shadow:inset 0 1px 0 0 #fff;color:#333;display:inline-block;font-size:11px;font-weight:bold;background-color:#fafafa;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #fafafa),color-stop(100%, #dedede));background-image:-webkit-linear-gradient(#fafafa,#dedede);background-image:linear-gradient(#fafafa,#dedede);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #fff;background-clip:padding-box}.ai1wm-button-gray:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #fff;cursor:pointer;background-color:#ededed;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ededed),color-stop(100%, #d6d6d6));background-image:-webkit-linear-gradient(#ededed,#d6d6d6);background-image:linear-gradient(#ededed,#d6d6d6)}.ai1wm-button-gray:active:not(:disabled){border:1px solid #d6d6d6;box-shadow:inset 0 0 8px 4px #cfcfcf,inset 0 0 8px 4px #cfcfcf,0 1px 1px 0 #eee}.ai1wm-button-gray:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-green{border:1px solid #4d8b2c;border-radius:3px;box-shadow:inset 0 1px 0 0 #9cc587;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#6eb649;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #6eb649),color-stop(100%, #539730));background-image:-webkit-linear-gradient(#6eb649,#539730);background-image:linear-gradient(#6eb649,#539730);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #428122;background-clip:padding-box}.ai1wm-button-green:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #7fb563;cursor:pointer;background-color:#649f46;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #649f46),color-stop(100%, #4d8a2d));background-image:-webkit-linear-gradient(#649f46,#4d8a2d);background-image:linear-gradient(#649f46,#4d8a2d)}.ai1wm-button-green:active:not(:disabled){border:1px solid #4d8b2c;box-shadow:inset 0 0 8px 4px #477e2a,inset 0 0 8px 4px #477e2a,0 1px 1px 0 #eee}.ai1wm-button-green:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-blue{border:1px solid #007ba9;border-radius:3px;box-shadow:inset 0 1px 0 0 #45c7f7;color:#fff;display:inline-block;font-size:11px;font-weight:bold;background-color:#00aff0;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #00aff0),color-stop(100%, #0086b8));background-image:-webkit-linear-gradient(#00aff0,#0086b8);background-image:linear-gradient(#00aff0,#0086b8);padding:7px 18px;text-decoration:none;text-shadow:0 1px 0 #006c94;background-clip:padding-box}.ai1wm-button-blue:hover:not(:disabled){box-shadow:inset 0 1px 0 0 #13b9f6;cursor:pointer;background-color:#049ad2;background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #049ad2),color-stop(100%, #007ba9));background-image:-webkit-linear-gradient(#049ad2,#007ba9);background-image:linear-gradient(#049ad2,#007ba9)}.ai1wm-button-blue:active:not(:disabled){border:1px solid #007ba9;box-shadow:inset 0 0 8px 4px #007099,inset 0 0 8px 4px #007099,0 1px 1px 0 #eee}.ai1wm-button-blue:disabled{opacity:0.5;cursor:not-allowed}.ai1wm-button-gray i,.ai1wm-button-green i,.ai1wm-button-blue i{margin-left:-0.5em;margin-right:0.2em}.ai1wm-button-gray i.ai1wm-alone,.ai1wm-button-green i.ai1wm-alone,.ai1wm-button-blue i.ai1wm-alone{margin-right:-0.5em !important}.ai1wm-clear{*zoom:1}.ai1wm-clear:before,.ai1wm-clear:after{content:" ";display:table}.ai1wm-clear:after{clear:both}.ai1wm-field-inline input{border-radius:5px}.ai1wm-toggle-checkbox label{color:#333333;display:inline-block;font-size:11px;font-weight:bold;text-decoration:none;text-shadow:0 1px 0 white}.ai1wm-share-button-container{text-align:center}.ai1wm-share-button-container .ai1wm-share-button{text-decoration:none;margin:10px;font-size:30px}.ai1wm-report-problem{position:absolute;top:22px;right:22px;font-size:0.7rem}.ai1wm-report-problem-button:link,.ai1wm-report-problem-button:visited,.ai1wm-report-problem-button:active{text-decoration:none;outline:0}.ai1wm-report-problem-button:link .ai1wm-icon-exclamation,.ai1wm-report-problem-button:visited .ai1wm-icon-exclamation,.ai1wm-report-problem-button:active .ai1wm-icon-exclamation{position:relative;top:1px;left:-1px;font-size:0.875rem}.ai1wm-report-problem-dialog{position:absolute;z-index:999;width:280px;right:-1px;border:1px solid blue;background-color:#fff;margin:6px 0 0 0;padding:10px 10px 6px 10px;border:1px solid #D6D6D6;border-radius:3px;box-shadow:0 1px 0 0 #FFFFFF inset;display:none}.ai1wm-report-email{width:100%;font-weight:normal;font-size:0.8rem;height:2.3rem;line-height:2.3rem;border-radius:5px;margin-bottom:4px;padding:0 10px}.ai1wm-report-message{width:100%;border-radius:3px;font-size:0.8rem;padding:6px 10px;resize:none}.ai1wm-report-cancel:link,.ai1wm-report-cancel:visited,.ai1wm-report-cancel:active{float:right;line-height:34px;outline:0;text-decoration:none}.ai1wm-report-active{display:block}.ai1wm-report-terms-segment{font-size:0.7rem;line-height:1rem;margin:4px 0 8px 0}.ai1wm-report-terms-segment>.ai1wm-report-terms{border-radius:3px}.ai1wm-drag-drop-area{border:4px dashed #DDDDDD;height:200px;margin:20px 0 16px 0;background:#fff}.ai1wm-drag-drop-area.dragover{background:rgba(255,255,255,0.4);border-color:green}.ai1wm-drag-drop-area .ai1wm-drag-drop-inside{margin:70px auto 0;width:250px}.ai1wm-drag-drop-inside p{display:block;text-align:center;color:#AAAAAA;font-size:14px;margin:5px 0}.ai1wm-drag-drop-inside p.ai1wm-drag-drop-info{font-size:20px}.ai1wm-drag-drop-inside p.ai1wm-upload-progress{margin:-15px 0 15px 0;display:none;color:#000;font-size:20px}.ai1wm-drag-over #ai1wm-drag-drop-area{border-color:#83b4d8}.ai1wm-upload-file-message{display:none}
|
lib/view/assets/font/servmask.eot
CHANGED
Binary file
|
lib/view/assets/font/servmask.svg
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
<?xml version="1.0" standalone="no"?>
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
<svg xmlns="http://www.w3.org/2000/svg">
|
|
|
4 |
<defs>
|
5 |
<font id="servmask" horiz-adv-x="1024">
|
6 |
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
@@ -19,4 +20,17 @@
|
|
19 |
<glyph unicode="" d="M864 960h-768c-52.8 0-96-43.2-96-96v-832c0-52.8 43.2-96 96-96h768c52.8 0 96 43.2 96 96v832c0 52.8-43.2 96-96 96zM832 64h-704v768h704v-768zM256 512h448v-64h-448zM256 384h448v-64h-448zM256 256h448v-64h-448zM256 640h448v-64h-448z" />
|
20 |
<glyph unicode="" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" />
|
21 |
<glyph unicode="" d="M575.87-64h-191.87v512h-128v176.45l128 0.058-0.208 103.952c0 143.952 39.034 231.54 208.598 231.54h141.176v-176.484h-88.23c-66.032 0-69.206-24.656-69.206-70.684l-0.262-88.324h158.69l-18.704-176.45-139.854-0.058-0.13-512z" />
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<?xml version="1.0" standalone="no"?>
|
2 |
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
3 |
<svg xmlns="http://www.w3.org/2000/svg">
|
4 |
+
<metadata>Generated by IcoMoon</metadata>
|
5 |
<defs>
|
6 |
<font id="servmask" horiz-adv-x="1024">
|
7 |
<font-face units-per-em="1024" ascent="960" descent="-64" />
|
20 |
<glyph unicode="" d="M864 960h-768c-52.8 0-96-43.2-96-96v-832c0-52.8 43.2-96 96-96h768c52.8 0 96 43.2 96 96v832c0 52.8-43.2 96-96 96zM832 64h-704v768h704v-768zM256 512h448v-64h-448zM256 384h448v-64h-448zM256 256h448v-64h-448zM256 640h448v-64h-448z" />
|
21 |
<glyph unicode="" d="M1024 765.582c-37.676-16.708-78.164-28.002-120.66-33.080 43.372 26 76.686 67.17 92.372 116.23-40.596-24.078-85.556-41.56-133.41-50.98-38.32 40.83-92.922 66.34-153.346 66.34-116.022 0-210.088-94.058-210.088-210.078 0-16.466 1.858-32.5 5.44-47.878-174.6 8.764-329.402 92.4-433.018 219.506-18.084-31.028-28.446-67.116-28.446-105.618 0-72.888 37.088-137.192 93.46-174.866-34.438 1.092-66.832 10.542-95.154 26.278-0.020-0.876-0.020-1.756-0.020-2.642 0-101.788 72.418-186.696 168.522-206-17.626-4.8-36.188-7.372-55.348-7.372-13.538 0-26.698 1.32-39.528 3.772 26.736-83.46 104.32-144.206 196.252-145.896-71.9-56.35-162.486-89.934-260.916-89.934-16.958 0-33.68 0.994-50.116 2.94 92.972-59.61 203.402-94.394 322.042-94.394 386.422 0 597.736 320.124 597.736 597.744 0 9.108-0.206 18.168-0.61 27.18 41.056 29.62 76.672 66.62 104.836 108.748z" />
|
22 |
<glyph unicode="" d="M575.87-64h-191.87v512h-128v176.45l128 0.058-0.208 103.952c0 143.952 39.034 231.54 208.598 231.54h141.176v-176.484h-88.23c-66.032 0-69.206-24.656-69.206-70.684l-0.262-88.324h158.69l-18.704-176.45-139.854-0.058-0.13-512z" />
|
23 |
+
<glyph unicode="" d="M628 475.428q0-29.714-21.143-52l-372.571-372q-21.143-21.143-51.429-21.143t-51.429 21.143l-43.429 42.857q-21.143 22.286-21.143 52 0 30.286 21.143 51.429l277.714 277.714-277.714 277.143q-21.143 22.286-21.143 52 0 30.286 21.143 51.429l43.429 42.857q20.571 21.714 51.429 21.714t51.429-21.714l372.571-372q21.143-21.143 21.143-51.429z" horiz-adv-x="658" />
|
24 |
+
<glyph unicode="" d="M1024 677.5l-90.506 90.5-178.746-178.752-101.5 101.502 178.75 178.75-90.5 90.5-178.75-178.75-114.748 114.75-86.626-86.624 512.002-512.002 86.624 86.624-114.752 114.752zM274.748 210.746c165.768-165.762 385.194-36.362 519.292 75.464l-443.824 443.824c-111.824-134.096-241.228-353.522-75.468-519.288zM191.998 255.996l127.994-127.996-191.992-191.992-127.996 127.994z" />
|
25 |
+
<glyph unicode="" d="M1024 384v384h-192v64c0 35.2-28.8 64-64 64h-704c-35.2 0-64-28.8-64-64v-192c0-35.2 28.8-64 64-64h704c35.2 0 64 28.8 64 64v64h128v-256h-576v-128h-32c-17.674 0-32-14.326-32-32v-320c0-17.674 14.326-32 32-32h128c17.674 0 32 14.326 32 32v320c0 17.674-14.326 32-32 32h-32v64h576zM768 768h-704v64h704v-64z" />
|
26 |
+
<glyph unicode="" d="M874.040 810.038c96.702-96.704 149.96-225.28 149.96-362.040s-53.258-265.334-149.96-362.038c-96.706-96.702-225.28-149.96-362.040-149.96-136.76 0-265.334 53.258-362.040 149.96-96.702 96.704-149.96 225.278-149.96 362.038 0 136.76 53.254 265.336 149.96 362.040 96.706 96.704 225.28 149.962 362.040 149.962 136.76 0 265.334-53.258 362.040-149.962zM828.784 131.214c63.058 63.060 104.986 141.608 122.272 227.062-13.474-19.836-26.362-27.194-34.344 17.206-8.22 72.39-74.708 26.148-116.516 51.86-44.004-29.658-142.906 57.662-126.098-40.824 25.934-44.422 140.008 59.45 83.148-34.542-36.274-65.616-132.642-210.932-120.106-286.258 1.582-109.744-112.134-22.884-151.314 13.52-26.356 72.92-8.982 200.374-77.898 236.086-74.802 3.248-139.004 10.046-167.994 93.67-17.446 59.828 18.564 148.894 82.678 162.644 93.85 58.966 127.374-69.054 215.39-71.434 27.328 28.594 101.816 37.686 107.992 69.75-57.75 10.19 73.268 48.558-5.528 70.382-43.47-5.112-71.478-45.074-48.368-78.958-84.238-19.642-86.936 121.904-167.91 77.258-2.058-70.59-132.222-22.886-45.036-8.572 29.956 13.088-48.86 51.016-6.28 44.124 20.916 1.136 91.332 25.812 72.276 42.402 39.21 24.34 72.16-58.29 110.538 1.882 27.708 46.266-11.62 54.808-46.35 31.356-19.58 21.924 34.57 69.276 82.332 89.738 15.918 6.82 31.122 10.536 42.746 9.484 24.058-27.792 68.55-32.606 70.878 3.342-59.582 28.534-125.276 43.608-193.292 43.608-97.622 0-190.47-31.024-267.308-88.39 20.65-9.46 32.372-21.238 12.478-36.296-15.456-46.054-78.17-107.876-133.224-99.124-28.586-49.296-47.412-103.606-55.46-160.528 46.112-15.256 56.744-45.45 46.836-55.55-23.496-20.488-37.936-49.53-45.376-81.322 15.010-91.836 58.172-176.476 125.27-243.576 84.616-84.614 197.118-131.214 316.784-131.214 119.664 0 232.168 46.6 316.784 131.214z" />
|
27 |
+
<glyph unicode="" d="M64 960h384v-64h-384zM576 960h384v-64h-384zM952 640h-56v256h-256v-256h-256v256h-256v-256h-56c-39.6 0-72-32.4-72-72v-560c0-39.6 32.4-72 72-72h304c39.6 0 72 32.4 72 72v376h128v-376c0-39.6 32.4-72 72-72h304c39.6 0 72 32.4 72 72v560c0 39.6-32.4 72-72 72zM348 0h-248c-19.8 0-36 14.4-36 32s16.2 32 36 32h248c19.8 0 36-14.4 36-32s-16.2-32-36-32zM544 448h-64c-17.6 0-32 14.4-32 32s14.4 32 32 32h64c17.6 0 32-14.4 32-32s-14.4-32-32-32zM924 0h-248c-19.8 0-36 14.4-36 32s16.2 32 36 32h248c19.8 0 36-14.4 36-32s-16.2-32-36-32z" />
|
28 |
+
<glyph unicode="" d="M992.262 88.604l-242.552 206.294c-25.074 22.566-51.89 32.926-73.552 31.926 57.256 67.068 91.842 154.078 91.842 249.176 0 212.078-171.922 384-384 384-212.076 0-384-171.922-384-384 0-212.078 171.922-384 384-384 95.098 0 182.108 34.586 249.176 91.844-1-21.662 9.36-48.478 31.926-73.552l206.294-242.552c35.322-39.246 93.022-42.554 128.22-7.356s31.892 92.898-7.354 128.22zM384 320c-141.384 0-256 114.616-256 256s114.616 256 256 256 256-114.616 256-256-114.614-256-256-256z" />
|
29 |
+
<glyph unicode="" d="M512 960c-215.808 0-448-65.056-448-208v-608c0-142.88 232.192-208 448-208 215.776 0 448 65.12 448 208v608c0 142.944-232.256 208-448 208zM896 144c0-79.488-171.936-144-384-144-212.096 0-384 64.512-384 144v119.552c66.112-68.128 225.6-103.552 384-103.552s317.888 35.424 384 103.552v-119.552zM896 336h-0.128c0-0.32 0.128-0.672 0.128-0.992 0-79.008-171.936-143.008-384-143.008-212.064 0-384 64-384 143.008 0 0.32 0.128 0.672 0.128 0.992h-0.128v119.552c66.112-68.128 225.6-103.552 384-103.552s317.888 35.424 384 103.552v-119.552zM896 528h-0.128c0-0.32 0.128-0.672 0.128-0.992 0-79.008-171.936-143.008-384-143.008-212.064 0-384 64-384 143.008 0 0.32 0.128 0.672 0.128 0.992h-0.128v109.952c83.872-63.904 237.6-93.952 384-93.952s300.128 30.048 384 93.952v-109.952zM512 608c-212.096 0-384 64.512-384 144 0 79.552 171.904 144 384 144 212.064 0 384-64.448 384-144 0-79.488-171.936-144-384-144zM768 128c0 17.673 14.327 32 32 32s32-14.327 32-32c0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32zM768 320c0 17.673 14.327 32 32 32s32-14.327 32-32c0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32zM768 512c0 17.673 14.327 32 32 32s32-14.327 32-32c0-17.673-14.327-32-32-32-17.673 0-32 14.327-32 32z" />
|
30 |
+
<glyph unicode="" d="M365.714 621.714q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM950.857 402.286v-256h-804.571v109.714l182.857 182.857 91.429-91.429 292.571 292.571zM1005.714 804.571h-914.286q-7.429 0-12.857-5.429t-5.429-12.857v-694.857q0-7.429 5.429-12.857t12.857-5.429h914.286q7.429 0 12.857 5.429t5.429 12.857v694.857q0 7.429-5.429 12.857t-12.857 5.429zM1097.143 786.286v-694.857q0-37.714-26.857-64.571t-64.571-26.857h-914.286q-37.714 0-64.571 26.857t-26.857 64.571v694.857q0 37.714 26.857 64.571t64.571 26.857h914.286q37.714 0 64.571-26.857t26.857-64.571z" horiz-adv-x="1097" />
|
31 |
+
<glyph unicode="" d="M1024 274.286v-109.714q0-7.429-5.429-12.857t-12.857-5.429h-786.286v-109.714q0-7.429-5.429-12.857t-12.857-5.429q-6.857 0-13.714 5.714l-182.286 182.857q-5.143 5.143-5.143 12.571 0 8 5.143 13.143l182.857 182.857q5.143 5.143 13.143 5.143 7.429 0 12.857-5.429t5.429-12.857v-109.714h786.286q7.429 0 12.857-5.429t5.429-12.857zM1024 585.143q0-8-5.143-13.143l-182.857-182.857q-5.143-5.143-13.143-5.143-7.429 0-12.857 5.429t-5.429 12.857v109.714h-786.286q-7.429 0-12.857 5.429t-5.429 12.857v109.714q0 7.429 5.429 12.857t12.857 5.429h786.286v109.714q0 8 5.143 13.143t13.143 5.143q6.857 0 13.714-5.714l182.286-182.286q5.143-5.143 5.143-13.143z" />
|
32 |
+
<glyph unicode="" d="M512 768c-223.318 0-416.882-130.042-512-320 95.118-189.958 288.682-320 512-320 223.314 0 416.878 130.042 512 320-95.116 189.958-288.686 320-512 320zM764.45 598.296c60.162-38.374 111.142-89.774 149.434-150.296-38.292-60.522-89.274-111.922-149.436-150.298-75.594-48.216-162.89-73.702-252.448-73.702-89.56 0-176.856 25.486-252.45 73.704-60.16 38.372-111.14 89.772-149.434 150.296 38.292 60.524 89.274 111.924 149.434 150.296 3.918 2.5 7.876 4.922 11.858 7.3-9.958-27.328-15.408-56.822-15.408-87.596 0-141.384 114.616-256 256-256s256 114.616 256 256c0 30.774-5.45 60.268-15.408 87.598 3.98-2.378 7.938-4.802 11.858-7.302zM512 550c0-53.020-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96z" />
|
33 |
+
<glyph unicode="" d="M402.286 731.428q-87.429 0-163.429-29.714t-120.857-80.571-44.857-109.143q0-46.857 30.286-90.286t85.143-75.429l55.429-32-20-48q19.429 11.429 35.429 22.286l25.143 17.714 30.286-5.714q44.571-8 87.429-8 87.429 0 163.429 29.714t120.857 80.571 44.857 109.143-44.857 109.143-120.857 80.571-163.429 29.714zM402.286 804.571q109.143 0 202-39.143t146.571-106.571 53.714-146.857-53.714-146.857-146.571-106.571-202-39.143q-49.143 0-100.571 9.143-70.857-50.286-158.857-73.143-20.571-5.143-49.143-9.143h-1.714q-6.286 0-11.714 4.571t-6.571 12q-0.571 1.714-0.571 3.714t0.286 3.714 1.143 3.429l1.429 2.857t2 3.143 2.286 2.857 2.571 2.857 2.286 2.571q2.857 3.429 13.143 14.286t14.857 16.857 12.857 16.571 14.286 22 11.714 25.143q-70.857 41.143-111.429 101.143t-40.571 128q0 79.429 53.714 146.857t146.571 106.571 202 39.143zM872 136.571q5.714-13.714 11.714-25.143t14.286-22 12.857-16.571 14.857-16.857 13.143-14.286q0.571-0.571 2.286-2.571t2.571-2.857 2.286-2.857 2-3.143l1.429-2.857t1.143-3.429 0.286-3.714-0.571-3.714q-1.714-8-7.429-12.571t-12.571-4q-28.571 4-49.143 9.143-88 22.857-158.857 73.143-51.429-9.143-100.571-9.143-154.857 0-269.714 75.429 33.143-2.286 50.286-2.286 92 0 176.571 25.714t150.857 73.714q71.429 52.571 109.714 121.143t38.286 145.143q0 44-13.143 86.857 73.714-40.571 116.571-101.714t42.857-131.429q0-68.571-40.571-128.286t-111.429-100.857z" />
|
34 |
+
<glyph unicode="" d="M219.429 146.286q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM219.429 438.857q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM1024 201.143v-109.714q0-7.429-5.429-12.857t-12.857-5.429h-694.857q-7.429 0-12.857 5.429t-5.429 12.857v109.714q0 7.429 5.429 12.857t12.857 5.429h694.857q7.429 0 12.857-5.429t5.429-12.857zM219.429 731.428q0-45.714-32-77.714t-77.714-32-77.714 32-32 77.714 32 77.714 77.714 32 77.714-32 32-77.714zM1024 493.714v-109.714q0-7.429-5.429-12.857t-12.857-5.429h-694.857q-7.429 0-12.857 5.429t-5.429 12.857v109.714q0 7.429 5.429 12.857t12.857 5.429h694.857q7.429 0 12.857-5.429t5.429-12.857zM1024 786.286v-109.714q0-7.429-5.429-12.857t-12.857-5.429h-694.857q-7.429 0-12.857 5.429t-5.429 12.857v109.714q0 7.429 5.429 12.857t12.857 5.429h694.857q7.429 0 12.857-5.429t5.429-12.857z" />
|
35 |
+
<glyph unicode="" d="M512 864c-111.118 0-215.584-43.272-294.156-121.844s-121.844-183.038-121.844-294.156c0-111.118 43.272-215.584 121.844-294.156 78.572-78.572 183.038-121.844 294.156-121.844 111.118 0 215.584 43.272 294.156 121.844 78.572 78.572 121.844 183.038 121.844 294.156 0 111.118-43.272 215.584-121.844 294.156-78.572 78.572-183.038 121.844-294.156 121.844zM512 960v0c282.77 0 512-229.23 512-512s-229.23-512-512-512c-282.77 0-512 229.23-512 512 0 282.77 229.23 512 512 512zM448 256h128v-128h-128zM448 768h128v-384h-128z" />
|
36 |
+
</font></defs></svg>
|
lib/view/assets/font/servmask.ttf
CHANGED
Binary file
|
lib/view/assets/font/servmask.woff
CHANGED
Binary file
|
lib/view/assets/javascript/export.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function($,window,document,undefined){$.fn.ai1wm_checkbox=function(parameters){var returnedValue,$allModules=$(this),moduleSelector=$allModules.selector||"",time=(new Date).getTime(),performance=[],query=arguments[0],methodInvoked="string"==typeof query,queryArguments=[].slice.call(arguments,1);return $allModules.each(function(){var module,settings=$.extend(!0,{},$.fn.ai1wm_checkbox.settings,parameters),className=settings.className,namespace=settings.namespace,eventNamespace=(settings.error,"."+namespace),moduleNamespace="module-"+namespace,$module=$(this),$label=$(this).next(settings.selector.label).first(),$input=$(this).find(settings.selector.input),selector=$module.selector||"",instance=$module.data(moduleNamespace),element=this;module={initialize:function(){module.verbose("Initializing checkbox",settings),settings.context&&""!==selector?(module.verbose("Adding delegated events"),$(element,settings.context).on(selector,"click"+eventNamespace,module.toggle).on(selector+" + "+settings.selector.label,"click"+eventNamespace,module.toggle)):($module.on("click"+eventNamespace,module.toggle).data(moduleNamespace,module),$label.on("click"+eventNamespace,module.toggle)),module.instantiate()},instantiate:function(){module.verbose("Storing instance of module",module),instance=module,$module.data(moduleNamespace,module)},destroy:function(){module.verbose("Destroying previous module"),$module.off(eventNamespace).removeData(moduleNamespace)},is:{radio:function(){return $module.hasClass(className.radio)},enabled:function(){return $input.prop("checked")!==undefined&&$input.prop("checked")},disabled:function(){return!module.is.enabled()}},can:{disable:function(){return"boolean"==typeof settings.required?settings.required:!module.is.radio()}},enable:function(){module.debug("Enabling checkbox",$input),$input.prop("checked",!0),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onEnable,$input.get())()},disable:function(){module.debug("Disabling checkbox"),$input.prop("checked",!1),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onDisable,$input.get())()},toggle:function(){module.verbose("Determining new checkbox state"),module.is.disabled()?module.enable():module.is.enabled()&&module.can.disable()&&module.disable()},setting:function(name,value){if($.isPlainObject(name))$.extend(!0,settings,name);else{if(value===undefined)return settings[name];settings[name]=value}},internal:function(name,value){if($.isPlainObject(name))$.extend(!0,module,name);else{if(value===undefined)return module[name];module[name]=value}},debug:function(){settings.debug&&(settings.performance?module.performance.log(arguments):(module.debug=Function.prototype.bind.call(console.info,console,settings.name+":"),module.debug.apply(console,arguments)))},verbose:function(){settings.verbose&&settings.debug&&(settings.performance?module.performance.log(arguments):(module.verbose=Function.prototype.bind.call(console.info,console,settings.name+":"),module.verbose.apply(console,arguments)))},error:function(){module.error=Function.prototype.bind.call(console.error,console,settings.name+":"),module.error.apply(console,arguments)},performance:{log:function(message){var currentTime,executionTime,previousTime;settings.performance&&(currentTime=(new Date).getTime(),previousTime=time||currentTime,executionTime=currentTime-previousTime,time=currentTime,performance.push({Element:element,Name:message[0],Arguments:[].slice.call(message,1)||"","Execution Time":executionTime})),clearTimeout(module.performance.timer),module.performance.timer=setTimeout(module.performance.display,100)},display:function(){var title=settings.name+":",totalTime=0;time=!1,clearTimeout(module.performance.timer),$.each(performance,function(index,data){totalTime+=data["Execution Time"]}),title+=" "+totalTime+"ms",moduleSelector&&(title+=" '"+moduleSelector+"'"),(console.group!==undefined||console.table!==undefined)&&performance.length>0&&(console.groupCollapsed(title),console.table?console.table(performance):$.each(performance,function(index,data){console.log(data.Name+": "+data["Execution Time"]+"ms")}),console.groupEnd()),performance=[]}},invoke:function(query,passedArguments,context){var maxDepth,found,response,object=instance;return passedArguments=passedArguments||queryArguments,context=element||context,"string"==typeof query&&object!==undefined&&(query=query.split(/[\. ]/),maxDepth=query.length-1,$.each(query,function(depth,value){var camelCaseValue=depth!=maxDepth?value+query[depth+1].charAt(0).toUpperCase()+query[depth+1].slice(1):query;if($.isPlainObject(object[camelCaseValue])&&depth!=maxDepth)object=object[camelCaseValue];else{if(object[camelCaseValue]!==undefined)return found=object[camelCaseValue],!1;if(!$.isPlainObject(object[value])||depth==maxDepth)return object[value]!==undefined?(found=object[value],!1):!1;object=object[value]}})),$.isFunction(found)?response=found.apply(context,passedArguments):found!==undefined&&(response=found),$.isArray(returnedValue)?returnedValue.push(response):returnedValue!==undefined?returnedValue=[returnedValue,response]:response!==undefined&&(returnedValue=response),found}},methodInvoked?(instance===undefined&&module.initialize(),module.invoke(query)):(instance!==undefined&&module.destroy(),module.initialize())}),returnedValue!==undefined?returnedValue:this},$.fn.ai1wm_checkbox.settings={name:"ai1wm-Checkbox",namespace:"ai1wm-checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document),jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$("
|
1 |
+
!function($,window,document,undefined){$.fn.ai1wm_checkbox=function(parameters){var returnedValue,$allModules=$(this),moduleSelector=$allModules.selector||"",time=(new Date).getTime(),performance=[],query=arguments[0],methodInvoked="string"==typeof query,queryArguments=[].slice.call(arguments,1);return $allModules.each(function(){var module,settings=$.extend(!0,{},$.fn.ai1wm_checkbox.settings,parameters),className=settings.className,namespace=settings.namespace,eventNamespace=(settings.error,"."+namespace),moduleNamespace="module-"+namespace,$module=$(this),$label=$(this).next(settings.selector.label).first(),$input=$(this).find(settings.selector.input),selector=$module.selector||"",instance=$module.data(moduleNamespace),element=this;module={initialize:function(){module.verbose("Initializing checkbox",settings),settings.context&&""!==selector?(module.verbose("Adding delegated events"),$(element,settings.context).on(selector,"click"+eventNamespace,module.toggle).on(selector+" + "+settings.selector.label,"click"+eventNamespace,module.toggle)):($module.on("click"+eventNamespace,module.toggle).data(moduleNamespace,module),$label.on("click"+eventNamespace,module.toggle)),module.instantiate()},instantiate:function(){module.verbose("Storing instance of module",module),instance=module,$module.data(moduleNamespace,module)},destroy:function(){module.verbose("Destroying previous module"),$module.off(eventNamespace).removeData(moduleNamespace)},is:{radio:function(){return $module.hasClass(className.radio)},enabled:function(){return $input.prop("checked")!==undefined&&$input.prop("checked")},disabled:function(){return!module.is.enabled()}},can:{disable:function(){return"boolean"==typeof settings.required?settings.required:!module.is.radio()}},enable:function(){module.debug("Enabling checkbox",$input),$input.prop("checked",!0),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onEnable,$input.get())()},disable:function(){module.debug("Disabling checkbox"),$input.prop("checked",!1),$.proxy(settings.onChange,$input.get())(),$.proxy(settings.onDisable,$input.get())()},toggle:function(){module.verbose("Determining new checkbox state"),module.is.disabled()?module.enable():module.is.enabled()&&module.can.disable()&&module.disable()},setting:function(name,value){if($.isPlainObject(name))$.extend(!0,settings,name);else{if(value===undefined)return settings[name];settings[name]=value}},internal:function(name,value){if($.isPlainObject(name))$.extend(!0,module,name);else{if(value===undefined)return module[name];module[name]=value}},debug:function(){settings.debug&&(settings.performance?module.performance.log(arguments):(module.debug=Function.prototype.bind.call(console.info,console,settings.name+":"),module.debug.apply(console,arguments)))},verbose:function(){settings.verbose&&settings.debug&&(settings.performance?module.performance.log(arguments):(module.verbose=Function.prototype.bind.call(console.info,console,settings.name+":"),module.verbose.apply(console,arguments)))},error:function(){module.error=Function.prototype.bind.call(console.error,console,settings.name+":"),module.error.apply(console,arguments)},performance:{log:function(message){var currentTime,executionTime,previousTime;settings.performance&&(currentTime=(new Date).getTime(),previousTime=time||currentTime,executionTime=currentTime-previousTime,time=currentTime,performance.push({Element:element,Name:message[0],Arguments:[].slice.call(message,1)||"","Execution Time":executionTime})),clearTimeout(module.performance.timer),module.performance.timer=setTimeout(module.performance.display,100)},display:function(){var title=settings.name+":",totalTime=0;time=!1,clearTimeout(module.performance.timer),$.each(performance,function(index,data){totalTime+=data["Execution Time"]}),title+=" "+totalTime+"ms",moduleSelector&&(title+=" '"+moduleSelector+"'"),(console.group!==undefined||console.table!==undefined)&&performance.length>0&&(console.groupCollapsed(title),console.table?console.table(performance):$.each(performance,function(index,data){console.log(data.Name+": "+data["Execution Time"]+"ms")}),console.groupEnd()),performance=[]}},invoke:function(query,passedArguments,context){var maxDepth,found,response,object=instance;return passedArguments=passedArguments||queryArguments,context=element||context,"string"==typeof query&&object!==undefined&&(query=query.split(/[\. ]/),maxDepth=query.length-1,$.each(query,function(depth,value){var camelCaseValue=depth!=maxDepth?value+query[depth+1].charAt(0).toUpperCase()+query[depth+1].slice(1):query;if($.isPlainObject(object[camelCaseValue])&&depth!=maxDepth)object=object[camelCaseValue];else{if(object[camelCaseValue]!==undefined)return found=object[camelCaseValue],!1;if(!$.isPlainObject(object[value])||depth==maxDepth)return object[value]!==undefined?(found=object[value],!1):!1;object=object[value]}})),$.isFunction(found)?response=found.apply(context,passedArguments):found!==undefined&&(response=found),$.isArray(returnedValue)?returnedValue.push(response):returnedValue!==undefined?returnedValue=[returnedValue,response]:response!==undefined&&(returnedValue=response),found}},methodInvoked?(instance===undefined&&module.initialize(),module.invoke(query)):(instance!==undefined&&module.destroy(),module.initialize())}),returnedValue!==undefined?returnedValue:this},$.fn.ai1wm_checkbox.settings={name:"ai1wm-Checkbox",namespace:"ai1wm-checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document),jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-feedback .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-feedback").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your feedback!</p>");$(".ai1wm-feedback").html(content)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$("#ai1wm-report-problem-button").click(function(e){$(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-cancel").click(function(e){$(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-submit").click(function(){var url=ai1wm_report.ajax.url,email=$(".ai1wm-report-email").val(),message=$(".ai1wm-report-message").val(),terms=$(".ai1wm-report-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-report-problem-dialog .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-report-problem-dialog").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your request!</p>");$(".ai1wm-report-problem-dialog").html(content),setTimeout(function(){$(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$(".ai1wm-accordion > .ai1wm-title").click(function(){$(this).parent().toggleClass("ai1wm-active")}),$(".ai1wm-checkbox").ai1wm_checkbox(),$("#add-new-replace-button").click(function(e){var row=$(".ai1wm-replace-row:last").clone();row.find("input").val(""),$(".ai1wm-replace-row:last").after(row),e.preventDefault()})});
|
lib/view/assets/javascript/import.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$("
|
1 |
+
jQuery(document).ready(function($){"use strict";$("#ai1wm-feedback-submit").click(function(){var url=ai1wm_feedback.ajax.url,email=$(".ai1wm-feedback-email").val(),message=$(".ai1wm-feedback-message").val(),terms=$(".ai1wm-feedback-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-feedback .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-feedback").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your feedback!</p>");$(".ai1wm-feedback").html(content)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";$("#ai1wm-report-problem-button").click(function(e){$(this).next(".ai1wm-report-problem-dialog").toggleClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-cancel").click(function(e){$(this).closest(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active"),e.preventDefault()}),$("#ai1wm-report-submit").click(function(){var url=ai1wm_report.ajax.url,email=$(".ai1wm-report-email").val(),message=$(".ai1wm-report-message").val(),terms=$(".ai1wm-report-terms").is(":checked");$.ajax({type:"POST",url:url,data:{email:email,message:message,terms:+terms},success:function(data){var errors=data.errors;if(errors.length>0){$(".ai1wm-report-problem-dialog .ai1wm-message").remove();var content=$("<div />").addClass("ai1wm-message ai1wm-red-message");$.each(errors,function(key,value){content.append("<p>"+value+"</p>")}),$(".ai1wm-report-problem-dialog").prepend(content)}else{var content=$("<div />").addClass("ai1wm-message ai1wm-green-message").append("<p>Thanks for submitting your request!</p>");$(".ai1wm-report-problem-dialog").html(content),setTimeout(function(){$(".ai1wm-report-problem-dialog").removeClass("ai1wm-report-active")},2e3)}},dataType:"json",async:!1})})}),jQuery(document).ready(function($){"use strict";var display_upload_errors=function(errors){var box=$(".ai1wm-upload-file-message");box.removeClass("ai1wm-green-message").addClass("ai1wm-red-message"),box.find("p").remove(),errors.length>0?($.each(errors,function(index,value){box.append("<p>"+value+"</p>")}),box.show()):box.hide()},display_upload_messages=function(messages){var box=$(".ai1wm-upload-file-message");box.removeClass("ai1wm-red-message").addClass("ai1wm-green-message"),box.find("p").remove(),messages.length>0?($.each(messages,function(index,value){box.append("<p>"+value+"</p>")}),box.show()):box.hide()},upload_progress=function(up,file){var box=$(".ai1wm-upload-progress");box.text(file.percent+"%"),box.show()},upload_error=function(up,error){var message=null;message=-601===error.code?"File extension error! Please ensure that the file is in <strong>ZIP</strong> archive format.":error.message,display_upload_errors([message]),up.refresh()},file_uploaded=function(up,file,result){var json=$.parseJSON(result.response);display_upload_errors(json.errors)},upload_complete=function(){var errors=$(".ai1wm-upload-file-message.ai1wm-red-message p");0==errors.length&&display_upload_messages(["Archive was successfully uploaded and imported into WordPress."])},uploader=new plupload.Uploader(ai1wm_uploader);uploader.bind("Init",function(up){var uploaddiv=$("#ai1wm-plupload-upload-ui");up.features.dragdrop&&!$(document.body).hasClass("mobile")?$("#ai1wm-drag-drop-area").bind("dragover.wp-uploader",function(){uploaddiv.addClass("ai1wm-drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){uploaddiv.removeClass("ai1wm-drag-over")}):$("#ai1wm-drag-drop-area").unbind(".wp-uploader"),"html4"==up.runtime&&$(".upload-flash-bypass").hide()}),uploader.init(),uploader.bind("FilesAdded",function(up){up.refresh(),up.start()}),uploader.bind("BeforeUpload",function(){var box=$(".ai1wm-upload-file-message");box.hide()}),uploader.bind("UploadFile",function(){}),uploader.bind("UploadProgress",upload_progress),uploader.bind("Error",upload_error),uploader.bind("FileUploaded",file_uploaded),uploader.bind("UploadComplete",upload_complete)});
|
lib/view/export/index.php
CHANGED
@@ -21,10 +21,37 @@
|
|
21 |
<div class="ai1wm-left">
|
22 |
<div class="ai1wm-holder">
|
23 |
<h1><?php _e( 'Export Site Data' ); ?></h1>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
<p>
|
25 |
-
|
26 |
-
|
27 |
</p>
|
|
|
28 |
<form action="" method="post" id="ai1wm-export-form">
|
29 |
|
30 |
<div class="ai1wm-replace-row">
|
@@ -161,7 +188,7 @@
|
|
161 |
|
162 |
<div class="ai1wm-divider"><?php _e( 'Feedback' ); ?></div>
|
163 |
|
164 |
-
<div
|
165 |
<div class="ai1wm-field">
|
166 |
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-feedback-email" class="ai1wm-feedback-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
167 |
</div>
|
21 |
<div class="ai1wm-left">
|
22 |
<div class="ai1wm-holder">
|
23 |
<h1><?php _e( 'Export Site Data' ); ?></h1>
|
24 |
+
<div class="ai1wm-report-problem">
|
25 |
+
<a href="#" id="ai1wm-report-problem-button" class="ai1wm-report-problem-button">
|
26 |
+
<i class="ai1wm-icon-exclamation"></i> <?php _e( 'Report a problem' ); ?>
|
27 |
+
</a>
|
28 |
+
<div class="ai1wm-report-problem-dialog">
|
29 |
+
<div class="ai1wm-field">
|
30 |
+
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-report-email" class="ai1wm-report-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
31 |
+
</div>
|
32 |
+
<div class="ai1wm-field">
|
33 |
+
<textarea rows="3" id="ai1wm-report-message" class="ai1wm-report-message" placeholder="<?php _e( 'Please describe your problem here..' ); ?>"></textarea>
|
34 |
+
</div>
|
35 |
+
<div class="ai1wm-field ai1wm-report-terms-segment">
|
36 |
+
<input type="checkbox" class="ai1wm-report-terms" id="ai1wm-report-terms" />
|
37 |
+
<label for="ai1wm-report-terms"><?php _e( 'I agree to send my email address, comments and error logs to a ServMask server.' ); ?></label>
|
38 |
+
</div>
|
39 |
+
<div class="ai1wm-field">
|
40 |
+
<div class="ai1wm-buttons">
|
41 |
+
<button type="submit" id="ai1wm-report-submit" class="ai1wm-button-gray">
|
42 |
+
<i class="ai1wm-icon-paperplane"></i>
|
43 |
+
<?php _e( 'SEND' ); ?>
|
44 |
+
</button>
|
45 |
+
<a href="#" id="ai1wm-report-cancel" class="ai1wm-report-cancel"><?php _e( 'Cancel' ); ?></a>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
<p>
|
51 |
+
<?php _e( 'Use the form below to replace any data from the current database.' ); ?><br />
|
52 |
+
<?php _e( 'In the first field, enter a string that you want to search for, in the second field enter another string to replace the first string with.' ); ?>
|
53 |
</p>
|
54 |
+
|
55 |
<form action="" method="post" id="ai1wm-export-form">
|
56 |
|
57 |
<div class="ai1wm-replace-row">
|
188 |
|
189 |
<div class="ai1wm-divider"><?php _e( 'Feedback' ); ?></div>
|
190 |
|
191 |
+
<div class="ai1wm-feedback">
|
192 |
<div class="ai1wm-field">
|
193 |
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-feedback-email" class="ai1wm-feedback-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
194 |
</div>
|
lib/view/import/index.php
CHANGED
@@ -21,10 +21,35 @@
|
|
21 |
<div class="ai1wm-left">
|
22 |
<div class="ai1wm-holder">
|
23 |
<h1><?php _e( 'Import Site Data' ); ?></h1>
|
24 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
<p>
|
26 |
<?php _e( 'Use the box below to upload the archive file.' ); ?><br />
|
27 |
-
<?php _e( 'When the file is uploaded successfully it will be
|
28 |
</p>
|
29 |
|
30 |
<div class="ai1wm-upload-file-message ai1wm-message"></div>
|
@@ -62,7 +87,7 @@
|
|
62 |
</div>
|
63 |
<div class="ai1wm-divider"><?php _e( 'Feedback' ); ?></div>
|
64 |
|
65 |
-
<div
|
66 |
<div class="ai1wm-field">
|
67 |
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-feedback-email" class="ai1wm-feedback-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
68 |
</div>
|
21 |
<div class="ai1wm-left">
|
22 |
<div class="ai1wm-holder">
|
23 |
<h1><?php _e( 'Import Site Data' ); ?></h1>
|
24 |
+
<div class="ai1wm-report-problem">
|
25 |
+
<a href="#" id="ai1wm-report-problem-button" class="ai1wm-report-problem-button">
|
26 |
+
<i class="ai1wm-icon-exclamation"></i> <?php _e( 'Report a problem' ); ?>
|
27 |
+
</a>
|
28 |
+
<div class="ai1wm-report-problem-dialog">
|
29 |
+
<div class="ai1wm-field">
|
30 |
+
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-report-email" class="ai1wm-report-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
31 |
+
</div>
|
32 |
+
<div class="ai1wm-field">
|
33 |
+
<textarea rows="3" id="ai1wm-report-message" class="ai1wm-report-message" placeholder="<?php _e( 'Please describe your problem here..' ); ?>"></textarea>
|
34 |
+
</div>
|
35 |
+
<div class="ai1wm-field ai1wm-report-terms-segment">
|
36 |
+
<input type="checkbox" class="ai1wm-report-terms" id="ai1wm-report-terms" />
|
37 |
+
<label for="ai1wm-report-terms"><?php _e( 'I agree to send my email address, comments and error logs to a ServMask server.' ); ?></label>
|
38 |
+
</div>
|
39 |
+
<div class="ai1wm-field">
|
40 |
+
<div class="ai1wm-buttons">
|
41 |
+
<button type="submit" id="ai1wm-report-submit" class="ai1wm-button-gray">
|
42 |
+
<i class="ai1wm-icon-paperplane"></i>
|
43 |
+
<?php _e( 'SEND' ); ?>
|
44 |
+
</button>
|
45 |
+
<a href="#" id="ai1wm-report-cancel" class="ai1wm-report-cancel"><?php _e( 'Cancel' ); ?></a>
|
46 |
+
</div>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
<p>
|
51 |
<?php _e( 'Use the box below to upload the archive file.' ); ?><br />
|
52 |
+
<?php _e( 'When the file is uploaded successfully it will be automatically restored on the current WordPress instance.' ); ?>
|
53 |
</p>
|
54 |
|
55 |
<div class="ai1wm-upload-file-message ai1wm-message"></div>
|
87 |
</div>
|
88 |
<div class="ai1wm-divider"><?php _e( 'Feedback' ); ?></div>
|
89 |
|
90 |
+
<div class="ai1wm-feedback">
|
91 |
<div class="ai1wm-field">
|
92 |
<input placeholder="<?php _e( 'Enter your email address..' ); ?>" type="text" id="ai1wm-feedback-email" class="ai1wm-feedback-email" name="" value="<?php echo esc_attr( get_option( 'admin_email' ) ); ?>" />
|
93 |
</div>
|
loader.php
CHANGED
@@ -59,12 +59,38 @@ require_once AI1WM_CONTROLLER_PATH .
|
|
59 |
DIRECTORY_SEPARATOR .
|
60 |
'class-ai1wm-export-controller.php';
|
61 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
require_once AI1WM_MODEL_PATH .
|
63 |
DIRECTORY_SEPARATOR .
|
64 |
'class-ai1wm-template.php';
|
65 |
|
66 |
-
require_once AI1WM_MODEL_PATH .
|
|
|
|
|
67 |
|
68 |
-
require_once AI1WM_MODEL_PATH .
|
|
|
|
|
69 |
|
70 |
-
require_once AI1WM_MODEL_PATH .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
DIRECTORY_SEPARATOR .
|
60 |
'class-ai1wm-export-controller.php';
|
61 |
|
62 |
+
require_once AI1WM_CONTROLLER_PATH .
|
63 |
+
DIRECTORY_SEPARATOR .
|
64 |
+
'class-ai1wm-feedback-controller.php';
|
65 |
+
|
66 |
+
require_once AI1WM_CONTROLLER_PATH .
|
67 |
+
DIRECTORY_SEPARATOR .
|
68 |
+
'class-ai1wm-report-controller.php';
|
69 |
+
|
70 |
require_once AI1WM_MODEL_PATH .
|
71 |
DIRECTORY_SEPARATOR .
|
72 |
'class-ai1wm-template.php';
|
73 |
|
74 |
+
require_once AI1WM_MODEL_PATH .
|
75 |
+
DIRECTORY_SEPARATOR .
|
76 |
+
'class-ai1wm-export.php';
|
77 |
|
78 |
+
require_once AI1WM_MODEL_PATH .
|
79 |
+
DIRECTORY_SEPARATOR .
|
80 |
+
'class-ai1wm-import.php';
|
81 |
|
82 |
+
require_once AI1WM_MODEL_PATH .
|
83 |
+
DIRECTORY_SEPARATOR .
|
84 |
+
'class-ai1wm-file.php';
|
85 |
+
|
86 |
+
require_once AI1WM_MODEL_PATH .
|
87 |
+
DIRECTORY_SEPARATOR .
|
88 |
+
'class-ai1wm-error.php';
|
89 |
+
|
90 |
+
require_once AI1WM_MODEL_PATH .
|
91 |
+
DIRECTORY_SEPARATOR .
|
92 |
+
'class-ai1wm-feedback.php';
|
93 |
+
|
94 |
+
require_once AI1WM_MODEL_PATH .
|
95 |
+
DIRECTORY_SEPARATOR .
|
96 |
+
'class-ai1wm-report.php';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: yani.iliev, bangelov, mirkov
|
|
3 |
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8
|
6 |
-
Stable tag: 1.
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
|
@@ -70,6 +70,12 @@ All in One WP Plugin is the first plugin to offer true mobile experience on Word
|
|
70 |
3. Plugin Menu
|
71 |
|
72 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
= 1.4.0 =
|
74 |
* Adding a twitter and facebook share buttons to the sidebar on import and export pages
|
75 |
|
3 |
Tags: db migration, migration, wordpress migration, db backup, db restore, website backup, website restore, website migration, website deploy, wordpress deploy, db backup, database export, database serialization, database find replace
|
4 |
Requires at least: 3.3
|
5 |
Tested up to: 3.8
|
6 |
+
Stable tag: 1.5.0
|
7 |
License: GPLv2 or later
|
8 |
|
9 |
All-in-One WP Migration is the only tools that you will ever needs when you need to perform site migration of your WordPress blog.
|
70 |
3. Plugin Menu
|
71 |
|
72 |
== Changelog ==
|
73 |
+
= 1.5.0 =
|
74 |
+
* Added support for additional errors and exceptions handling
|
75 |
+
* Added support for reporting a problem in better and easier way
|
76 |
+
* Improved support process in ZenDesk system for faster response time
|
77 |
+
* Fixed typos on the import page. Thanks to Terry Heenan
|
78 |
+
|
79 |
= 1.4.0 =
|
80 |
* Adding a twitter and facebook share buttons to the sidebar on import and export pages
|
81 |
|