Changeset 1507032
- Timestamp:
- 10/03/2016 02:14:46 AM (8 years ago)
- Location:
- ajax-awesome-css
- Files:
-
- 5 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
ajax-awesome-css/trunk/ajax-awesome-css.php
r1498552 r1507032 1 1 <?php 2 2 /** 3 * Plugin Name: Ajax Custom CSS 4 * Plugin URI: https:// github.com/harry005/ajax-awesome-css3 * Plugin Name: Ajax Custom CSS/JS 4 * Plugin URI: https://wordpress.org/plugins/ajax-awesome-css/ 5 5 * Description: Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality. 6 * Version: 1.1. 46 * Version: 1.1.5 7 7 * Author: Harpreet Singh 8 8 * Author URI: https://github.com/harry005/ -
ajax-awesome-css/trunk/includes/admin/admin-main.php
r1498523 r1507032 76 76 </div> 77 77 <div class='hsrightcontent'> 78 78 <div class='hspaypalcontent'> 79 <span class='hsinnertitle'>Please support us if you have liked our plugin.</span><br/> 80 <b style='margin-bottom:10px;'>PAY WITH PAYPAL</b> 81 <p style='margin-bottom:-5px;'></p> 82 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target='_blank'> 83 <input type="hidden" name="cmd" value="_xclick"> 84 <input type="hidden" name="business" value="[email protected]"> 85 <input type="hidden" name="item_number" value="1"> 86 <input type="hidden" name="item_name" value="Wordpress Plugin Support"> 87 <span class='hsdollar'>$ <input type="text" name="amount" value="1"></span> 88 <input type="hidden" name="no_shipping" value="0"> 89 <input type="hidden" name="no_note" value="1"> 90 <input type="hidden" name="currency_code" value="USD"><br> 91 <input type="hidden" name="return" value="http://www.paypal.com"> 92 <input type="image" src="<?php echo plugin_dir_url( __FILE__ ). 'images/support-us.png' ;?>" border="0" name="submit" alt="PayPal - The safer, easier way to pay online."> 93 </form> 94 <br/> 95 </div> 79 96 <div> 80 97 </div> <!-- wrap ends here--> … … 160 177 autoCloseBrackets: true, 161 178 styleActiveLine: true, 162 matchBrackets : true 179 matchBrackets : true, 180 gutters: ["CodeMirror-linenumbers"] 163 181 // extraKeys: {"Ctrl-Space": "autocomplete"} 164 182 }); … … 173 191 } 174 192 }); 193 194 editor2.on("gutterClick", function(cm, n) { 195 var info = cm.lineInfo(n); 196 cm.setGutterMarker(n, "breakpoints", info.gutterMarkers ? null : makeMarker()); 197 }); 198 eval(document.getElementById("awesome-css-area").value); 175 199 </script> 200 <style type="text/css"> 201 .breakpoints {width: .8em;} 202 .breakpoint { color: #822; } 203 .CodeMirror {border: 1px solid #aaa;} 204 </style> 176 205 <?php 177 206 } … … 181 210 $table_name = $wpdb->prefix . 'awesomecustom'; 182 211 $getcontent = $wpdb->get_results( "SELECT awesomejs FROM $table_name "); 183 $storejs = $getcontent[0]->awesomejs ;212 $storejs = $getcontent[0]->awesomejs 184 213 ?><div class="wrap" id='wrapjs'> 185 214 <h1>Add Custom JS</h1> … … 195 224 styleActiveLine: true, 196 225 mode: "javascript", 197 gutters: ["CodeMirror-lint-markers"], 226 gutters: ["CodeMirror-lint-markers","breakpoints"], 227 //gutters: ["CodeMirror-linenumbers", "breakpoints"], 198 228 lint: true 199 229 }); … … 209 239 } 210 240 }); 241 242 editorjs.on("gutterClick", function(cm, n) { 243 var info = cm.lineInfo(n); 244 cm.setGutterMarker(n, "breakpoints", info.gutterMarkers ? null : makeMarker()); 245 }); 246 eval(document.getElementById("awesome-css-area").value); 211 247 </script> 212 248 <?php -
ajax-awesome-css/trunk/includes/admin/css/styles.css
r1497357 r1507032 30 30 font-size: 15px; 31 31 line-height: 24px; 32 width: 52%;32 width: 62%; 33 33 margin-top: 1%; 34 34 text-align: justify; 35 float:left; 35 36 } 37 .hsrightcontent { 38 float: right; 39 width: 23%; 40 position: relative; 41 display: block; 42 font-size: 16px; 43 text-align: center; 44 margin-right: 9%; 45 margin-top: 1%; 46 } 47 48 .hsrightcontent form input[type="image"] { 49 width: 32%; 50 margin-left: 18%; 51 } 52 .hspaypalcontent { 53 border: 1px solid; 54 box-shadow: 4px 4px 5px 3px #cCC; 55 } 56 57 .hspaypalcontent .hsinnertitle { 58 background: black; 59 padding: 10px; 60 width: 100% !important; 61 color: white; 62 display: block; 63 box-sizing: border-box; 64 text-transform: uppercase; 65 font-size: 14px; 66 font-weight: bold; 67 } 68 span.hsdollar { 69 background: black; 70 padding: 4px 2px 6px 8px; 71 color: white; 72 } -
ajax-awesome-css/trunk/includes/admin/js/awesome.js
r1497357 r1507032 48 48 }); 49 49 50 51 }); 50 }); 51 // starts for breakpoint code generating css 52 function makeMarker() { 53 var marker = document.createElement("div"); 54 marker.style.color = "#000"; 55 marker.innerHTML = "●"; 56 marker.style.fontSize="23px"; 57 return marker; 58 } 59 // ends here -
ajax-awesome-css/trunk/readme.txt
r1498552 r1507032 1 === Ajax Custom CSS ===1 === Ajax Custom CSS/JS === 2 2 Contributors: Harpreet Singh 3 3 Tags: css, ajax, jss, custom , custom css, custom js, css editor , js editor, custom js , custom javascript … … 6 6 Requires at least: 4.0 7 7 Tested up to: 4.6.1 8 Stable tag: 1.1. 48 Stable tag: 1.1.5 9 9 10 10 Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality. … … 18 18 2. Click on "Add New" from plugin's options. 19 19 20 3. In the search option, type 'Ajax Custom C ss'.20 3. In the search option, type 'Ajax Custom CSS/JS'. 21 21 22 22 4. Click install and activate the plugin. … … 46 46 47 47 - Easy to use 48 - Ajax Feature 48 49 - Simple interface for both CSS/JS 49 50 - Autocomplete feature for both CSS/JS … … 73 74 == Screenshots == 74 75 75 1. Description of Ajax Custom CSS plugin 76 2. Shows the autocomplete feature in CSS by pressing 'ctrl+space' 77 3. Add your own custom js 76 1. Autocomplete feature in CSS as well as JSS 77 2. Syntax error highlighter feature 78 78 79 79 == Changelog == 80 81 = 1.1.5 = 82 * Added Breakpoint feature in JS 83 * More features Coming Soon !!!!!! 80 84 81 85 = 1.1.4 = … … 83 87 * Performance Improved 84 88 * Fixed Minor bugs 85 * More features Coming Soon !!!!!!86 89 87 90 = 1.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.