HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
form.php
Go to the documentation of this file.
1 <?php
8 ?>
9 <?php echo CHtml::beginForm($this->url, 'post', $this->htmlOptions); ?>
10 <div class="fileupload-buttonbar">
11  <div class="span7">
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>
14  <?php
15  if ($this->hasModel()) :
16  echo CHtml::activeFileField($this->model, $this->attribute, $htmlOptions) . "\n"; else :
17  echo CHtml::fileField($name, $this->value, $htmlOptions) . "\n";
19  ?>
20  </span>
21  <button type="submit" class="btn btn-primary start">
22  <i class="icon-upload icon-white"></i>
23  <span>Start upload</span>
24  </button>
25  <button type="reset" class="btn btn-warning cancel">
26  <i class="icon-ban-circle icon-white"></i>
27  <span>Cancel upload</span>
28  </button>
29  <button type="button" class="btn btn-danger delete">
30  <i class="icon-trash icon-white"></i>
31  <span>Delete</span>
32  </button>
33  <input type="checkbox" class="toggle">
34  </div>
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>
39  </div>
40  <!-- The extended global progress information -->
41  <div class="progress-extended">&nbsp;</div>
42  </div>
43 </div>
44 <!-- The loading indicator is shown during image processing -->
45 <div class="fileupload-loading"></div>
46 <br>
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>
51  </table>
52 </div>
53 <?php echo CHtml::endForm(); ?>
54