aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/views/project.ejs
blob: a67441f204820a5501d101cbb9c3ed0c31fb41bc (plain) (tree)


























































































                                                                                                                                                                                         
                                                            



                                                                           
                                                                           


                                                                            
                                                                                      






                                                                   

                                                                    







                                                                   
                                                              
                                             







                                                                   
                                                              
                                              






                                                                   
                                           














                                                                                                                         
                                                           




                                                                                                                                                                                                 
                                      


                                                                                                             

                                      







                                                                       

                                      







                                                                       
                                      






                                                                       

                                      


                                                            
                                      

                                                                     


                                      











                                                                                                                                                                                                                                                             
                                  








                                                                       
                                  
 













                                                                            
                                                                






                                                                   
                                                              
                                                                        







                                                                   
                                                              
                                                   







                                                                   
                                                              
                                              






                                                                   
                                         



















                                                                                                                         
                                                                              






                                                                             
                                                                          






                                                                   
                                                              
                                                        







                                                                   
                                                              








                                                                   
                                                              
                                              







                                                                   
                                          

























                                                                                                                         
                                                                                                                                     






                                                                   
                                                              
                                                 







                                                                   
                                                              
                                                      







                                                                   
                                                              
                                              






                                                                   
                                          




                                                   
                                      













                                                                            
                                                                        


                                                                           
                                                                            


                                                                            
                                                                        






                                                                   
                                                              
                                                                        







                                                                   
                                                              
                                                 







                                                                   
                                                              
                                              






















                                                                                                                         




































                                                                                                 
<% include header %>

