examples/api-samples/views/sample07.haml in groupdocs-2.2.0 vs examples/api-samples/views/sample07.haml in groupdocs-2.3.0

- old
+ new

@@ -1,53 +1,53 @@ -%head - %title Sample 7 - How to create a list of thumbnails for a document - %link(rel="stylesheet" type="text/css" href="/css/style.css") - %script{:src=>'//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'} -%body - %h3{:style => 'text-align:center;'} - %a{:href => '/'} GroupDocs Ruby SDK Samples - %br/ - Sample 7 - How to create a list of thumbnails for a document - .samplecontent{:style => 'padding:10px;'} - %i This sample will show how to list thumbnails for documents in the GroupDocs account using Ruby SDK - %br/ - %br/ - %span.documentation - %a{:href => '/docs/sample07.html'} Builtin documentation for this sample - %br/ - %br/ - %p - You entered: - %p - UserId = #{(defined? clientId) ? clientId : ''} - %p - PrivateKey = #{(defined? privateKey) ? privateKey : ''} - %p - %font{:color => 'red'} #{(defined? err) ? err : ''} - #requestForm{:style => 'padding:20px; border:1px solid black;'} - %p Enter data for request and press "Make request" button - %form{:action => '/sample-7-how-to-create-a-list-of-thumbnails-for-a-document', :enctype => 'multipart/form-data', :method => 'post'} - %label{:for => 'clientId'} GroupDocs ClientID - %br/ - %input{:type=>'text', :name=>'clientId', :id=>'clientId'} - %br/ - %label{:for => 'privateKey'} GroupDocs PrivateKey - %br/ - %input{:type=>'text', :name=>'privateKey', :id=>'privateKey'} - %br/ - %label{:for => 'basePath'} Base Path - %span{:class => 'optional'} (Optional) - %br/ - %input{:type=>'text', :name=>'basePath', :id=>'basePath'} - %br/ - %input{:type => 'submit', :value => 'Make Request'}/ - %div{:style => 'padding:20px; border:1px solid black;'} - %p Results: - %table{:style => 'border:1px double black;'} - %tr - %th Field - %th Value - %tr - %td #{(defined? thumbnailList) ? thumbnailList : ''} #{(defined? file_List) ? file_List : ''} - %br/ - +%head + %title Sample 7 - How to create a list of thumbnails for a document + %link(rel="stylesheet" type="text/css" href="/css/style.css") + %script{:src=>'//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js'} +%body + %h3{:style => 'text-align:center;'} + %a{:href => '/'} GroupDocs Ruby SDK Samples + %br/ + Sample 7 - How to create a list of thumbnails for a document + .samplecontent{:style => 'padding:10px;'} + %i This sample will show how to list thumbnails for documents in the GroupDocs account using Ruby SDK + %br/ + %br/ + %span.documentation + %a{:href => '/docs/sample07.html'} Builtin documentation for this sample + %br/ + %br/ + %p + You entered: + %p + UserId = #{(defined? clientId) ? clientId : ''} + %p + PrivateKey = #{(defined? privateKey) ? privateKey : ''} + %p + %font{:color => 'red'} #{(defined? err) ? err : ''} + #requestForm{:style => 'padding:20px; border:1px solid black;'} + %p Enter data for request and press "Make request" button + %form{:action => '/sample-7-how-to-create-a-list-of-thumbnails-for-a-document', :enctype => 'multipart/form-data', :method => 'post'} + %label{:for => 'clientId'} GroupDocs ClientID + %br/ + %input{:type=>'text', :name=>'clientId', :id=>'clientId'} + %br/ + %label{:for => 'privateKey'} GroupDocs PrivateKey + %br/ + %input{:type=>'text', :name=>'privateKey', :id=>'privateKey'} + %br/ + %label{:for => 'basePath'} Base Path + %span{:class => 'optional'} (Optional) + %br/ + %input{:type=>'text', :name=>'basePath', :id=>'basePath'} + %br/ + %input{:type => 'submit', :value => 'Make Request'}/ + %div{:style => 'padding:20px; border:1px solid black;'} + %p Results: + %table{:style => 'border:1px double black;'} + %tr + %th Field + %th Value + %tr + %td #{(defined? thumbnailList) ? thumbnailList : ''} #{(defined? file_List) ? file_List : ''} + %br/ + = partial :_others_samples \ No newline at end of file