9 <?php echo CHtml::beginForm($this->url,
'post', $this->htmlOptions); ?>
10 <div
class=
"fileupload-buttonbar">
12 <!-- The fileinput-button span is used to style the file input field as button -->
13 <span
class=
"btn btn-success fileinput-button"> <i
class=
"icon-plus icon-white"></i> <span>Add files...</span>
15 if ($this->hasModel()) :
16 echo CHtml::activeFileField($this->model, $this->attribute, $htmlOptions) .
"\n";
else :
17 echo CHtml::fileField($name, $this->
value, $htmlOptions) .
"\n";
21 <button type=
"submit" class=
"btn btn-primary start">
22 <i
class=
"icon-upload icon-white"></i>
23 <span>Start upload</span>
25 <button type=
"reset" class=
"btn btn-warning cancel">
26 <i
class=
"icon-ban-circle icon-white"></i>
27 <span>Cancel upload</span>
29 <button type=
"button" class=
"btn btn-danger delete">
30 <i
class=
"icon-trash icon-white"></i>
33 <input type=
"checkbox" class=
"toggle">
35 <div
class=
"span5 fileupload-progress fade">
36 <!-- The global progress bar -->
37 <div
class=
"progress progress-success progress-striped active" role=
"progressbar">
38 <div
class=
"bar" style=
"width:0;"></div>
40 <!-- The extended global progress information -->
41 <div
class=
"progress-extended"> </div>
44 <!-- The loading indicator is shown during image processing -->
45 <div
class=
"fileupload-loading"></div>
47 <!-- The table listing the files available
for upload/download -->
48 <div
class=
"row-fluid">
49 <table
class=
"table table-striped">
50 <tbody
class=
"files" data-toggle=
"modal-gallery" data-target=
"#modal-gallery"></tbody>
53 <?php echo CHtml::endForm(); ?>