<commit_before><script type="text/javascript">
jQuery(function($){
    start_slider();
    $('.error-message').hide();
    $('#add_feedback').click(function(){
        add_feedback();
    });
             
});

function start_slider(){
	$('#rate_e').click(function(){ slide_track_to('-3px'  ,'5'); });
	$('#rate_g').click(function(){ slide_track_to('+119px','4'); });
	$('#rate_a').click(function(){ slide_track_to('+244px','3'); });
	$('#rate_p').click(function(){ slide_track_to('+369px','2'); });
	$('#rate_b').click(function(){ slide_track_to('+492px','1'); });
}

function slide_track_to(y,rating){
	$('#track_ball').animate({'left':y});
	$('#rating').val(rating);
}
</script>

<style type="text/css">
    #add-feedback-setup-block{
        background:#f4f4f4;	
        margin-left:-10px;
    }
    .add-feedback-setup-border{display:block;height:2px;background:url(/img/false-border.png);}
    .add-feedback-options{
        padding-bottom:10px;
    }
    .add-feedback-options h2{
        background:#6b7984;
        color:#dedede;
        font-size:14px;
        display:block;
        padding:4px 8px;
        border:1px solid #626f79;
    }
        .add-feedback-types{
            padding:10px 20px 0px;
        }
        .add-feedback-types h3{
            cursor:pointer !important;
            font-size:14px !important;
            color:#778086 !important; 
            display:block;
            padding-bottom:10px;
            margin:0px !important;
            background:url(/img/false-border.png) repeat-x bottom;
        }
        .add-feedback-types h3 label{cursor:pointer;}
        .add-feedback-opts{
            padding:5px 10px;
        }
        .add-feedback-form{
            padding:5px 10px;
        }
        .templates ul{list-style:none}
        .templates ul li{width:84px;}
        .add-feedback-opts a.button{
            background:#d1e2f1 url(/img/button-highlight.png) top repeat-x;
            color:#6b8194;
            padding:4px 11px;
            -webkit-border-radius:12px;
            -moz-border-radius:12px;
            border-radius:12px;
            border:1px solid #9ebdd8;
            font-weight:bold;
        }
        .add-feedback-opts a.button:hover{background:#dce9f5;}
        
        .add-feedback-opts a.button-gray{
            background:#eceff1 url(/img/button-highlight.png) top repeat-x;
            color:#6b8194;
            padding:4px 11px;

            -webkit-border-radius:12px;
            -moz-border-radius:12px;
            border-radius:12px;
            border:1px solid #c1c8d0;
            font-weight:bold;
        }
        .add-feedback-opts a.button-gray:hover{background:#dce9f5;}
        #add-feedback-preview{
            width:360px;
            margin-left:19px;
            float:left;
            position:absolute;
            top:20px;
            left:200px;
            }
            .add-feedback-block{
                border:1px solid #c8ced2;
                -webkit-border-radius:4px;
                -moz-border-radius:4px;
                border-radius:4px;
                margin-bottom:15px;
                overflow:hidden;
            }
            .add-feedback-block h2{
                display:block;
                border-top:1px solid #ffffff;
                border-bottom:1px solid #c8ced2;
                color:#8a9196;
                text-shadow:#fafafa 0px 1px;
                font-size:14px;font-weight:bold;
                padding:8px 12px;
                background:#eceff1;
            }
            .add-feedback-block .html-code textarea{display:block;width:338px;height:133px;border:none;padding:10px;font-size:11px;} 
            .add-feedback-form{ padding:5px 10px; }
            .add-feedback-form label{padding-left:6px;}
            .add-feedback-form .custom-message{float:left;list-style:none;padding-left:10px;}
            .add-feedback-form .custom-message li{margin:0px;padding:0px;font-size:11px;}
            .add-feedback-opts span.gray{color:#707d87;font-size:10px;}
            .error-message{background:url(/img/yellow-error.png) repeat;padding:10px 30px;color:#565758;margin:0px -20px;font-weight:bold;}
            .float-right{float:right;}
            
            /* rating page */
            .rate-slider{width:517px;height:33px;background:url(/img/rate-slider-blue.png);margin-top:8px;position:relative;}
            .rate-slider #rate_e,.rate-slider #rate_g,.rate-slider #rate_a,.rate-slider #rate_p,.rate-slider #rate_b{float:left;height:33px;position:relative;cursor:pointer;}
            .rate-slider #track_ball{width:30px;height:33px;position:absolute;background:url(/img/trackball.png) no-repeat;left:-4px;}
            .rate-slider #rate_e,.rate-slider #rate_b{width:65px;}
            .rate-slider #rate_g,.rate-slider #rate_a,.rate-slider #rate_p{width:129px;}
            
            .ratings{color:#adafb0;font-size:12px;font-weight:bold;}
            .ratings ul{margin:0px;padding:0px;position:relative;height:30px;}
            .ratings ul li	   	  {list-style:none;display:inline;margin:0px;padding:0px;position:absolute;top:0px;background:none !important;text-shadow:none !important;}
            .ratings ul li.good	  {left:117px;}
            .ratings ul li.average{left:234px;}
            .ratings ul li.poor	  {left:370px;}
            .ratings ul li.bad	  {left:490px;}
            .rate{float:right;width:517px;}
            .rate-text{float:left;padding-top:16px;}
</style>
<?=Form::open('feedback/addfeedback')?>
<input type="hidden" value="<?=$company_id?>" name="company_id" />
<input type="hidden" id="cropped_photo" value="0"/ >
<input type="hidden" id="native_flag" value="1" />
<input type="hidden" name="profile_link" value="">

<div class="block">
    <div id="add-feedback-setup-block">
        <div class="add-feedback-options">
            <h2>Add Feedback</h2>
            <div class="add-feedback-types">
                <h3><label for="full_page_type">Recepient Details</label></h3>
                <div class="add-feedback-form" id="full_page_add-feedback">    
                    <div class="grids">
                        <div class="rate-text"><label><strong>Rating :</strong></label> </div>
                        <div class="rate">
                            <div class="rate-slider" id="smart-slider">
                                <input type="hidden" id="rating" name="rating" value="5" >
                                <div id="track_ball"></div>
                                <div id="rate_b"></div>
                                <div id="rate_p"></div>
                                <div id="rate_a"></div><commit_msg>Mathew first of my name<commit_after><script type="text/javascript">
jQuery(function($){
    start_slider();
    $('.error-message').hide();
    $('#add_feedback').click(function(){
        add_feedback();
    });
             
});

function start_slider(){
	$('#rate_e').click(function(){ slide_track_to('-3px'  ,'5'); });
	$('#rate_g').click(function(){ slide_track_to('+119px','4'); });
	$('#rate_a').click(function(){ slide_track_to('+244px','3'); });
	$('#rate_p').click(function(){ slide_track_to('+369px','2'); });
	$('#rate_b').click(function(){ slide_track_to('+492px','1'); });
}

function slide_track_to(y,rating){
	$('#track_ball').animate({'left':y});
	$('#rating').val(rating);
}
</script>

<style type="text/css">
    #add-feedback-setup-block{
        background:#f4f4f4;	
        margin-left:-10px;
    }
    .add-feedback-setup-border{display:block;height:2px;background:url(/img/false-border.png);}
    .add-feedback-options{
        padding-bottom:10px;
    }
    .add-feedback-options h2{
        background:#6b7984;
        color:#dedede;
        font-size:14px;
        display:block;
        padding:4px 8px;
        border:1px solid #626f79;
    }
        .add-feedback-types{
            padding:10px 20px 0px;
        }
        .add-feedback-types h3{
            cursor:pointer !important;
            font-size:14px !important;
            color:#778086 !important; 
            display:block;
            padding-bottom:10px;
            margin:0px !important;
            background:url(/img/false-border.png) repeat-x bottom;
        }
        .add-feedback-types h3 label{cursor:pointer;}
        .add-feedback-opts{
            padding:5px 10px;
        }
        .add-feedback-form{
            padding:5px 10px;
        }
        .templates ul{list-style:none}
        .templates ul li{width:84px;}
        .add-feedback-opts a.button{
            background:#d1e2f1 url(/img/button-highlight.png) top repeat-x;
            color:#6b8194;
            padding:4px 11px;
            -webkit-border-radius:12px;
            -moz-border-radius:12px;
            border-radius:12px;
            border:1px solid #9ebdd8;
            font-weight:bold;
        }
        .add-feedback-opts a.button:hover{background:#dce9f5;}
        
        .add-feedback-opts a.button-gray{
            background:#eceff1 url(/img/button-highlight.png) top repeat-x;
            color:#6b8194;
            padding:4px 11px;

            -webkit-border-radius:12px;
            -moz-border-radius:12px;
            border-radius:12px;
            border:1px solid #c1c8d0;
            font-weight:bold;
        }
        .add-feedback-opts a.button-gray:hover{background:#dce9f5;}
        #add-feedback-preview{
            width:360px;
            margin-left:19px;
            float:left;
            position:absolute;
            top:20px;
            left:200px;
            }
            .add-feedback-block{
                border:1px solid #c8ced2;
                -webkit-border-radius:4px;
                -moz-border-radius:4px;
                border-radius:4px;
                margin-bottom:15px;
                overflow:hidden;
            }
            .add-feedback-block h2{
                display:block;
                border-top:1px solid #ffffff;
                border-bottom:1px solid #c8ced2;
                color:#8a9196;
                text-shadow:#fafafa 0px 1px;
                font-size:14px;font-weight:bold;
                padding:8px 12px;
                background:#eceff1;
            }
            .add-feedback-block .html-code textarea{display:block;width:338px;height:133px;border:none;padding:10px;font-size:11px;} 
            .add-feedback-form{ padding:5px 10px; }
            .add-feedback-form label{padding-left:6px;}
            .add-feedback-form .custom-message{float:left;list-style:none;padding-left:10px;}
            .add-feedback-form .custom-message li{margin:0px;padding:0px;font-size:11px;}
            .add-feedback-opts span.gray{color:#707d87;font-size:10px;}
            .error-message{background:url(/img/yellow-error.png) repeat;padding:10px 30px;color:#565758;margin:0px -20px;font-weight:bold;}
            .float-right{float:right;}
            
            /* rating page */
            .rate-slider{width:517px;height:33px;background:url(/img/rate-slider-blue.png);margin-top:8px;position:relative;}
            .rate-slider #rate_e,.rate-slider #rate_g,.rate-slider #rate_a,.rate-slider #rate_p,.rate-slider #rate_b{float:left;height:33px;position:relative;cursor:pointer;}
            .rate-slider #track_ball{width:30px;height:33px;position:absolute;background:url(/img/trackball.png) no-repeat;left:-4px;}
            .rate-slider #rate_e,.rate-slider #rate_b{width:65px;}
            .rate-slider #rate_g,.rate-slider #rate_a,.rate-slider #rate_p{width:129px;}
            
            .ratings{color:#adafb0;font-size:12px;font-weight:bold;}
            .ratings ul{margin:0px;padding:0px;position:relative;height:30px;}
            .ratings ul li	   	  {list-style:none;display:inline;margin:0px;padding:0px;position:absolute;top:0px;background:none !important;text-shadow:none !important;}
            /*
            .ratings ul li.good	  {left:117px;}
            .ratings ul li.average{left:234px;}
            .ratings ul li.poor	  {left:370px;}
            .ratings ul li.bad	  {left:490px;}
            */

            .ratings ul li.poor	  {left:117px;}
            .ratings ul li.average{left:234px;}
            .ratings ul li.good	  {left:370px;}
            .ratings ul li.excellent {left:490px;}

            .rate{float:right;width:517px;}
            .rate-text{float:left;padding-top:16px;}
</style>
<?=Form::open('feedback/addfeedback')?>
<input type="hidden" value="<?=$company_id?>" name="company_id" />
<input type="hidden" id="cropped_photo" value="0"/ >
<input type="hidden" id="native_flag" value="1" />
<input type="hidden" name="profile_link" value="">

<div class="block">
    <div id="add-feedback-setup-block">
        <div class="add-feedback-options">
            <h2>Add Feedback</h2>
            <div class="add-feedback-types">
                <h3><label for="full_page_type">Recepient Details</label></h3>
                <div class="add-feedback-form" id="full_page_add-feedback">    
                    <div class="grids">
                        <div class="rate-text"><label><strong>Rating :</strong></label> </div>
                        <div class="rate">
                            <div class="rate-slider" id="smart-slider">
                                <input type="hidden" id="rating" name="rating" value="5" >
                                <div id="track_ball"></div>
                                <div id="rate_b"></div>
                                <div id="rate_p"></div>
                                <div id="rate_a"></div>
{'fraction_non_alphanumeric': 0.1528568260773154, 'fraction_numerical': 0.036218493606327146, 'mean_word_length': 2.0472972972972974, 'pattern_counts': {'":': 0, '<': 81, '<?xml version=': 0, '>': 81, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3305929', 'n_tokens_mistral': 4603, 'n_tokens_neox': 4220, 'n_words': 556}