<div ng:controller="VoteDetailsController" class="row-fluid" id="body-main" qn:fillheight>

    <div class="floatwrapper">
        <div class="centercolumn">
            <div class="container-dont-miss-new-this-week">
                <div class="container-dont-miss" style="min-height:500px;">
                    <h3 ng-bind-template=" {{question.Title}} "></h3>
                    <div class="table table-hover">
                        <table>
                            <thead>
                                <tr>
                                    <th class="icon"></th>
                                    <th>{{$resource('polls.title')}}</th>
                                    <th>{{$resource('polls.brojglasova')}}</th>
                                    <th>{{$resource('polls.postotak')}}</th>
                                    <th></th>
                                </tr>
                            </thead>
                            <tr ng:repeat="answer in answers">
                                <td class="icon">
                                    <div title="{{question.Status.DisplayName}}" class="circle status-{{question.Status.LowerName}}"><i class="icon-file-alt"></i></div>
                                </td>
                                <td class="title">
                                    <div class="inner">
                                        <h2>{{answer.Title}}</h2>
                                    </div>
                                </td>
                                <td>{{answer.VoteCount}}</td>
                                <td>{{answer.VotePercentage}}</td>
                            </tr>
                        </table>

                    </div>
                    <div>
                            <form class="form-horizontal" role="form">
                                <div class="form-group">
                                    <label for="chartType">{{$resource('polls.tipgrafikona')}}</label>
                                    <select class="form-control" id="chartType" ng-model="chart.type" ng-change="chartSelectionChange()">
                                        <option value="AreaChart">AreaChart</option>
                                        <option value="PieChart">PieChart</option>
                                        <option value="ColumnChart">ColumnChart</option>
                                        <option value="LineChart">LineChart</option>
                                        <option value="Table">Table</option>
                                        <option value="BarChart">BarChart</option>
                                    </select>
                                </div>
                            </form>

                        <div style="width:600pxl !important">
                            <div google-chart chart="chart" style="{{cssStyle}}" on-ready="chartReady()"></div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="rightcolumn">
            <div class="rightcolcontainer">
                <div class="container-new-this-week-explore">
                    <div class="container-new-this-week">
                        <div class="container-content">
                            <div class="container-top-tasks-nacelnik">
                                <ul class="top-tasks-nacelnik" style="cursor: pointer !important">
                                    <li>
                                        <a class="inner" ng:click="selectRadnik('40c6ba8d-f745-49a8-95f7-a3e000851e83')" style="height: 20px !important;">
                                            <strong style="font-size: 12pt; font-weight: normal; padding: 0; margin: 0; line-height: 1.3em;" data-ng-bind="$resource('utility.nacelnik')"></strong>
                                        </a>
                                    </li>
                                    <li>
                                        <a ng:click="selectRadnik('eb039e58-3374-483a-b6b2-a3a200f44e02')" style="height: 20px !important;">
                                            <strong style="font-size: 12pt; font-weight: normal; padding: 0; margin: 0; line-height: 1.3em;" data-ng-bind="$resource('utility.zamjenik')"></strong>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div class="container-explore-the-city" style="padding-top: 7px;">
                        <h3><a href="" ng:click="message()"><span data-ng-bind="$resource('utility.pitajtenacelnika')"></span></a></h3>
                    </div>
                    <div class="container-explore-the-city">
                        <h3><a href="#!/fat/"><span data-ng-bind="$resource('utility.aktuelnosti')"></span></a></h3>
                    </div>
                    <div class="container-new-this-week">
                        <div class="container-content">
                            <div class="container-top-tasks">
                                <ul class="top-tasks" style="cursor: pointer !important">
                                    <li>
                                        <a href="http://laktasi.biz/"><span data-ng-bind="$resource('utility.invest')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('strategija')"><span data-ng-bind="$resource('utility.strategija')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibraryZasjedanja('zasjedanja')"><span data-ng-bind="$resource('utility.zasjedanja')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('konkursi')"><span data-ng-bind="$resource('utility.tenderi')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibraryJ('jnabavke')"><span data-ng-bind="$resource('utility.jnabavke')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('zahtjevi')"><span data-ng-bind="$resource('utility.zahtjevi')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('budzet')"><span data-ng-bind="$resource('utility.budzet')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('instrukcije')"><span data-ng-bind="$resource('utility.instrukcije')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibraryG('sluzbeniglasnik')"><span data-ng-bind="$resource('utility.glasnici')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('uvid')"><span data-ng-bind="$resource('utility.uvid')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary()"><span data-ng-bind="$resource('utility.dokumenti')"></span></a>
                                    </li>
                                    <li>
                                        <a ng:click="selectLibrary('pi')">{{$resource('utility.pristupinformacijama')}}</a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div style="padding-top: 10px; top: auto;" class="footer">
            <div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/srpska.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 243px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3><span data-ng-bind="$resource('utility.vlada')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.vladars.net">
                                            <h3>www.vladars.net</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/srpska.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 243px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3><span data-ng-bind="$resource('utility.nskupstina')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.narodnaskupstinars.net">
                                            <h3>www.narodnaskupstinars.net</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/srpska.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 243px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3><span data-ng-bind="$resource('utility.predsjednik')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.predsjednikrs.net">
                                            <h3>www.predsjednikrs.net/</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>
            <div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/invest.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 243px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3><span data-ng-bind="$resource('utility.bportal')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.laktasi.biz/">
                                            <h3>www.laktasi.biz</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/tool.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 232px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3 style="font-size: 9.2pt;"><span data-ng-bind="$resource('utility.torganizacija')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.laktasiturizam.org">
                                            <h3>www.laktasiturizam.org</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
                <div class="sekcija">
                    <ul class="new-this-week">
                        <li>
                            <dl style="float: left; width: 50px;">
                                <dd>
                                    <img src="/Areas/cms/Style/images/cdm.png" style="height: 50px; width: 50px;" />
                                </dd>
                            </dl>
                            <dl style="float: right; width: 232px; min-height: 65px;">
                                <dd>
                                    <strong>
                                        <h3 style="font-size: 9.2pt;"><span data-ng-bind="$resource('utility.cdmpl')"></span></h3>
                                    </strong>
                                </dd>
                                <dd>
                                    <strong>
                                        <a href="http://www.cdmpl.ba/">
                                            <h3>www.cdmpl.ba</h3>
                                        </a>
                                    </strong>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
