Sha256: 6e6e9a66f5c01a1c1af282197cafdc8268ad11a9ffb93c1b2ff179605af2c962

Contents?: true

Size: 2 KB

Versions: 4

Compression:

Stored size: 2 KB

Contents

%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/sample7.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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
groupdocs-1.9.0 examples/api-samples/views/sample07.haml
groupdocs-1.8.1 examples/api-samples/views/sample07.haml
groupdocs-1.8.0 examples/api-samples/views/sample07.haml
groupdocs-1.7.0 examples/api-samples/views/sample07.haml