Skip to content

Commit

Permalink
- remove text like "del" on small icon buttons, leaving just the icon.
Browse files Browse the repository at this point in the history
- remove navigation bar on  modals
  • Loading branch information
mariez committed Mar 29, 2016
1 parent bd289dd commit cc72c8d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions css/style.css
Expand Up @@ -80,5 +80,6 @@ div.tab-content {padding:20px;border:1px solid #CCC}

/* # modals ************/
.modal .modal-dialog .close.externo{z-index: 999999;position: absolute;right: 10px;top: 10px;border:1px solid #000;padding:0 8px 4px;border-radius:5px;background-color:#CCC}
#mymodal #navigation{display:none}

/* End of /lists/admin/ui/bootlist/css/style.css */
10 changes: 5 additions & 5 deletions js/phpList3ToBootstrap.js
Expand Up @@ -87,18 +87,18 @@ $(window).load(function() {
$('.dbcheck span.listingname a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-tasks"/>');
$('.view-log span.listingname a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-list-alt"/>');
/*buttons*/
$('span.edit a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-edit"/>');
$('span.edit a').html('<span aria-hidden="true" class="glyphicon glyphicon-edit"/>');
$('.configEdit a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-edit"/>');
$('span.delete a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-trash"/>');
$('a.del').prepend('<span aria-hidden="true" class="glyphicon glyphicon-trash"/>');
$('span.view a').prepend('<span aria-hidden="true" class="glyphicon glyphicon-eye-open"/>');
$('span.delete a').html('<span aria-hidden="true" class="glyphicon glyphicon-trash"/>');
$('a.del').html('<span aria-hidden="true" class="glyphicon glyphicon-trash"/>');
$('span.view a').html('<span aria-hidden="true" class="glyphicon glyphicon-eye-open"/>');
$('a.opendialog span.view').prepend('<span aria-hidden="true" class="glyphicon glyphicon-eye-open"/>');
$('a.hide').html('x');$('a.hide').addClass('close');$('a.hide.close').removeClass('hide');


/* modals */
$('.templates a.opendialog').attr('href', $('.templates a.opendialog').attr('href') + '&embed=yes&omitall=yes' );
$('.opendialog').attr({ 'data-target':'#mymodal', 'data-toggle':'modal' });
$('.opendialog').attr({ 'data-target':'#mymodal', 'data-toggle':'modal', 'href': $('.opendialog').attr('href') + '&embed=yes&omitall=yes' });


/* tables*/
Expand Down

0 comments on commit cc72c8d

Please sign in to comment.