Advertisement
Guest User

Untitled

a guest
Dec 18th, 2017
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.58 KB | None | 0 0
  1. <template>
  2. <!-- content wrapper for page -->
  3. <div id="content-wrapper"
  4. v-bind:class="{ 'content-open': openContent }">
  5. <!-- content header -->
  6. <div class='content-header'>
  7. <h4 class="margin-left-20">Dashboard</h4>
  8. </div>
  9. <!-- page content -->
  10. <div class="content">
  11. <div class="row">
  12. <div class="col-md-2">
  13. <div class="dashboard-box">
  14. <div class="dashboard-items-header">
  15. Monthly Quotations
  16. </div>
  17. <div class="dashboard-button-content">
  18. 1520
  19. </div>
  20. </div>
  21. </div>
  22. <div class="col-md-2">
  23. <div class="dashboard-box">
  24. <div class="dashboard-items-header">
  25. Monthly Users
  26. </div>
  27. <div class="dashboard-button-content">
  28. 1520
  29. </div>
  30. </div>
  31. </div>
  32. <div class="col-md-2">
  33. <div class="dashboard-box">
  34. <div class="dashboard-items-header">
  35. Invoice
  36. </div>
  37. <div class="dashboard-button-content">
  38. 1520
  39. </div>
  40. </div>
  41. </div>
  42. <div class="col-md-2">
  43. <div class="dashboard-box">
  44. <div class="dashboard-items-header">
  45. ?
  46. </div>
  47. <div class="dashboard-button-content">
  48. 1520
  49. </div>
  50. </div>
  51. </div>
  52. <div class="col-md-4">
  53. <div class="dashboard-box">
  54. <div class="dashboard-items-header">
  55. Newsfeed
  56. </div>
  57. <div class="newsfeed-content">
  58. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation.
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. <div class="row">
  64. <div class="col-md-6">
  65. <div class="dashboard-diagram-box">
  66. <div class="dashboard-items-header">
  67. Orders
  68. </div>
  69. <div class="dashboard-diagram-content">
  70. <div>
  71. <ul class="nav nav-tabs inline-block" @click="setOrderBarChartFilter($event.target.name)">
  72. <li class="active"><a data-toggle="tab" name="ACCOUNTMANAGER" class="dashboard-tab">Account Manager</a></li>
  73. <li><a data-toggle="tab" name="MONTH" class="dashboard-tab">Month</a></li>
  74. <li><a data-toggle="tab" name="TYPE" class="dashboard-tab">Type</a></li>
  75. <li><a data-toggle="tab" name="TIMEPERTA" class="dashboard-tab">Time per TA</a></li>
  76. </ul>
  77. <select v-model="orderBarChartYear" @change="generateOrderBarChart()" class="dashboard-year-select">
  78.  
  79. <option v-for="years in yearOptions" >{{years}}</option>
  80.  
  81. </select>
  82.  
  83. </div>
  84. <div id="ordergraph"></div>
  85. <!-- <v-barchart :labels="orderBarchartLabels" :data="orderBarchartData" name="graph"></v-barchart> -->
  86. </div>
  87. </div>
  88. </div>
  89. <div class="col-md-3">
  90. <div class="dashboard-diagram-box">
  91. <div class="dashboard-items-header">
  92. Prospects
  93. </div>
  94. <div class="dashboard-piechart-content">
  95. <div>
  96. <!-- V-MODEL + CHANGE -->
  97. <select class="dashboard-year-select" v-model="prospectPieChartYear" @change="generateProspectPieChart()">
  98. <option v-for="years in yearOptions" >{{years}}</option>
  99. </select>
  100. <select class="dashboard-year-select" v-model="prospectPieChartMonth" @change="generateProspectPieChart()">
  101. <option v-for="month in months" >{{month}}</option>
  102. </select>
  103. </div>
  104. <div id="prospectspiechart">
  105. </div>
  106. </div>
  107. </div>
  108. </div>
  109. <div class="col-md-3">
  110. <div class="dashboard-diagram-box">
  111. <div class="dashboard-items-header">
  112. City
  113. </div>
  114. <div class="dashboard-piechart-content">
  115. <div>
  116. <!-- V-MODEL + CHANGE -->
  117. <ul class="nav nav-tabs inline-block" @click="setCityPieChartFilter($event.target.name)">
  118. <li class="active"><a data-toggle="tab" name="PROSPECTS" class="dashboard-tab">Prospects</a></li>
  119. <li><a data-toggle="tab" name="ORDERS" class="dashboard-tab">Orders</a></li>
  120. </ul>
  121. <select class="dashboard-year-select" @change="generateProspectPieChart()">
  122. <option v-for="years in yearOptions" >{{years}}</option>
  123. </select>
  124. <select class="dashboard-year-select" @change="generateProspectPieChart()">
  125. <option v-for="month in months" >{{month}}</option>
  126. </select>
  127. </div>
  128. <div id="citypiechart">
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <div class="row">
  135. <div class="col-md-6">
  136. <div class="dashboard-diagram-box">
  137. <div class="dashboard-items-header">
  138. Rejected Orders
  139. </div>
  140. <div class="dashboard-diagram-content">
  141. <ul class="nav nav-tabs inline-block" @click="setRejectedProspectBarChartFilter($event.target.name)">
  142. <li class="active"><a data-toggle="tab" name="REASON" class="dashboard-tab">Reason</a></li>
  143. <li><a data-toggle="tab" name="QUOTATIONMAKER" class="dashboard-tab">Quotation maker</a></li>
  144. <li><a data-toggle="tab" name="TYPE" class="dashboard-tab">Type</a></li>
  145. <li><a data-toggle="tab" name="CUSTOMER" class="dashboard-tab">Customer</a></li>
  146. </ul>
  147. <select v-model="rejectedProspectBarChartYear" @change="generateRejectedProspectBarChart()" class="dashboard-year-select">
  148. <option v-for="years in yearOptions" >{{years}}</option>
  149. </select>
  150. <div id="rejectedprospectgraph"></div>
  151. </div>
  152. </div>
  153. </div>
  154. <div class="col-md-6">
  155. <div class="dashboard-diagram-box">
  156. <div class="dashboard-items-header">
  157. ?
  158. </div>
  159. <div class="dashboard-diagram-content">
  160. <ul class="nav nav-tabs">
  161. <li class="active"><a class="dashboard-tab">Reason</a></li>
  162. <li class="active"><a class="dashboard-tab">Quotation maker</a></li>
  163. <li class="active"><a class="dashboard-tab">Type</a></li>
  164. <li class="active"><a class="dashboard-tab">Customer</a></li>
  165. <select class="dashboard-year-select">
  166. <option value="">2017</option>
  167. <option value="">2016</option>
  168. <option value="">2015</option>
  169. <option value="">2014</option>
  170. </select>
  171. </ul>
  172. <!-- <v-barchart :data="orderBarchartLabels" name="graph" title="asd" :xAxis="orderBarchartLabels" yAxis="" CONDITION=""></v-barchart> -->
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. </div>
  179. </template>
  180.  
  181. <script>
  182. import { mapGetters } from 'vuex'
  183. import echarts from 'echarts'
  184. import barchart from '@/components/utils/barchart.vue'
  185. export default {
  186. name: 'Dashboard',
  187. data(){
  188. return {
  189. cityPieChart:"",
  190. cityPieChartData:[],
  191. cityPieChartFilter:"",
  192. cityPieChartYear:"",
  193. cityPieChartMonth:"",
  194. prospectPieChart:"",
  195. prospectPieChartData:[],
  196. prospectPieChartYear:"",
  197. prospectPieChartMonth:"",
  198. orderChart:"",
  199. orderBarChartYear:"",
  200. orderBarChartFilter:"",
  201. orderBarChartLabels:[],
  202. orderBarChartData:[],
  203. rejectedProspectChart:"",
  204. rejectedProspectBarChartYear:"",
  205. rejectedProspectBarChartFilter:"",
  206. rejectedProspectBarChartLabels:[],
  207. rejectedProspectBarChartData:[],
  208. months:["Jan", "Feb", "Mar", "Apr", "May", "June", "July", "Aug", "Sep", "Oct", "Nov", "Dec"],
  209. }
  210. },
  211. components: {
  212. 'v-barchart': barchart
  213. },
  214. computed: {
  215. ...mapGetters({
  216. openContent: "getSidebar"
  217. }),
  218. getPieChartLabels(){
  219.  
  220. var Data = [];
  221. return Data;
  222. },
  223. getRejectedPieChartLabels(){
  224. var Data = [
  225. {value: this.prospectPieChartData[0], name: "Approved"},
  226. {value: this.prospectPieChartData[1], name: "Rejected"}
  227. ]
  228. return Data
  229. },
  230. getCurrentYear(){
  231. var year = new Date().getFullYear();
  232. return year;
  233. },
  234. getCurrentMonth(){
  235. var month = new Date().getMonth();
  236. return month;
  237. },
  238. yearOptions(){
  239. var optionsArray = [];
  240. for(var i = 2013; i <= new Date().getFullYear(); i++)
  241. {
  242. optionsArray.push(i);
  243. }
  244. return optionsArray;
  245. }
  246. },
  247. watch:{
  248. openContent: function(){
  249. this.resizeGraph();
  250. }
  251. },
  252. methods:{
  253.  
  254. findMonth(Month){
  255. var monthNumber = this.months.indexOf(Month)
  256. return monthNumber;
  257. },
  258.  
  259. getProspectsPerTime(year, month){
  260. $.ajax({
  261. url: this.$apiurl + "api/piechart/get/prospectpercentage/" + year + "/" + month,
  262. method: 'GET',
  263. success: function(response){
  264. this.prospectPieChartData = response;
  265. this.createRejectedProspectPieChart();
  266. }.bind(this),
  267. error: function(error, xhr){
  268. console.log(error, xhr)
  269. }
  270. })
  271. },
  272. getOrdersPerCity(year, month){
  273. $.ajax({
  274. url: this.$apiurl + "api/piechart/get/orderspercity/" + year + "/" + month,
  275. method: 'GET',
  276. success: function(response){
  277. this.createCityPieChart(response, "ORDERS");
  278. }.bind(this),
  279. error: function(error, xhr){
  280. console.log(error, xhr)
  281. }
  282. })
  283. },
  284. getProspectsPerCity(year, month){
  285. $.ajax({
  286. url: this.$apiurl + "api/piechart/get/prospectspercity/" + year + "/" + month,
  287. method:'Get',
  288. success: function(response){
  289. this.createCityPieChart(response, "PROSPECTS");
  290. }.bind(this),
  291. error: function(error, xhr){
  292. console.log(error, xhr)
  293. }
  294. })
  295. },
  296.  
  297. getTotalAmountByRepresentatives(year){
  298. $.ajax({
  299. url: this.$apiurl + "api/order/representative/get/group/" + year,
  300. method: 'GET',
  301. success: function(response){
  302. this.createOrdersBarChartLabels(response, "ACCOUNTMANAGER")
  303. }.bind(this),
  304. error: function(error, xhr){
  305. console.log(error, xhr);
  306. }
  307. })
  308. },
  309.  
  310. getTotalAmountByType(year){
  311. $.ajax({
  312. url: this.$apiurl + "api/order/type/get/group/" + year,
  313. method: 'GET',
  314. success: function(response){
  315. this.createOrdersBarChartLabels(response, "TYPE")
  316. }.bind(this),
  317. error: function(error, xhr){
  318. console.log(error, xhr);
  319. }
  320. })
  321. },
  322.  
  323. getTotalAmountByMonth(year){
  324. $.ajax({
  325. url: this.$apiurl + "api/order/amount/get/group/" + year,
  326. method: 'GET',
  327. success: function(response){
  328. this.createOrdersBarChartLabels(response, "MONTH")
  329. }.bind(this),
  330. error: function(error, xhr){
  331. console.log(error, xhr);
  332. }
  333. })
  334. },
  335.  
  336. getPareto(year){
  337. $.ajax({
  338. url: this.$apiurl + "api/order/pareto/" + year,
  339. method: 'GET',
  340. success: function(response){
  341. this.createOrdersBarChartLabels(response, "PARETO")
  342. },
  343. error: function(error, xhr){
  344. console.log(error, xhr);
  345. }
  346. })
  347. },
  348.  
  349. getAllRejectedOrders(year){
  350. $.ajax({
  351. url: this.$apiurl + "api/prospect/dashboard/get/" + year,
  352. method: 'GET',
  353. success: function(response){
  354. }.bind(this),
  355. error: function(error, xhr){
  356. console.log(error, xhr)
  357. }
  358. })
  359. },
  360.  
  361. getRejectedProspectsWithReason(year){
  362. $.ajax({
  363. url: this.$apiurl + "api/prospect/reason/get/" + year,
  364. method: 'GET',
  365. success: function(response){
  366. this.createRejectedProspectChartLabels(response, "REASON")
  367. }.bind(this),
  368. error: function(error, xhr){
  369. console.log(error, xhr)
  370. }
  371. })
  372. },
  373.  
  374. getRejectedProspectsWithQM(year){
  375. $.ajax({
  376. url: this.$apiurl + "api/prospect/initials/get/" + year,
  377. method: "GET",
  378. success: function(response){
  379. this.createRejectedProspectChartLabels(response, "QM")
  380. }.bind(this),
  381. error: function(error, xhr){
  382. console.log(error, xhr)
  383. }
  384. })
  385. },
  386.  
  387. getRejectedProspectsWithType(year){
  388. $.ajax({
  389. url: this.$apiurl + "api/prospect/type/get/" + year,
  390. method:'GET',
  391. success: function(response){
  392. this.createRejectedProspectChartLabels(response, "TYPE")
  393. }.bind(this),
  394. error: function(error, xhr){
  395. console.log(error, xhr)
  396. }
  397. })
  398. },
  399.  
  400. getRejectedProspectsWithCustomer(year){
  401. $.ajax({
  402. url: this.$apiurl + "api/prospect/customer/get/" + year,
  403. method:'GET',
  404. success: function(response){
  405. this.createRejectedProspectChartLabels(response, "CUSTOMER")
  406. }.bind(this),
  407. error: function(error, xhr){
  408. console.log(error, xhr)
  409. }
  410. })
  411. },
  412.  
  413. createOrdersBarChartLabels(response, filter){
  414. var $self = this;
  415. this.orderBarChartData.length = 0;
  416. this.orderBarChartLabels.length = 0;
  417.  
  418. if(filter == "ACCOUNTMANAGER"){
  419. for(var data in response) {
  420. $self.orderBarChartLabels.push(response[data].representative);
  421. $self.orderBarChartData.push(response[data].amount);
  422. }
  423. } else if (filter == "TYPE"){
  424. for(var data in response) {
  425. $self.orderBarChartLabels.push(response[data].type);
  426. $self.orderBarChartData.push(response[data].amount);
  427. }
  428. } else if (filter == "MONTH"){
  429. for(var data in response) {
  430. $self.orderBarChartLabels.push($self.months[(response[data].month) - 1]);
  431. $self.orderBarChartData.push(response[data].amount);
  432. }
  433. } else {
  434. swal("No Graph");
  435. }
  436. this.createOrderChart();
  437. },
  438.  
  439. createCityPieChartLabels(response, filter){
  440. var $self = this;
  441. this.cityPieChartData.length = 0;
  442. this.cityPieChartLabels.length = 0;
  443. if(filter == "ORDERS"){
  444. for(var data in response) {
  445. $self.cityPieChartLabels.push(response[data].city);
  446. $self.cityPieChartData.push({
  447. value: response[data].numberOfOrders,
  448. name: response[data].city
  449. });
  450. }
  451. } else if (filter == "PROSPECTS"){
  452. for(var data in response) {
  453. $self.cityPieChartLabels.push(response[data].city);
  454. $self.cityPieChartData.push({
  455. value: response[data].numberOfProspects,
  456. name: response[data].city
  457. })
  458. }
  459. }
  460.  
  461. this.createCityPieChart();
  462. },
  463.  
  464. createRejectedProspectChartLabels(response, filter){
  465. var $self = this;
  466. this.rejectedProspectBarChartData.length = 0;
  467. this.rejectedProspectBarChartLabels.length = 0;
  468.  
  469. if(filter == "REASON"){
  470. for(var data in response) {
  471. $self.rejectedProspectBarChartLabels.push(response[data].reasonText);
  472. $self.rejectedProspectBarChartData.push(response[data].amount);
  473. }
  474. } else if (filter == "QM"){
  475. for(var data in response) {
  476. $self.rejectedProspectBarChartLabels.push(response[data].initials);
  477. $self.rejectedProspectBarChartData.push(response[data].amount);
  478. }
  479. } else if (filter == "TYPE"){
  480. for(var data in response) {
  481. $self.rejectedProspectBarChartLabels.push(response[data].type);
  482. $self.rejectedProspectBarChartData.push(response[data].amount);
  483. }
  484. } else if (filter == "CUSTOMER"){
  485. for(var data in response) {
  486. $self.rejectedProspectBarChartLabels.push(response[data].orgCode);
  487. $self.rejectedProspectBarChartData.push(response[data].amount);
  488. }
  489. } else {
  490. swal("No Graph")
  491. }
  492.  
  493. this.createRejectedProspectChart();
  494.  
  495. },
  496.  
  497. generateOrderBarChart(){
  498. switch(this.orderBarChartFilter){
  499. case "ACCOUNTMANAGER":
  500. this.getTotalAmountByRepresentatives(this.orderBarChartYear)
  501. break;
  502. case "TYPE":
  503. this.getTotalAmountByType(this.orderBarChartYear)
  504. break;
  505. case "MONTH":
  506. this.getTotalAmountByMonth(this.orderBarChartYear)
  507. break;
  508. case "TIMEPERTA":
  509. //CODE HERE
  510. break;
  511. }
  512. },
  513.  
  514. generateRejectedProspectBarChart(){
  515. switch(this.rejectedProspectBarChartFilter){
  516. case "REASON":
  517. this.getRejectedProspectsWithReason(this.rejectedProspectBarChartYear)
  518. break;
  519. case "QUOTATIONMAKER":
  520. this.getRejectedProspectsWithQM(this.rejectedProspectBarChartYear)
  521. break;
  522. case "TYPE":
  523. this.getRejectedProspectsWithType(this.rejectedProspectBarChartYear)
  524. break;
  525. case "CUSTOMER":
  526. this.getRejectedProspectsWithCustomer(this.rejectedProspectBarChartYear)
  527. break;
  528. }
  529. },
  530.  
  531. generateCityPieChart(){
  532. switch(this.cityPieChartFilter){
  533. case "PROSPECTS":
  534. this.getProspectsPerCity(this.cityPieChartYear, this.findMonth(this.cityPieChartMonth)+1)
  535. break;
  536. case "ORDERS":
  537. this.getOrdersPerCity(this.cityPieChartYear, this.findMonth(this.cityPieChartMonth)+1)
  538. break;
  539. }
  540. },
  541.  
  542. generateProspectPieChart(){
  543. this.getProspectsPerTime(this.prospectPieChartYear, this.findMonth(this.prospectPieChartMonth)+1)
  544. },
  545.  
  546. setRejectedProspectBarChartFilter(obj){
  547. this.rejectedProspectBarChartFilter = obj
  548. this.generateRejectedProspectBarChart()
  549. },
  550.  
  551. setCityPieChartFilter(obj){
  552. this.setCityPieChartFilter = obj
  553. this.generateCityPieChart()
  554. },
  555.  
  556. setOrderBarChartFilter(obj){
  557. this.orderBarChartFilter = obj;
  558. this.generateOrderBarChart()
  559. },
  560.  
  561. createOrderChart(){
  562. this.orderChart = echarts.init(document.getElementById("ordergraph"));
  563. this.orderChart.setOption({
  564. tooltip: {},
  565. legend: {
  566. data: ['Sales']
  567. },
  568. xAxis: {
  569. axisLabel:{
  570. interval:0
  571. },
  572. data: this.orderBarChartLabels
  573. },
  574. yAxis: {},
  575. series: [{
  576. name: 'sales',
  577. type: 'bar',
  578. data: this.orderBarChartData
  579. }]
  580. });
  581. },
  582.  
  583. createRejectedProspectChart(){
  584. this.rejectedProspectChart = echarts.init(document.getElementById("rejectedprospectgraph"));
  585. this.rejectedProspectChart.setOption({
  586. tooltip: {},
  587. legend: {
  588. data: ['Sales']
  589. },
  590. xAxis: {
  591. data: this.rejectedProspectBarChartLabels
  592. },
  593. yAxis: {},
  594. series: [{
  595. name: 'sales',
  596. type: 'bar',
  597. data: this.rejectedProspectBarChartData
  598. }]
  599. });
  600. },
  601.  
  602. createRejectedProspectPieChart(){
  603. this.prospectPieChart = echarts.init(document.getElementById('prospectspiechart'));
  604. this.prospectPieChart.setOption({
  605. legend: {
  606. orient: 'vertical',
  607. x: 'left',
  608. data:['Approved', 'Rejected']
  609. },
  610. series : [
  611. {
  612. name:'Prospects',
  613. type: 'pie',
  614. radius:['35%', '55%'],
  615. data: this.getRejectedPieChartLabels,
  616. label: {
  617. normal: {
  618. show: true,
  619. position: 'top',
  620. formatter: "{c} ({d}%)"
  621. },
  622. emphasis: {
  623. show: true,
  624. textStyle: {
  625. fontSize: '15',
  626. }
  627. }
  628. }
  629. }
  630. ]
  631. })
  632. },
  633.  
  634. createCityPieChart(){
  635. this.cityPieChart = echarts.init(document.getElementById('citypiechart'));
  636. this.cityPieChart.setOption({
  637. legend: {
  638. orient: 'vertical',
  639. x: 'left',
  640. data:['Approved', 'Rejected']
  641. },
  642. series : [
  643. {
  644. name:'Prospects',
  645. type: 'pie',
  646. radius:['35%', '55%'],
  647. data: this.getRejectedPieChartLabels,
  648. label: {
  649. normal: {
  650. show: true,
  651. position: 'top',
  652. formatter: "{c} ({d}%)"
  653. },
  654. emphasis: {
  655. show: true,
  656. textStyle: {
  657. fontSize: '15',
  658. }
  659. }
  660. }
  661. }
  662. ]
  663. })
  664. },
  665.  
  666. resizeGraph(){
  667. var $self = this;
  668. setTimeout(function(){
  669. $self.rejectedProspectChart.resize();
  670. $self.orderChart.resize();
  671. $self.prospectPieChart.resize();
  672. $self.cityPieChart.resize();
  673. }, 200)
  674. },
  675.  
  676. },
  677. mounted(){
  678.  
  679. },
  680. created(){
  681. this.orderBarChartFilter = "ACCOUNTMANAGER"
  682. this.orderBarChartYear = "2017"
  683. this.generateOrderBarChart();
  684.  
  685. this.rejectedProspectBarChartFilter = "REASON"
  686. this.rejectedProspectBarChartYear = "2017"
  687. this.generateRejectedProspectBarChart();
  688.  
  689. this.prospectPieChartYear = "2017"
  690. this.prospectPieChartMonth = "Nov"
  691. this.generateProspectPieChart();
  692.  
  693. this.cityPieChartFilter = "PROSPECTS"
  694. this.cityPieChartYear = "2017"
  695. this.cityPieChartMonth = "Okt"
  696. this.generateCityPieChart();
  697.  
  698. }
  699.  
  700. }
  701. </script>
  702.  
  703. <style>
  704. #prospectspiechart{
  705. min-height: 250px;
  706. width:100%;
  707. }
  708.  
  709. #citypiechart{
  710. min-height: 250px;
  711. width:100%;
  712. }
  713.  
  714. #ordergraph{
  715. min-height: 275px;
  716. width:100%;
  717. }
  718.  
  719. #rejectedprospectgraph{
  720. min-height: 275px;
  721. width:100%;
  722. }
  723.  
  724. option:focus{
  725. background-color:#FFF;
  726. outline:none;
  727. border:none;
  728. box-shadow:none;
  729. }
  730.  
  731. .dashboard-tab{
  732. color:#0085ad;
  733. font-size:1em;
  734. font-family: XylemFont;
  735. padding:5px !important;
  736. margin:0 !important;
  737. }
  738.  
  739. .dashboard-tab:hover{
  740. cursor:pointer;
  741. }
  742.  
  743.  
  744. .dashboard-box{
  745. background-color:white;
  746. margin-top:10px;
  747. height:150px;
  748. box-shadow: 0 1px 1px 1px rgba(0,0,0,0.1);
  749. height: 150px;
  750. }
  751.  
  752. .dashboard-newsfeed{
  753.  
  754. }
  755.  
  756. .newsfeed-content{
  757. color:#0085ad;
  758. font-size:1.3em;
  759. font-family: XylemFont;
  760. padding-top:5px;
  761. margin-left:10px;
  762. }
  763.  
  764. .dashboard-items-header{
  765. color:white;
  766. background-color:#0085ad;
  767. font-family: XylemFont;
  768. text-align:center;
  769. font-size:1.5em;
  770. padding-top:5px;
  771. padding-bottom: 5px;
  772. }
  773.  
  774. .dashboard-button-content{
  775. color:#0085ad;
  776. font-size:2.0em;
  777. font-family: XylemFont;
  778. text-align:center;
  779. margin-top:25px;
  780. padding-top:5px;
  781. padding-bottom: 5px;
  782. }
  783.  
  784. .dashboard-diagram-box{
  785. background-color:white;
  786. margin-top:25px;
  787. height:150px;
  788. box-shadow: 0 1px 1px 1px rgba(0,0,0,0.1);
  789. height: 350px;
  790. }
  791.  
  792. .dashboard-year-select {
  793. float:right;
  794. font-family: XylemFont;
  795. padding:5px;
  796. border-style:none;
  797. }
  798.  
  799. .asdasdasd{
  800. display:inline-block;
  801. }
  802.  
  803. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement