diff --git a/application/language/english/general_words_lang.php b/application/language/english/general_words_lang.php index 210dc704..da383fb9 100644 --- a/application/language/english/general_words_lang.php +++ b/application/language/english/general_words_lang.php @@ -121,3 +121,5 @@ $lang['gen_from_date'] = 'From date'; $lang['gen_this_qso_was_confirmed_on'] = 'This QSO was confirmed on'; $lang['error_no_logbook_found'] = 'No logbooks were found. You need to define a logbook under Station Logbooks! Do it here:'; + +$lang['copy_to_clipboard'] = 'Copy to clipboard'; diff --git a/application/language/german/general_words_lang.php b/application/language/german/general_words_lang.php index 0aa119d8..c57c4a55 100644 --- a/application/language/german/general_words_lang.php +++ b/application/language/german/general_words_lang.php @@ -119,3 +119,5 @@ $lang['dashboard_countries_breakdown'] = 'Länderübersicht'; $lang['gen_from_date'] = 'Ab Datum'; $lang['gen_this_qso_was_confirmed_on'] = 'Dieses QSO wurde bestätigt am'; + +$lang['copy_to_clipboard'] = 'In die Zwischenablage kopieren'; diff --git a/application/views/api/help.php b/application/views/api/help.php index 700ec1c6..5ec2aa9e 100644 --- a/application/views/api/help.php +++ b/application/views/api/help.php @@ -32,7 +32,7 @@ result() as $row) { ?> - key; ?> + key; ?> description; ?> key); ?>" class="btn btn-danger btn-sm" onclick="return confirm('Are you sure you want delete API Key key; ?>?');">Delete + diff --git a/application/views/interface_assets/footer.php b/application/views/interface_assets/footer.php index 2eff6f66..75585cd4 100644 --- a/application/views/interface_assets/footer.php +++ b/application/views/interface_assets/footer.php @@ -89,6 +89,23 @@ function load_was_map() { +uri->segment(1) == "api" && $this->uri->segment(2) == "help") { ?> + + uri->segment(1) == "search" && $this->uri->segment(2) == "filter") { ?> diff --git a/assets/css/general.css b/assets/css/general.css index 676c1aac..6c163ebf 100644 --- a/assets/css/general.css +++ b/assets/css/general.css @@ -362,3 +362,28 @@ div#station_logbooks_linked_table_paginate { height: calc(100vh - 380px) !important; max-height: 900px !important; } + +.copy-icon { + display: block; + cursor: pointer; + padding-left: 0.5em; +} + +.flash-copy { + animation-name: flash; + animation-timing-function: ease-out; + animation-duration: 1s; +} + +@keyframes flash { + 0% { + background: #28a745; + } + 100% { + background: transparent; + } +} + +.api-key { + font-family: Monospace; +}