Changeset 1841508
- Timestamp:
- 03/16/2018 04:14:49 PM (8 years ago)
- Location:
- canvasflow/trunk
- Files:
-
- 5 edited
-
README.md (modified) (2 diffs)
-
assets/css/style.css (modified) (1 diff)
-
canvasflow-plugin.php (modified) (1 diff)
-
includes/views/canvasflow-metabox-view.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
canvasflow/trunk/README.md
r1840916 r1841508 66 66 67 67 #### Changelog 68 ##### 0.12.2 69 * Replace alert message with html message 70 68 71 ##### 0.12.1 69 72 * Fix bug that deletes the selected issue in settings. … … 113 116 114 117 #### Upgrade Notice 118 ##### 0.12.2 119 * Replace alert message with html message 120 115 121 ##### 0.12.1 116 122 * Fix bug that deletes the selected issue in settings. -
canvasflow/trunk/assets/css/style.css
r1827857 r1841508 101 101 font-weight: 600; 102 102 } 103 104 .meta-box-alert { 105 position: absolute; 106 bottom:19px; 107 left:13px; 108 font-weight:600; 109 font-size: 14px; 110 display: none; 111 } 112 113 .meta-box-alert-success { 114 display: block; 115 color: #009932; 116 } 117 118 .meta-box-alert-error { 119 display: block; 120 color: #FF530D; 121 } -
canvasflow/trunk/canvasflow-plugin.php
r1840916 r1841508 3 3 Plugin Name: Canvasflow for WordPress 4 4 Description: This out-of-the-box connector provides a quick and simple way to push your blog content directly to an existing Canvasflow publication. 5 Version: 0.12. 15 Version: 0.12.2 6 6 Developer: Canvasflow 7 7 Developer URI: https://canvasflow.io -
canvasflow/trunk/includes/views/canvasflow-metabox-view.php
r1838787 r1841508 1 1 2 <table class="form-table"> 2 3 <tbody> … … 31 32 </select> 32 33 <br> 33 < small>34 <!--<small> 34 35 <em> 35 36 Target issue 36 37 </em> 37 </small> 38 </small>--> 38 39 </td> 39 40 </tr> … … 64 65 </select> 65 66 <br> 66 < small>67 <!--<small> 67 68 <em> 68 69 CF Style 69 70 </em> 70 </small> 71 </small>--> 71 72 </td> 72 73 </tr> 73 74 <tr> 74 75 <th scope="row"> 75 <label for="style_id"> Publish state</label>76 <label for="style_id">Status</label> 76 77 </th> 77 78 <td id="cf_state" class="<?php echo $post_state_style?>"> 78 79 <?php echo $post_state_content?> 79 80 </td> 81 <div id="cf-alert" class="meta-box-alert"></div> 80 82 </tr> 81 83 <?php … … 112 114 $("#cf_state").removeClass(currentClass); 113 115 $("#cf_state").addClass('meta-box-post-state-in-sync'); 114 $("#cf_state").html("In Sync"); 115 alert('Article publish successfully'); 116 $("#cf_state").html("In Sync"); 117 118 let alertClass = $('#cf-alert').attr('class'); 119 $("#cf-alert").removeClass(alertClass); 120 $("#cf-alert").addClass('meta-box-alert meta-box-alert-success'); 121 $("#cf-alert").html("✔ Success"); 116 122 }); 117 123 … … 119 125 request.fail(function (jqXHR, textStatus, errorThrown){ 120 126 // Log the error to the console 127 let alertClass = $('#cf-alert').attr('class'); 128 $("#cf-alert").removeClass(alertClass); 129 $("#cf-alert").addClass('meta-box-alert meta-box-alert-error'); 130 $("#cf-alert").html("× Fail"); 121 131 console.error( 122 132 "The following error occurred: "+ -
canvasflow/trunk/readme.txt
r1840916 r1841508 74 74 75 75 == Changelog == 76 = 0.12.2 = 77 * Replace alert message with html message 78 76 79 = 0.12.1 = 77 80 * Fix bug that deletes the selected issue in settings. … … 120 123 121 124 122 == Upgrade Notice == 125 == Upgrade Notice ==3 126 = 0.12.2 = 127 * Replace alert message with html message 128 123 129 = 0.12.1 = 124 130 * Fix bug that deletes the selected issue in settings.
Note: See TracChangeset
for help on using the changeset viewer.