浏览代码

Proces add zasob fix modal and form style (see #52)

Piotr Labudda 11 年之前
父节点
当前提交
cfba0a59ce
共有 1 个文件被更改,包括 4 次插入7 次删除
  1. 4 7
      SE/superedit-PROCES_ADD_ZASOB.php

+ 4 - 7
SE/superedit-PROCES_ADD_ZASOB.php

@@ -279,7 +279,7 @@ function PROCES_ADD_ZASOB() {
 								$uprawnienia[$r->ID] = "{$r->FORM_TREAT}: {$r->OPIS}";// {$r->NAZWA} | {$r->PYTANIE} | 
 							}
 						?>
-						<select name="editPrzypadekID" style="width:366px;" size="6">
+						<select name="editPrzypadekID" class="form-control" style="width:366px;" size="6">
 							<?php foreach($uprawnienia as $kId => $vPermLabel) : ?>
 								<?php $sel = ($wskaznik->CW_ID_PRZYPADEK == $kId)? ' selected="selected"' : ''; ?>
 								<option value="<?php echo $kId; ?>"<?php echo $sel; ?>><?php echo $vPermLabel; ?></option>
@@ -290,7 +290,7 @@ function PROCES_ADD_ZASOB() {
 				<div class="form-group">
 					<label class="col-sm-3 control-label" for="editComment">Komentarz</label>
 					<div class="col-sm-9">
-						<textarea name="editComment" cols="80" rows="6" style="width:354px;"><?php echo $wskaznik->OPIS_ZASOB; ?></textarea>
+						<textarea name="editComment" cols="80" rows="6" class="form-control" style="width:354px;"><?php echo $wskaznik->OPIS_ZASOB; ?></textarea>
 					</div>
 				</div>
 				<div class="form-group">
@@ -601,12 +601,9 @@ function PROCES_ADD_ZASOB() {
 				<div class="modal-body">
 					<p>One fine body...</p>
 				</div>
-				<!--
-				<div class="modal-footer">
-					<button class="btn" data-dismiss="modal" aria-hidden="true">Anuluj</button>
-					<button class="btn btn-primary">Zapisz</button>
+				<div class="modal-footer" style="clear:both">
+					<button class="btn" data-dismiss="modal" aria-hidden="true">Anuluj / Zamknij</button>
 				</div>
-				-->
 			</div>
 		</div>
 	</div>