Revision 977c5619

View differences:

src/sunstone/public/js/plugins/images-tab.js
1165 1165

  
1166 1166
    //Put HTML in place
1167 1167

  
1168
    var html = '<form>\
1169
    <div class="row">\
1170
  <h3><small>'+tr("Clone Image")+'</small></h4>\
1171
  </div>\
1168
    var html = '<div class="panel">\
1169
          <h3>\
1170
            <small id="create_vnet_header">'+tr("Clone Image")+'</small>\
1171
          </h3>\
1172
        </div>\
1173
        <form>\
1172 1174
<div class="row">\
1173 1175
<div class="clone_one"></div>\
1174 1176
<div class="clone_several">'+tr("Several image are selected, please choose prefix to name the new copies")+':</div>\
......
1188 1190
  <button class="button radius right" id="image_clone_button" value="Image.clone">\
1189 1191
'+tr("Clone")+'\
1190 1192
  </button>\
1191
</div></form>\
1193
           <button class="close-reveal-modal button secondary radius" type="button" value="close">' + tr("Close") + '</button>\
1194
        </div>\
1195
<a class="close-reveal-modal">&#215;</a>\
1196
</form>\
1192 1197
';
1193 1198

  
1194 1199
    dialog.html(html);
src/sunstone/public/js/plugins/templates-tab.js
3954 3954

  
3955 3955
    //Put HTML in place
3956 3956

  
3957
    var html = '<form><fieldset>\
3958
<div class="clone_one">'+tr("Choose a new name for the template")+':</div>\
3957
    var html = '<div class="panel">\
3958
          <h3>\
3959
            <small id="create_vnet_header">'+tr("Clone Template")+'</small>\
3960
          </h3>\
3961
        </div>\
3962
        <form>\
3963
<div class="row">\
3964
<div class="clone_one"></div>\
3959 3965
<div class="clone_several">'+tr("Several templates are selected, please choose prefix to name the new copies")+':</div>\
3960
<br />\
3961
<label class="clone_one">'+tr("Name")+':</label>\
3962
<label class="clone_several">'+tr("Prefix")+':</label>\
3963
<input type="text" name="name"></input>\
3964
<div class="form_buttons">\
3965
  <button class="button" id="template_clone_button" value="Template.clone">\
3966
<br>\
3967
</div>\
3968
<div class="row">\
3969
  <div class="columns two">\
3970
    <label class="clone_one inline right">'+tr("Name")+':</label>\
3971
    <label class="clone_several inline right">'+tr("Prefix")+':</label>\
3972
  </div>\
3973
  <div class="columns ten">\
3974
    <input type="text" name="name"></input>\
3975
  </div>\
3976
</div>\
3977
<hr>\
3978
<div class="form_buttons row">\
3979
  <button class="button radius right" id="template_clone_button" value="Template.clone">\
3966 3980
'+tr("Clone")+'\
3967 3981
  </button>\
3968
</div></fieldset></form>\
3982
           <button class="close-reveal-modal button secondary radius" type="button" value="close">' + tr("Close") + '</button>\
3983
        </div>\
3984
<a class="close-reveal-modal">&#215;</a>\
3985
</form>\
3969 3986
';
3970 3987

  
3988

  
3971 3989
    dialog.html(html);
3972 3990

  
3973 3991
    //Convert into jQuery

Also available in: Unified diff