</head>
<body>
    <% include navbar %>

    <!-- Wrapper
    ================================================== -->
    <div class="container" id="wrapper">
    <div class="row-fluid">
        <div class="span6">
            <div class="row-fluid">
                <div class="span2 info text-right">
                    prosjekt
                </div>
                <div class="span10">
                    <h1><%= title %></h1>
                </div>
            </div>
            <div class="row-fluid">
                <div class="span2 info text-right">
                    opprettet
                </div>
                <div class="span10">
                    <p>2013-04-18</p>
                </div>
            </div>
            <div class="row-fluid">
                <div class="span2 info text-right">
                    deltakere
                </div>
                <div class="span10">
                    Truls Hyttebakken <span class="muted">(eier)</span><br />
                    Stian Rabaldertusten <span class="muted">(admin)</span><br />
                    Robert Joramo<br />
                    Dennis Eriksen<br />
                    Helene Apelort<br />
                    <small><a href="/ppl">Legg til flere deltakere</a></small>
                </div>
            </div>
            <div class="row-fluid">
                <div class="span10 offset2">
                    <a class="btn btn-large" href="/post">Før utgift</a>
                </div>
            </div>
        </div><!-- /div.span6 -->








        <div class="span6">
            <section class="status">
                <div class="row-fluid">
                    <div class="span6">
                        <h2>Status total</h2>
                    </div>
                    <div class="span6">
                        <div class="row-fluid">
                                <table class="table table-bordered table-condensed">
                                    <tr>
                                        <td class="success">3000</td>
                                        <td class="error">4000</td>
                                        <td>1000</td>
                                    </tr>
                                </table><a href="#table-info" class="accordion-toggle" data-toggle="collapse"><i class="icon-info-sign"></i></a>
                        </div>
                        <div class="row-fluid accordion collapse" id="table-info">
                            <p class="text-info"><small>Her vises hvor mye andre skylder deg totalt, hvor mye du skylder andre totalt, og differansen mellom disse to tallene</small></p>
                        </div>
                    </div>
                </div>
                <canvas id="myChart" width="450" height="200"></canvas>
            </section>
        </div>
    </div>








    <div class="row-fluid">
        <div class="span12">
            <section class="overview">
                <h2>Siste aktivitet</h2>
                <div class="lastactivity" id="lastactivity">
                   <div class="row-fluid act443 activity">
                        <div class="span5">
                            <div class="row-fluid">
                                <div class="span2 info text-right">av</div>
                                <div class="span10">Truls Hyttebakken</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">hva</div>
                                <div class="span10">Taxi fra flyplass til Club 4</div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    delt på
                                </div>
                                <div class="span8 text-small">
                                        Stian, Helene, Truls, Robert
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    kategori
                                </div>
                                <div class="span8 text-small">
                                    Transport
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    når
                                </div>
                                <div class="span9 text-small">
                                    2013-04-19
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    sum
                                </div>
                                <div class="span9">
                                    2901 kr
                                </div>
                            </div>
                        </div>
                        <div class="span1">
                            <div class="row-fluid">
                                <a href="http://i.imgur.com/0I6SHwu.jpg" target="_blank"><i class="icon-picture"></i></a>
                            </div>
                            <div class="row-fluid info">
                                <a href="/edit/LONGID">[edit]</a>
                            </div>
                        </div>
                    </div>



                    <div class="row-fluid act443 activity">
                        <div class="row-fluid">
                            <div class="span5">
                                <div class="row-fluid">
                                    <div class="span2 info text-right"><a href="#details-443" data-toggle="collapse" class="no-text-decoration" data-parent="#lastactivity">&#9660;</a> for</div>
                                    <div class="span10">Robert Joramo</div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span2 info text-right">hva</div>
                                    <div class="span10">Tre horer, fire kaviartuber og alt for mye krem</div>
                                </div>
                            </div>
                            <div class="span2">
                                <div class="row-fluid">
                                    <div class="span4 info text-right">
                                        delt på
                                    </div>
                                    <div class="span8 text-small">
                                        Helene, Robert
                                    </div>
                                </div>
                            </div>
                            <div class="span2 offset2">
                                <div class="row-fluid">
                                    <div class="span3 info text-right">
                                        når
                                    </div>
                                    <div class="span9 text-small">
                                        2013-04-16
                                    </div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span3 info text-right">
                                        sum
                                    </div>
                                    <div class="span9">
                                        583 kr
                                    </div>
                                </div>
                            </div>
                            <div class="span1">
                                <div class="row-fluid info">
                                    &nbsp;
                                </div>
                                <div class="row-fluid info">
                                    <a href="/edit/LONGID">[edit]</a>
                                </div>
                            </div>
                        </div>
                        <div class="fluid-row collapse details" id="details-443">
                            <div class="span7">
                                <div class="row-fluid">
                                    <div class="span2 info text-right">av</div>
                                    <div class="span10">Dennis Eriksen</div>
                                </div>
                                <div class="row-fluid">
                                    <div class="span2 info text-right">kommentar</div>
                                    <div class="span10">
                                        Helene og robert hadde seg en hyggetur på byen og fant ut at det ble nødvendig med horer. Da er det selvsagt obligatorisk med kaviar. Hva de skulle med kremen er fortsatt uvisst, men jeg måtte betale for den...
                                    </div>
                                </div>
                            </div>
                            <div class="span2">
                                <div class="row-fluid">
                                    <div class="span4 info text-right">
                                        kategori
                                    </div>
                                    <div class="span8 text-small">
                                        Div
                                    </div>
                                </div>
                            </div>
 
                        </div>
                    </div>




                   <div class="row-fluid act443 activity">
                        <div class="span5">
                            <div class="row-fluid">
                                <div class="span2 info text-right">av</div>
                                <div class="span10">Dennis Eriksen</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">hva</div>
                                <div class="span10">Plumbo</div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    delt på
                                </div>
                                <div class="span8 text-small">
                                    Stian, Dennis, Truls, Helene, Robert
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    kategori
                                </div>
                                <div class="span8 text-small">
                                    Nødvendigheter
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    når
                                </div>
                                <div class="span9 text-small">
                                    2013-04-13
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    sum
                                </div>
                                <div class="span9">
                                    49 kr
                                </div>
                            </div>
                        </div>
                        <div class="span1">
                            <div class="row-fluid">
                                <a href="http://i.imgur.com/0I6SHwu.jpg" target="_blank"><i class="icon-picture"></i></a>
                            </div>
                            <div class="row-fluid info">
                                <a href="/edit/LONGID">[edit]</a>
                            </div>
                        </div>
                    </div>




                    <div class="row-fluid act443 activity">
                        <div class="span5">
                            <div class="row-fluid">
                                <div class="span2 info text-right">for</div>
                                <div class="span10">Stian Rabaldertusten</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">av</div>
                                <div class="span10 info">Dennis Eriksen</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">hva</div>
                                <div class="span10">Indisk take-away</div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    delt på
                                </div>
                                <div class="span8 text-small">
                                    Stian, Dennis, Truls
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    kategori
                                </div>
                                <div class="span8 text-small">
                                    Mat
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    når
                                </div>
                                <div class="span9 text-small">
                                    2013-04-13
                                </div>
                            </div>
                            <div class="row-fluid">&nbsp;</div>
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    sum
                                </div>
                                <div class="span9">
                                    601 kr
                                </div>
                            </div>
                        </div>
                        <div class="span1">
                            <div class="row-fluid">
                                <a href="http://i.imgur.com/0I6SHwu.jpg" target="_blank"><i class="icon-picture"></i></a>
                            </div>
                            <div class="row-fluid">&nbsp;</div>
                            <div class="row-fluid info">
                                <a href="/edit/LONGID">[edit]</a>
                            </div>
                        </div>
                    </div>





                    <div class="row-fluid act443 activity">
                        <div class="span5">
                            <div class="row-fluid">
                                <div class="span2 info text-right">av</div>
                                <div class="span10">Dennis Eriksen</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">hva</div>
                                <div class="span10">Hulsholdningsartikkler og ny mopp til Stian, slik at han får vasket gulvet</div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    delt på
                                </div>
                                <div class="span8 text-small">
                                    Stian, Dennis
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    kategori
                                </div>
                                <div class="span8 text-small">
                                    Mat, vask, møbler
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    når
                                </div>
                                <div class="span9 text-small">
                                    2013-04-03
                                </div>
                            </div>
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    sum
                                </div>
                                <div class="span9">
                                    231 kr
                                </div>
                            </div>
                        </div>
                        <div class="span1">
                            <div class="row-fluid">
                                &nbsp;
                            </div>
                            <div class="row-fluid info">
                                <a href="/edit/LONGID">[edit]</a>
                            </div>
                        </div>
                    </div>




                    <div class="row-fluid act443 activity">
                        <div class="span5">
                            <div class="row-fluid">
                                <div class="span2 info text-right">for</div>
                                <div class="span10">Helene Apelort</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">av</div>
                                <div class="span10 info">Robert Joramo</div>
                            </div>
                            <div class="row-fluid">
                                <div class="span2 info text-right">hva</div>
                                <div class="span10">Dopapir, klær</div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    delt på
                                </div>
                                <div class="span8 text-small">
                                    Stian, Dennis, Truls, Robert, Helene
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span4 info text-right">
                                    kategori
                                </div>
                                <div class="span8 text-small">
                                    Underholdning
                                </div>
                            </div>
                        </div>
                        <div class="span2">
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    når
                                </div>
                                <div class="span9 text-small">
                                    2013-03-21
                                </div>
                            </div>
                            <div class="row-fluid">&nbsp;</div>
                            <div class="row-fluid">
                                <div class="span3 info text-right">
                                    sum
                                </div>
                                <div class="span9">
                                    583 kr
                                </div>
                            </div>
                        </div>
                        <div class="span1">
                            <div class="row-fluid">
                                <a href="http://i.imgur.com/0I6SHwu.jpg" target="_blank"><i class="icon-picture"></i></a>
                            </div>
                            <div class="row-fluid">&nbsp;</div>
                            <div class="row-fluid info">
                                <a href="/edit/LONGID">[edit]</a>
                            </div>
                        </div>
                    </div>

                </div>
            </section>
        </div><!-- /div.span7 -->


    </div><!-- /div.row -->
    </div><!-- /div.#wrapper -->


<% include footer %>
    <script src="/js/Chart.min.js"></script>
    <script>
        var data = {
            labels : ["January","February","March","April","May","June","July"],
            datasets : [
                {
                    fillColor : "rgba(220,220,220,0.5)",
                    strokeColor : "rgba(220,220,220,1)",
                    pointColor : "rgba(220,220,220,1)",
                    pointStrokeColor : "#fff",
                    data : [65,59,90,81,56,55,40]
                },
                {
                    fillColor : "rgba(151,187,205,0.5)",
                    strokeColor : "rgba(151,187,205,1)",
                    pointColor : "rgba(151,187,205,1)",
                    pointStrokeColor : "#fff",
                    data : [0,25,10,100,10,25,0]
                }
            ]
        }
        //var myLine = new Chart(document.getElementById("myChart").getContext("2d")).Line(data);
        var ctx = $("#myChart").get(0).getContext("2d");
        var myNewChart = new Chart(ctx).Line(data);
    </script>
</body>
</html>