merge
This commit is contained in:
parent
961d6665b5
commit
2ab16a68b7
4 changed files with 556 additions and 151 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use std::collections::HashSet;
|
||||
use std::collections::{HashMap, HashSet};
|
||||
|
||||
use chrono::{DateTime, Utc};
|
||||
|
||||
|
|
@ -382,7 +382,12 @@ fn render_index(
|
|||
escape_html(name)
|
||||
));
|
||||
} else {
|
||||
html.push_str(r#"<a class="button" href="/oauth/start">Mit Intervals.icu verbinden</a>"#);
|
||||
html.push_str(
|
||||
r#"<div>
|
||||
<a class="button" href="/oauth/start">Mit Intervals.icu verbinden</a>
|
||||
<a class="button secondary" href="/api-key/start">Mit API-Key anmelden</a>
|
||||
</div>"#,
|
||||
);
|
||||
}
|
||||
|
||||
html.push_str("</header>");
|
||||
|
|
|
|||
Loading…
Reference in a new issue