Changeset 6889


Ignore:
Timestamp:
Feb 21, 2018, 2:25:01 PM (18 months ago)
Author:
mabarracus
Message:

Fix Styles

Location:
lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/db.php

    r6884 r6889  
    352352                while($row=$result->fetch_array(MYSQLI_ASSOC)){
    353353                    $date=$row['year'].'_'.$row['month'];
    354                     $tmp[$date][$row['Releases_name']]=intval($row['count']);
     354                    $tmp[$date][$row['rel']]=intval($row['count']);
    355355                }
    356356                foreach ($tmp as $date){
     
    377377                while($row=$result->fetch_array(MYSQLI_ASSOC)){
    378378                    $date=$row['year'].'_'.$row['month'];
    379                     $tmp[$date][$row['Releases_name']]=intval($row['count']);
     379                    $tmp[$date][$row['rel']]=intval($row['count']);
    380380                }
    381381                foreach ($tmp as $date){
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/graph.css

    r5926 r6889  
    4646}
    4747#header{
    48     height: 30px;
     48    height: 40px;
    4949    padding-bottom: 10px;
    5050    border-bottom: 1px solid black;
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/graph.js

    r6884 r6889  
    1818                    }
    1919                 },
    20                 chartArea:{left:'5%',right:'1%'},
     20                chartArea:{left:'10%',right:'5%'},
    2121                };
    2222
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/graph_min.js

    r6884 r6889  
    1 function drawChart(c,a,b,g){var e=.95*$("#"+b).parent().width();g=10>g?$(window).height()/3*.75:20*g;a={title:a,width:e,height:g,fontSize:10,legend:"none",hAxis:{viewWindow:{min:0}},chartArea:{left:"5%",right:"1%"}};c=new google.visualization.DataView(c);c.setColumns([0,1,{calc:"stringify",sourceColumn:1,type:"string",role:"annotation"}]);b=new google.visualization.BarChart(document.getElementById(b));google.visualization.events.addListener(b,"ready",ready_charts);b.draw(c,a)}
     1function drawChart(c,a,b,g){var e=.95*$("#"+b).parent().width();g=10>g?$(window).height()/3*.75:20*g;a={title:a,width:e,height:g,fontSize:10,legend:"none",hAxis:{viewWindow:{min:0}},chartArea:{left:"10%",right:"5%"}};c=new google.visualization.DataView(c);c.setColumns([0,1,{calc:"stringify",sourceColumn:1,type:"string",role:"annotation"}]);b=new google.visualization.BarChart(document.getElementById(b));google.visualization.events.addListener(b,"ready",ready_charts);b.draw(c,a)}
    22function get_sizes(c){c=.95*$("#"+c).parent().width();var a=.72*$(window).height()/2;return{width:c,height:a}}
    33function build_data_per_month_releases(c,a){var b=[];for(i=0;12>i;i++)if(b[i]={15:0,16:0,all:0},c[i]){for(rel in c[i]){if("15"==rel)for(fla in c[i][rel])b[i][rel]+=c[i][rel][fla];if("16"==rel)for(fla in c[i][rel])b[i][rel]+=c[i][rel][fla]}b[i].all=b[i]["15"]+b[i]["16"]}var g=[],e=new Date,d=new google.visualization.DataTable;d.addColumn({type:"date",role:"domain"},"Release");d.addColumn("number","Total Release 15");d.addColumn({type:"string",role:"style"},"Style Release 15");d.addColumn("number",
  • lliurex-analytics-server/trunk/fuentes/lliurex-analytics-server/usr/lib/analytics-server/analytics/whitelist.css

    r6876 r6889  
    5151button{
    5252    clear: both;
    53     width: 70px;
     53    width: 6ex;
    5454    display: block;
    5555    font-size: 3ex;
Note: See TracChangeset for help on using the changeset viewer.