-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d68f89a
commit 30f4dcc
Showing
3 changed files
with
92 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
101 changes: 61 additions & 40 deletions
101
gemini/function-calling/function_calling_service/templates/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,73 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<head> | ||
<title>Get Coordinates</title> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> | ||
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css" | ||
/> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script> | ||
Check warning Code scanning / CodeQL Inclusion of functionality from an untrusted source Medium
Script loaded from content delivery network with no integrity check.
|
||
<script> | ||
hljs.highlightAll(); | ||
</script> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
</head> | ||
</head> | ||
|
||
<body> | ||
<body> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<h1 class="header center-align">Lookup Coordinates</h1> | ||
</div> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<h1 class="header center-align">Lookup Coordinates</h1> | ||
</div> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<form method="POST"> | ||
<div class="row"> | ||
<div class="input-field col s10"> | ||
<span class="material-icons prefix">edit_location</span> | ||
<input placeholder="1600 Amphitheatre Pkwy, Mountain View, CA 94043, US" name="address" | ||
type="text" class="validate"> | ||
<label class="active" for="address">Address</label> | ||
</div> | ||
<div class="col s2"> | ||
<div class="input-field"> <button class="btn waves-effect waves-light" type="submit" | ||
name="action">Submit | ||
<i class="material-icons right">send</i> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<form method="POST"> | ||
<div class="row"> | ||
<div class="input-field col s10"> | ||
<span class="material-icons prefix">edit_location</span> | ||
<input | ||
placeholder="1600 Amphitheatre Pkwy, Mountain View, CA 94043, US" | ||
name="address" | ||
type="text" | ||
class="validate" | ||
/> | ||
<label class="active" for="address">Address</label> | ||
</div> | ||
<div class="col s2"> | ||
<div class="input-field"> | ||
<button | ||
class="btn waves-effect waves-light" | ||
type="submit" | ||
name="action" | ||
> | ||
Submit | ||
<i class="material-icons right">send</i> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</form> | ||
</div> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<div class="card"> | ||
<div class="card-content"> | ||
<span class="card-title">Coordinates</span> | ||
<pre>{{ content }}</pre> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col s12 m10 offset-m1"> | ||
<div class="card"> | ||
<div class="card-content"> | ||
<span class="card-title">Coordinates</span> | ||
<pre><code>{{ content }}</code></pre> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
|
||
</html> | ||
</body> | ||
</html> |