Ei muokkausyhteenvetoa |
Ei muokkausyhteenvetoa |
||
| Rivi 56: | Rivi 56: | ||
// add download data button | // add download data button | ||
memo.headerEl.append( '<div class="obschartbutton download-button" style="display: none; margin-left: 10px; float: right | memo.headerEl.append( '<div class="obschartbutton download-button" style="display: none; margin-left: 10px; float: right; background-color: rgba( 255, 255, 255, .9 ); border-radius: 50%; border: 1px solid rgba( 0, 0, 0, 0.5 ); Xwidth: 24px; Xheight: 24px; padding: 1px;"><button title="' + i18n['download'][memo.lang] + '" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none;"><i class="fas fa-download"></i></button></div>' ); | ||
memo.downloadEl = jQuery( this ).find( '.download-button' ); | memo.downloadEl = jQuery( this ).find( '.download-button' ); | ||
// add edit button | |||
memo.headerEl.append( '<div class="obschartbutton edit-button" style="Xdisplay: none; margin-left: 10px; float: right; background-color: rgba( 255, 255, 255, .9 ); border-radius: 50%; border: 1px solid rgba( 0, 0, 0, 0.5 ); Xwidth: 24px; Xheight: 24px; padding: 1px;"><button title="' + i18n['download'][memo.lang] + '" style="width: 24px; height: 24px; padding: 0; margin: 0; background: none; border: none;"><i class="fas fa-edit"></i></button></div>' ); | |||
memo.downloadEl = jQuery( this ).find( '.download-button' ); | |||
memo.siteid = jQuery( this ).attr( 'data-jw-siteid' ); | memo.siteid = jQuery( this ).attr( 'data-jw-siteid' ); | ||


