diff --git a/upload/styles/cb_2014/layout/blocks/upload/form.html b/upload/styles/cb_2014/layout/blocks/upload/form.html new file mode 100644 index 00000000..d70814e2 --- /dev/null +++ b/upload/styles/cb_2014/layout/blocks/upload/form.html @@ -0,0 +1,14 @@ +{assign var='video_fields' value=$Upload->load_video_fields($input)} + + + +{foreach from=$video_fields item=field} +
+    {foreach from=$field key=key item=oneField}
+    
+        {$key}
+        {var_dump($oneField)}
+    
+ {/foreach} +
+{/foreach} diff --git a/upload/styles/cb_2014/layout/global_header.html b/upload/styles/cb_2014/layout/global_header.html index ae6432f0..4bb0e07b 100755 --- a/upload/styles/cb_2014/layout/global_header.html +++ b/upload/styles/cb_2014/layout/global_header.html @@ -1,81 +1,78 @@ + + {if in_dev()} + {$cache_buster=microtime(true)} + {else} + {$cache_buster=$Cbucket->version} + {/if} + + + + + + + + + + + + {rss_feeds link_tag=true} + + + + - - - {if in_dev()} - {$cache_buster=microtime(true)} - {else} - {$cache_buster=$Cbucket->version} - {/if} - - - - - - - - - - - - {rss_feeds link_tag=true} - - - - + {cbtitle} - {cbtitle} + + + + + + {if !in_dev()} + + {/if} + + - - - - + {if in_dev()} + + + {/if} - {if !in_dev()} - - {/if} - - + + + + - {if in_dev()} - - - {/if} + - - - + loading = ' {lang code="loading"}...'; + /* var container = document.querySelector('.the_'); + var msnry = new Masonry( container, { + // options + + itemSelector: '.the-item', + stamp : '.ad-box' + + }); + */ + // less.watch({ + // poll : 300 + // }); + + }) + + - - - - {include_header file='global_header'} - - \ No newline at end of file + \ No newline at end of file diff --git a/upload/styles/cb_2014/layout/upload.html b/upload/styles/cb_2014/layout/upload.html index 03a4c965..eff4945a 100755 --- a/upload/styles/cb_2014/layout/upload.html +++ b/upload/styles/cb_2014/layout/upload.html @@ -1,4 +1,12 @@ -
+ +{$videoFields = $Upload->load_video_fields($input)} +{$requiredFields = $videoFields[0]} +{$sharingOptions = $videoFields[1]} +{$dateAndLocation = $videoFields[2]} + + + +
@@ -23,131 +31,90 @@
  • Remote Play
  • Embed Code
  • -
    +
    - +
    -
    Upload form here
    -
    - -
    - -
    -
    - -
    -
    - -
    -
    - -
    - +
    +
    + Select Files +
    +

    Selected Files

    +
    +
      +
    • no files selected
    • +
    +
    +
    +
    +
    + +
    + Upload +
    +
    +
    +
    +

    {$requiredFields.group_name}

    +
    +
    + {foreach $requiredFields.fields as $field} +
    + {$field.class='form-control'} + {$field.notShowSeprator='yes'} + {if $field.type == 'radiobutton'} + {$field.label_class='radio'} + {$field.class=''} + {$formObj->createField($field)} + {elseif $field.type == 'checkbox'} +

    {$field.title}

    + {$field.label_class='checkbox'} + {$field.class='checkbox'} + {$formObj->createField($field)} + {else} + + {$formObj->createField($field)} + {/if} +
    + {/foreach} +
    +
    +
    + +
    -
    - -
    - -
    -
    -
    remote upload
    remote play
    embed code
    -
    -
    - -
    - -
    - -
    -
    - -
    -
    - -
    -
    - - -
    -
    - - -
    \ No newline at end of file +
    +
    +
    + + + + + + + +