Skip to content

Commit

Permalink
make chief identify itself
Browse files Browse the repository at this point in the history
  • Loading branch information
oremj committed Oct 20, 2011
1 parent c22ff7a commit 8271ef6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chief.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ def index(webapp):
direct_passthrough=True,
mimetype='text/plain')

return render_template("index.html")
return render_template("index.html", app_name=webapp)
3 changes: 2 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<title>CHIEF</title>
<title>CHIEF - {{ app_name }}</title>
<style>
button {
background: red;
Expand All @@ -21,6 +21,7 @@
color: white;
}
</style>
<h1>Hi, I'm the chief of {{ app_name }}.</h1>
<form method="post" action="">
<input name="tag" placeholder="git tag">
<input name="password" type="password" placeholder="secret">
Expand Down

0 comments on commit 8271ef6

Please sign in to comment.