summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorspider <spider@bitweaver.org>2014-11-24 14:57:59 -0500
committerspider <spider@bitweaver.org>2014-11-24 14:57:59 -0500
commit396517229d09d707678a39d8f7ea4707319b5dd1 (patch)
treeb6b88eec0b7b6b8d4eb26f841aa3babc05990c40 /templates
parentf8b9ef4a8380ed3c8ade9ff4306dfb5deec86ded (diff)
downloadfisheye-396517229d09d707678a39d8f7ea4707319b5dd1.tar.gz
fisheye-396517229d09d707678a39d8f7ea4707319b5dd1.tar.bz2
fisheye-396517229d09d707678a39d8f7ea4707319b5dd1.zip
tidy up
Diffstat (limited to 'templates')
-rw-r--r--templates/resize_image_select.tpl2
-rw-r--r--templates/upload_fisheye.tpl54
2 files changed, 29 insertions, 27 deletions
diff --git a/templates/resize_image_select.tpl b/templates/resize_image_select.tpl
index 9813569..b9574ec 100644
--- a/templates/resize_image_select.tpl
+++ b/templates/resize_image_select.tpl
@@ -1,6 +1,6 @@
{formlabel label="Reduce Original Size" for="resize"}
{forminput}
- <select name="resize" id="resize">
+ <select name="resize" id="resize" class="form-control">
<option value="">{tr}Don't Resize{/tr}</option>
<option value="640">1/3 MegaPixel ( 640 x 480 )</option>
<option value="1024">3/4 MegaPixel ( 1024 x 768 )</option>
diff --git a/templates/upload_fisheye.tpl b/templates/upload_fisheye.tpl
index 8471b8e..03b391c 100644
--- a/templates/upload_fisheye.tpl
+++ b/templates/upload_fisheye.tpl
@@ -65,28 +65,9 @@
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_upload_tab_tpl"}
{/jstabs}
-
- <div class="width48p floatright box">
- <div class="form-group">
- {if !$gBitUser->hasPermission( 'p_fisheye_create' )}
- {formfeedback warning="Please make sure you select a gallery to load your images into, otherwise your images will be discarded"}
- {/if}
- {formlabel label="Add File(s) to these Galleries"}
- {forminput}
- {if $galleryTree}
- <div class="gallerytree">
- {$galleryTree}
- </div>
- {else}
- <p class="norecords">
- {tr}No Galleries Found{/tr}.<br />
- {tr}The following gallery will automatically be created for you{/tr}: <strong>{displayname hash=$gBitUser->mInfo nolink=1}'s Gallery</strong>
- </p>
- {/if}
- {/forminput}
- </div>
</div>
- <div class="width50p floatleft">
+
+ <div class="col-sm-6">
{if $gBitUser->hasPermission( 'p_fisheye_upload_nonimages' )}
<div class="form-group">
{forminput label="checkbox"}
@@ -117,16 +98,37 @@
<div class="form-group">
{include file="bitpackage:fisheye/resize_image_select.tpl"}
</div>
- </div>
-
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_edit_mini_tpl"}
{include file="bitpackage:liberty/edit_services_inc.tpl" serviceFile="content_upload_mini_tpl"}
- <div class="form-group submit">
- <noscript><p class="highlight">{tr}Please don't press the save button more than once!<br />Depending on what you are uploading and the system, this can take a few minutes.{/tr}</p></noscript>
- <input type="submit" class="btn btn-default" id="submitbutton" value="{tr}Upload File(s){/tr}" {if $submitClick}onclick="{$submitClick}"{/if}/>
</div>
+ <div class="col-sm-6">
+ <div class="well">
+ <div class="form-group">
+ {if !$gBitUser->hasPermission( 'p_fisheye_create' )}
+ {formfeedback warning="Please make sure you select a gallery to load your images into, otherwise your images will be discarded"}
+ {/if}
+ {formlabel label="Add File(s) to these Galleries"}
+ {forminput}
+ {if $galleryTree}
+ <div class="gallerytree">
+ {$galleryTree}
+ </div>
+ {else}
+ <p class="norecords">
+ {tr}No Galleries Found{/tr}.<br />
+ {tr}The following gallery will automatically be created for you{/tr}: <strong>{displayname hash=$gBitUser->mInfo nolink=1}'s Gallery</strong>
+ </p>
+ {/if}
+ {/forminput}
+ </div>
+ </div>
+ </div>
+
+ <div class="form-group submit clear">
+ <noscript><p class="highlight">{tr}Please don't press the save button more than once!<br />Depending on what you are uploading and the system, this can take a few minutes.{/tr}</p></noscript>
+ <input type="submit" class="btn btn-primary" id="submitbutton" value="{tr}Upload File(s){/tr}" {if $submitClick}onclick="{$submitClick}"{/if}/>
</div>
{/form}
</div> <!-- end .body -->