hypervisor.tx 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. <!-- Generated by the tCMS Post Type Wizard. Regenerating this type will overwrite any hand edits. -->
  2. <div class="post <: $style :> <: $tiled ? 'tile' : '' :>">
  3. : if ( !$post.addpost ) {
  4. : include "post_title.tx";
  5. : include "post_tags.tx";
  6. <div class="postData responsive-text">
  7. <: if ($post.conn_uri) { :>
  8. Connection URI:<br />
  9. <a href="<: $post.conn_uri :>"><: $post.conn_uri :></a>
  10. <br />
  11. <: } :>
  12. <: render_it($post.data) | mark_raw :>
  13. </div>
  14. : }
  15. : if ( $can_edit ) {
  16. <div class="postedit">
  17. : include "edit_head.tx";
  18. <form class="Submissions" action="/post/save" method="POST" enctype="multipart/form-data">
  19. Title *<br /><input required class="cooltext" type="text" name="title" placeholder="HV Hostname" value="<: $post.title :>" />
  20. Libvirt Connection URI<br /><input required class="cooltext" type="url" name="conn_uri" placeholder="libvirt://localhost" value="<: $post.conn_uri :>" />
  21. : include "visibility.tx";
  22. : include "acls.tx";
  23. : include "tags.tx";
  24. : include "aliases.tx";
  25. : include "form_common.tx";
  26. </form>
  27. : include "edit_foot.tx";
  28. </div>
  29. : }
  30. </div>