Skip to content

Commit

Permalink
Fixed issue #08496: Undefined attributes in Central Participant Database
Browse files Browse the repository at this point in the history
Dev Minor layout and style changes
  • Loading branch information
tpartner committed Jan 19, 2014
1 parent 9278836 commit 79b4b64
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 10 deletions.
16 changes: 12 additions & 4 deletions application/views/admin/participants/attributeMapToken_view.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,14 @@

<?php if (!empty($attribute)) { ?>
<div class='explanation'>
<label for='overwriteman'><?php $clang->eT("Overwrite existing attribute values if a participant already exists?") ?></label><br /><input type='checkbox' id='overwriteman' name='overwriteman' />
<br />
<label for='createautomap'><?php $clang->eT("Make these mappings automatic in future") ?></label><br /><input type='checkbox' id='createautomap' name='createautomap' />
<div class="explanation-row">
<input type='checkbox' id='overwriteman' name='overwriteman' />
<label for='overwriteman'><?php $clang->eT("Overwrite existing attribute values if a participant already exists?") ?></label>
</div>
<div class="explanation-row">
<input type='checkbox' id='createautomap' name='createautomap' />
<label for='createautomap'><?php $clang->eT("Make these mappings automatic in future") ?></label>
</div>
</div>
<?php } else { ?>

Expand All @@ -70,7 +75,10 @@
?>
</div>
<div class='explanation'>
<label for='overwrite'><?php $clang->eT("Overwrite existing attribute values if a participant already exists?") ?></label><input type='checkbox' id='overwrite' name='overwrite' />
<div class="explanation-row">
<input type='checkbox' id='overwrite' name='overwrite' />
<label for='overwrite'><?php $clang->eT("Overwrite existing attribute values if a participant already exists?") ?></label>
</div>
</div>
<?php
}
Expand Down
25 changes: 23 additions & 2 deletions styles/blobblueish/attributeMapToken.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,29 @@ div.mappable-attribute-wrapper div.attribute-item {
color: white;
}

#centralattribute .explanation input {
margin: 2px 0 10px 0;
#centralattribute .explanation {
width:90%;
margin: 0 auto;
text-align: left;
}

#centralattribute .explanation-row {
display: table-row;
}

#centralattribute .explanation input,
#centralattribute .explanation label {
display: table-cell;
padding-top: 4px;
padding-bottom: 4px;
}

#centralattribute .explanation label {
padding-left: 8px;
}

.attribute-item.draggable {
cursor: move;
}

.droppable.target-hover {
Expand Down
25 changes: 23 additions & 2 deletions styles/darkblue/attributeMapToken.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,29 @@ div.mappable-attribute-wrapper div.attribute-item {
color: white;
}

#centralattribute .explanation input {
margin: 2px 0 10px 0;
#centralattribute .explanation {
width:90%;
margin: 0 auto;
text-align: left;
}

#centralattribute .explanation-row {
display: table-row;
}

#centralattribute .explanation input,
#centralattribute .explanation label {
display: table-cell;
padding-top: 4px;
padding-bottom: 4px;
}

#centralattribute .explanation label {
padding-left: 8px;
}

.attribute-item.draggable {
cursor: move;
}

.droppable.target-hover {
Expand Down
25 changes: 23 additions & 2 deletions styles/gringegreen/attributeMapToken.css
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,29 @@ div.mappable-attribute-wrapper div.attribute-item {
color: white;
}

#centralattribute .explanation input {
margin: 2px 0 10px 0;
#centralattribute .explanation {
width:90%;
margin: 0 auto;
text-align: left;
}

#centralattribute .explanation-row {
display: table-row;
}

#centralattribute .explanation input,
#centralattribute .explanation label {
display: table-cell;
padding-top: 4px;
padding-bottom: 4px;
}

#centralattribute .explanation label {
padding-left: 8px;
}

.attribute-item.draggable {
cursor: move;
}

.droppable.target-hover {
Expand Down

0 comments on commit 79b4b64

Please sign in to comment.