Revision 5f8e4296

View differences:

src/sunstone/public/app/utils/custom-tags-table/row.hbs
28 28
      <tfoot>
29 29
        <tr>
30 30
          <td colspan="3">
31
            <a type="button" class="change_to_vector_attribute button small small-12 secondary radius">
31
            <a type="button" style="border-radius: 20px; background-color:#2E9CB9" class="change_to_vector_attribute button small small-12 secondary radius">
32 32
              <i class="fa fa-plus"></i>
33 33
            </a>
34 34
          </td>
......
36 36
      </tfoot>
37 37
    </table>
38 38
  </td>
39
  <td style="display: flex; justify-content: flex-start">
39
  <td style="width: 150%; display: flex; justify-content: flex-end">
40 40
    <a href="#"><i class="fa fa-times-circle remove-tab"></i></a>
41 41
  </td>
42 42
</tr>
src/sunstone/public/app/utils/custom-tags-table/vector-row.hbs
24 24
      <tfoot>
25 25
        <tr>
26 26
          <td colspan="3">
27
            <a type="button" class="add_vector_attribute button small small-12 secondary radius">
27
            <a type="button" style="border-radius: 20px; background-color:#2E9CB9" class="add_vector_attribute button small small-12 secondary radius">
28 28
              <i class="fa fa-plus"></i>
29 29
            </a>
30 30
          </td>
......
32 32
      </tfoot>
33 33
    </table>
34 34
  </td>
35
  <td style="display: flex; justify-content: flex-start">
35
  <td style="width: 150%; display: flex; justify-content: flex-end">
36 36
    <a href="#"><i class="fa fa-times-circle remove-tab"></i></a>
37 37
  </td>
38 38
</tr>
src/sunstone/public/app/utils/user-inputs.js
60 60
      $("select.user_input_type", context).change();
61 61
    });
62 62

  
63
    $('tbody').sortable();
63
    $('tbody', context).sortable();
64 64

  
65 65
    context.on("change", "select.user_input_type", function() {
66 66
      var row = $(this).closest("tr");
......
651 651
        break;
652 652
      case "boolean":
653 653
        if(value == "YES"){
654
          input = '<br>' + Locale.tr("YES ") + '<input checked type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
654
          input = '<br>' + Locale.tr("YES ") + '<input style="margin-right: 20px" checked type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
655 655
          input += Locale.tr("NO ") + '<input type="radio" name="bool_' + attr.name + '" value="NO"' + wizard_field + ' ' + required + '/>';
656 656
        } else if(value == "NO"){
657
          input = '<br>' + Locale.tr("YES ") + '<input type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
657
          input = '<br>' + Locale.tr("YES ") + '<input style="margin-right: 20px" type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
658 658
          input += Locale.tr("NO ") + '<input checked type="radio" name="bool_' + attr.name + '" value="NO"' + wizard_field + ' ' + required + '/>'
659 659
        } else {
660
          input = '<br>' + Locale.tr("YES ") + '<input type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
660
          input = '<br>' + Locale.tr("YES ") + '<input style="margin-right: 20px" type="radio" name="bool_' + attr.name + '" value="YES"' + wizard_field + ' ' + required + '/>';
661 661
          input += Locale.tr("NO ") + '<input type="radio" name="bool_' + attr.name + '" value="NO"' + wizard_field + ' ' + required + '/>';
662 662
        }
663 663
        break;
src/sunstone/public/app/utils/user-inputs/row.hbs
20 20
      </select>
21 21
    </label>
22 22
  </td>
23
  <td>
23
  <td style="padding-left: 20px">
24 24
    <label>{{tr "Description"}}
25 25
      <textarea class="user_input_description"/>
26 26
    </label>
......
36 36
    </div>
37 37
    <div class="user_input_type_right boolean">
38 38
      <label>{{tr "Default value"}}</label>
39
      <input type="radio" step="any" name="bool_{{idInput}}" class="user_input_initial" id="radio_yes" value="YES"> {{tr "YES"}}
40
      <input type="radio" step="any" name="bool_{{idInput}}" class="user_input_initial" id="radio_no" value="NO"> {{tr "NO"}}
39
      {{tr "YES"}} <input style="margin-right: 20px" type="radio" step="any" name="bool_{{idInput}}" class="user_input_initial" id="radio_yes" value="YES">
40
      {{tr "NO"}} <input type="radio" step="any" name="bool_{{idInput}}" class="user_input_initial" id="radio_no" value="NO">
41 41
    </div>
42 42
    <div class="user_input_type_right range">
43 43
      <div class="row collapse">
src/sunstone/public/app/utils/user-inputs/table.hbs
2 2
  <thead>
3 3
    <tr>
4 4
      <th style="width:30%"></th>
5
      <th style="width:20%"></th>
6
      <th style="width:50%"></th>
5
      <th style="width:25%"></th>
6
      <th style="width:55%"></th>
7 7
      <th style="width:3%"></th>
8 8
    </tr>
9 9
  </thead>

Also available in: Unified diff