-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
48 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<% if $IncludeFormTag %> | ||
<form class="form-horizontal $extraClass" $getAttributesHTML('class') role="form"><% end_if %><% if $Message %> | ||
<div id="{$FormName}_error" class="alert $MessageType"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
$Message | ||
</div><% else %> | ||
<div id="{$FormName}_error" class="alert hide $MessageType"></div><% end_if %> | ||
|
||
<fieldset><% if $Legend %> | ||
<legend>$Legend</legend><% end_if %><% loop $Fields %> | ||
$FieldHolder<% end_loop %> | ||
</fieldset><% if $Actions %> | ||
<div class="form-group"> | ||
<div class="col-sm-offset-3 col-sm-9"><% loop $Actions %> | ||
$Field<% end_loop %> | ||
</div> | ||
</div><% end_if %><% if $IncludeFormTag %> | ||
<div id="{$FormName}_error" class="alert $MessageType"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
$Message | ||
</div><% else %> | ||
<div id="{$FormName}_error" class="alert hide $MessageType"></div><% end_if %> | ||
<fieldset><% if $Legend %> | ||
<legend>$Legend</legend><% end_if %><% loop $Fields %> | ||
$FieldHolder<% end_loop %> | ||
</fieldset><% if $Actions %> | ||
<div class="$Silverstrap.group"> | ||
<div class="$Silverstrap.no_label $Silverstrap.holder"><% loop $Actions %> | ||
$Field<% end_loop %> | ||
</div> | ||
</div><% end_if %><% if $IncludeFormTag %> | ||
</form><% end_if %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<select class="form-control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>><% loop $Options %> | ||
<select class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>><% loop $Options %> | ||
<option value="$Value.XML"<% if $Selected %> selected<% end_if %><% if $Disabled %> disabled<% end_if %>><% if $Title.exists %>$Title.XML<% else %> <% end_if %></option><% end_loop %> | ||
</select> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
<div class="form-group $HolderClasses<% if $Message %> has-error<% end_if %>"><% if $Title %> | ||
<label class="control-label col-sm-3"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %><% loop $FieldList %> | ||
<div class="$Silverstrap.group $HolderClasses<% if $Message %> has-error<% end_if %>"><% if $Title %> | ||
<label class="$Silverstrap.label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %><% loop $FieldList %> | ||
<%-- The following div should pertain to SmallFieldHolder but I cannot pass parameters | ||
to the underlying templates for applying the offset only to the first field --%> | ||
<div class="col-sm-2<% if not $Up.Title && $First %> col-sm-offset-3<% end_if %>"> | ||
<div class="$Silverstrap.small_holder<% if not $Up.Title && $First %> $Silverstrap.no_label<% end_if %>"> | ||
$SmallFieldHolder | ||
</div><% end_loop %><% if $Message %> | ||
<p class="help-block">$Message</p><% end_if %><% if $RightTitle %> | ||
<label class="control-label col-sm-3"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
<label class="$Silverstrap.right_label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<input class="form-control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>> | ||
<input class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %><% if $Description && not $isDisabled %> data-toggle="tooltip" title="$Description.ATT"<% end_if %>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<div class="form-group $HolderClasses<% if $Message %> has-error<% end_if %>"><% if $Title %> | ||
<label class="control-label col-sm-3"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<div class="<% if not $Title %>col-sm-offset-3 <% end_if %>col-sm-6 $extraClass"> | ||
<div class="$Silverstrap.group $HolderClasses<% if $Message %> has-error<% end_if %>"><% if $Title %> | ||
<label class="$Silverstrap.label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<div class="<% if not $Title %>$Silverstrap.no_label <% end_if %>$Silverstrap.holder $extraClass"> | ||
$Field<% if $Message %> | ||
<p class="help-block">$Message</p><% end_if %> | ||
</div><% if $RightTitle %> | ||
<label class="control-label col-sm-3"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
<label class="$Silverstrap.right_label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<% if $Title %><label class="control-label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<% if $Title %><label class="$Silverstrap.small_label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
$Field<% if $RightTitle %> | ||
<label class="control-label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
<label class="$Silverstrap.small_right_label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<div class="form-group"><% if $Title %> | ||
<label class="control-label col-sm-3"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<div class="<% if not $Title %>col-sm-offset-3 <% end_if %>col-sm-9"> | ||
<div class="$Silverstrap.group"><% if $Title %> | ||
<label class="$Silverstrap.label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<div class="<% if not $Title %>$Silverstrap.no_label <% end_if %>$Silverstrap.holder"> | ||
$Field | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<% if $Title %><label class="control-label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<% if $Title %><label class="$Silverstrap.small_label"<% if $ID %> for="$ID"<% end_if %>>$Title</label><% end_if %> | ||
<div> | ||
$Field | ||
</div><% if $RightTitle %> | ||
<label class="control-label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> | ||
<label class="$Silverstrap.small_right_label"<% if $ID %> for="$ID"<% end_if %>>$RightTitle</label><% end_if %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<textarea class="form-control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>>$Value</textarea> | ||
<textarea class="$Silverstrap.control $extraClass" $getAttributesHTML('class')<% if $isReadonly %> readonly<% else_if $isDisabled %> disabled<% end_if %>>$Value</textarea> |