<footer class="preset-manager-footer">
  <div class="footer-left">
    <button type="button" data-action="importPreset"
      data-tooltip="{{localize 'CALENDARIA.PresetManager.ImportPresetTooltip'}}">
      <i class="fas fa-file-import"></i>
      {{localize "CALENDARIA.Common.Import"}}
    </button>
    {{#if selected}}
      <button type="button" data-action="exportPreset"
        data-tooltip="{{localize 'CALENDARIA.PresetManager.ExportPresetTooltip'}}">
        <i class="fas fa-file-export"></i>
        {{localize "CALENDARIA.Common.Export"}}
      </button>
    {{/if}}
    {{#if selected}}
      <button type="button" data-action="resetPreset"
        data-tooltip="{{localize 'CALENDARIA.PresetManager.ResetPresetTooltip'}}">
        <i class="fas fa-undo"></i>
        {{localize "CALENDARIA.Common.Reset"}}
      </button>
      {{#unless selected.isDefault}}
        <button type="button" data-action="syncPreset"
          data-tooltip="{{localize 'CALENDARIA.PresetManager.SyncTooltip'}}">
          <i class="fas fa-sync"></i>
          {{localize "CALENDARIA.PresetManager.SyncButton"}}
        </button>
        <button type="button" data-action="removePreset" data-preset-id="{{selected.id}}">
          <i class="fas fa-trash"></i>
          {{localize "CALENDARIA.Common.Delete"}}
        </button>
      {{/unless}}
    {{/if}}
    <button type="button" data-action="addPreset">
      <i class="fas fa-plus"></i>
      {{localize "CALENDARIA.UI.AddPreset"}}
    </button>
  </div>
  <button type="button" data-action="savePresets" class="save-btn">
    <i class="fas fa-save"></i>
    {{localize "CALENDARIA.Common.Save"}}
  </button>
</footer>
