Plugin Directory

Changeset 1507032


Ignore:
Timestamp:
10/03/2016 02:14:46 AM (8 years ago)
Author:
harry005
Message:

Updates

Location:
ajax-awesome-css
Files:
5 added
5 edited

Legend:

Unmodified
Added
Removed
  • ajax-awesome-css/trunk/ajax-awesome-css.php

    r1498552 r1507032  
    11<?php
    22/**
    3  * Plugin Name: Ajax Custom CSS
    4  * Plugin URI: https://github.com/harry005/ajax-awesome-css
     3 * Plugin Name: Ajax Custom CSS/JS
     4 * Plugin URI: https://wordpress.org/plugins/ajax-awesome-css/
    55 * 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.4
     6 * Version: 1.1.5
    77 * Author: Harpreet Singh
    88 * Author URI: https://github.com/harry005/
  • ajax-awesome-css/trunk/includes/admin/admin-main.php

    r1498523 r1507032  
    7676                </div>
    7777                <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>
    7996                <div>
    8097        </div> <!-- wrap ends here-->
     
    160177                        autoCloseBrackets: true,
    161178                        styleActiveLine: true,
    162                         matchBrackets : true
     179                        matchBrackets : true,
     180                        gutters: ["CodeMirror-linenumbers"]
    163181                    //  extraKeys: {"Ctrl-Space": "autocomplete"}
    164182                      });
     
    173191                    }
    174192                });
     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);
    175199        </script>
     200        <style type="text/css">
     201      .breakpoints {width: .8em;}
     202      .breakpoint { color: #822; }
     203      .CodeMirror {border: 1px solid #aaa;}
     204    </style>
    176205        <?php
    177206        }
     
    181210        $table_name = $wpdb->prefix . 'awesomecustom';
    182211        $getcontent = $wpdb->get_results( "SELECT awesomejs FROM $table_name ");
    183         $storejs = $getcontent[0]->awesomejs;
     212        $storejs = $getcontent[0]->awesomejs
    184213        ?><div class="wrap" id='wrapjs'>
    185214            <h1>Add Custom JS</h1>
     
    195224               styleActiveLine: true,
    196225               mode: "javascript",
    197                gutters: ["CodeMirror-lint-markers"],
     226               gutters: ["CodeMirror-lint-markers","breakpoints"],
     227               //gutters: ["CodeMirror-linenumbers", "breakpoints"],
    198228               lint: true
    199229              });
     
    209239                    }
    210240                });
     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);
    211247        </script>
    212248        <?php
  • ajax-awesome-css/trunk/includes/admin/css/styles.css

    r1497357 r1507032  
    3030    font-size: 15px;
    3131    line-height: 24px;
    32     width: 52%;
     32    width: 62%;
    3333    margin-top: 1%;
    3434    text-align: justify;
     35    float:left;
    3536}
     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}
     68span.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  
    4848});
    4949
    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 ===
    22Contributors: Harpreet Singh
    33Tags: css, ajax, jss, custom , custom css, custom js, css editor , js editor, custom js , custom javascript
     
    66Requires at least: 4.0
    77Tested up to: 4.6.1
    8 Stable tag: 1.1.4
     8Stable tag: 1.1.5
    99
    1010Add custom CSS/JSS to your website without modifying the CSS/JS files of the theme or plugin with the help of ajax functionality.
     
    18182. Click on "Add New" from plugin's options.
    1919
    20 3. In the search option, type 'Ajax Custom Css'.
     203. In the search option, type 'Ajax Custom CSS/JS'.
    2121
    22224. Click install and activate the plugin.
     
    4646
    4747- Easy to use
     48- Ajax Feature
    4849- Simple interface for both CSS/JS
    4950- Autocomplete feature for both CSS/JS
     
    7374== Screenshots ==
    7475
    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
     761. Autocomplete feature in CSS as well as JSS
     772. Syntax error highlighter feature
    7878
    7979== Changelog ==
     80
     81= 1.1.5 =
     82* Added Breakpoint feature in JS
     83* More features Coming Soon !!!!!!
    8084
    8185= 1.1.4 =
     
    8387* Performance Improved
    8488* Fixed Minor bugs
    85 * More features Coming Soon !!!!!!
    8689
    8790= 1.1.3 =
Note: See TracChangeset for help on using the changeset viewer.