<div dir="ltr"><div><div>Good job. <br><br></div>Just made a proof of concept with bootstrap, less and datables. Take a look plz.<br><br><a href="https://github.com/felipecrp/rtux">https://github.com/felipecrp/rtux</a><br>
<br></div>Best regards,<br>Felipe<br></div><div class="gmail_extra"><br clear="all"><div>Felipe Curty do Rego Pinto<br><a href="mailto:felipecrp@gmail.com">felipecrp@gmail.com</a><br>(21) 9418-0852</div>
<br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 3:42 AM, BÁLINT Bekény <span dir="ltr"><<a href="mailto:balint.bekeny@docca.hu" target="_blank">balint.bekeny@docca.hu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Alex,<div><br></div><div><div>We will manage the code on github soon.</div></div><div><br></div><div>Now, it's really just an AngularJS "hello world":</div><div><br></div><div><div><div><!doctype html></div>

<div><html ng-app></div><div>    <head></div><div><span style="white-space:pre-wrap"> </span><title>AngularJS test: get ticket via RESTv2</title></div><div><span style="white-space:pre-wrap"> </span><script src="<a href="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js" target="_blank">https://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js</a>"></script></div>

<div><span style="white-space:pre-wrap">  </span><script></div><div><span style="white-space:pre-wrap">   </span>    function GetTicket($scope, $http) {</div><div><span style="white-space:pre-wrap">  </span>      $scope.addTicket = function() {</div>

<div><span style="white-space:pre-wrap">          </span>var tid = $scope.TicketId;</div><div><span style="white-space:pre-wrap">               </span>$http.get("<a href="https://lajos:asdfasdf@dox4.docca.hu/REST/2.0/ticket/" target="_blank">https://lajos:asdfasdf@dox4.docca.hu/REST/2.0/ticket/</a>" + tid).</div>

<div>    <span style="white-space:pre-wrap">              </span>success(function(data) {</div><div>        <span style="white-space:pre-wrap"> </span>    $scope.ticketdata = data;</div><div>    <span style="white-space:pre-wrap">                </span>});</div>

<div><span style="white-space:pre-wrap">  </span>      };</div><div><span style="white-space:pre-wrap"> </span>    }</div><div><span style="white-space:pre-wrap">    </span></script></div><div>    </head></div>
<div><br></div><div>    <body></div><div><span style="white-space:pre-wrap">  </span><div ng-controller="GetTicket"></div><div><span style="white-space:pre-wrap">  </span>    <form ng-submit="addTicket()"></div>

<div><span style="white-space:pre-wrap">  </span>    <input ng-model="TicketId"></div><div><span style="white-space:pre-wrap">  </span>    <p>test id : {{TicketId}}</p></div><div><span style="white-space:pre-wrap">    </span>    <p>ID : {{<a href="http://ticketdata.id" target="_blank">ticketdata.id</a>}}</p></div>

<div><span style="white-space:pre-wrap">  </span>    <p>LastUpdated : {{ticketdata.LastUpdated}}</p></div><div><span style="white-space:pre-wrap">  </span>    <p>Owner : {{<a href="http://ticketdata.Owner.id" target="_blank">ticketdata.Owner.id</a>}}</p></div>

<div><span style="white-space:pre-wrap">  </span></form></div><div><span style="white-space:pre-wrap">    </span></div></div><div>    </body></div><div></html></div></div></div><div><br></div><div class="gmail_extra">

<div>--<br>Bekeny</div><div><div class="h5"><br><div class="gmail_quote">On Thu, Apr 3, 2014 at 11:38 PM, Alex Vandiver <span dir="ltr"><<a href="mailto:alexmv@bestpractical.com" target="_blank">alexmv@bestpractical.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div>On Thu, 2014-04-03 at 23:33 +0200, <a href="mailto:akos.torok@docca.hu" target="_blank">akos.torok@docca.hu</a> wrote:<br>


<br>
> Since then we've got some "hello world" thing:<br>
> - an angular client asks the user for a ticket id (via ng-model input<br>
> field),<br>
> - the angularjs code asks RT for some ticket head data (via REST),<br>
> - gets JSON answer from RT,<br>
> - and shows to the user on the html.<br>
><br>
> small step, but we are happy :)<br>
<br>
</div>Is your source control public yet?<br>
<span><font color="#888888"> - Alex<br>
</font></span><div><div><br>
<br>
--<br>
RT Training - Dallas May 20-21<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br>
</div></div></blockquote></div><br></div></div></div></div>
<br>--<br>
RT Training - Dallas May 20-21<br>
<a href="http://bestpractical.com/training" target="_blank">http://bestpractical.com/training</a><br></blockquote></div><br></div>