Sha256: 4e18ed2739cdb236ee97e009b7fa7bdcf64947737fc76aeecb48b3e81881749b

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 KB

Contents

!!! html
%html{ "ng-app" => ""}
  %head
    %link{ :rel => "stylesheet", :type => "text/css", :href => "/style.css"}
    %link{ :rel => "stylesheet", :type => "text/css", :href => "/bootstrap/css/bootstrap.min.css"} 
    %script{ :src => "http://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular.min.js" }
    %script{ :src => "http://ajax.googleapis.com/ajax/libs/angularjs/1.0.8/angular-resource.js" }
    %script{ :src => "/js/quartz.js" }
  %body
    %h1{ :id => "mainheader"} QuartzFlow

    %div{ :class => "container", "ng-controller" => "LoginCtrl"}
      %div{ :class => "alert alert-error", "ng-repeat" => "error in rootErrors()" }
        %button{ :type => "button", :class => "close", "ng-click" => "deleteError(error)"} ×
        {{error}}

      %div{ :class => "alert alert-error", "ng-repeat" => "error in errors" }
        %button{ :type => "button", :class => "close", "ng-click" => "deleteError(error)"} ×
        {{error}}

      %form{ :role => "form", "ng-submit" => "doLogin()" }
        %div{ :class => "form-group" }
          %label{ :for => "login" } Login
          %input{ :type => "text", :class => "form-control", :id => "login", :placeholder => "Enter login", "ng-model" => "login" }
        %div{ :class => "form-group" }
          %label{ :for => "password" } Password
          %input{ :type => "password", :class => "form-control", :id => "password", :placeholder => "Enter password", "ng-model" => "password" }
        %button{ :class => "btn", :type => "submit" } Login

    %script{ :src => "/js/jquery-1.10.2.min.js" }
    %script{ :src => "/bootstrap/js/bootstrap.min.js"}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quartz_flow-0.0.3 views/login.haml
quartz_flow-0.0.2 views/login.haml
quartz_flow-0.0.1 views/login.haml