-
Notifications
You must be signed in to change notification settings - Fork 85
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
Showing
6 changed files
with
63 additions
and
38 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<title>{% block title %}{% endblock %}</title> | ||
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@^1.5/dist/base.min.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@^1.5/dist/components.min.css" /> | ||
<link rel="stylesheet" href="https://unpkg.com/@tailwindcss/[email protected]/dist/typography.min.css"/> | ||
<link rel="stylesheet" href="https://unpkg.com/tailwindcss@^1.5/dist/utilities.min.css" /> | ||
{% block head %}{% endblock %} | ||
</head> | ||
<body> | ||
<div id="content" class="sm:container sm:mx-auto prose" > | ||
{% block content %}{% endblock %} | ||
</div> | ||
</body> | ||
</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,3 +1,11 @@ | ||
<h1>{{app.title}} {{app.tag}}</h1> | ||
{% extends "base.j2" %} | ||
|
||
{% block title %} | ||
{{app.title}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<h1><a href="/">{{app.title}} {{app.tag}}</a></h1> | ||
<div><a href="https://github.com/warycat/rustgym">Github</a></div> | ||
<div><a href="leetcode/">Leetcode</a></div> | ||
<div><a href="https://github.com/warycat/rustgym">Github</a></div> | ||
{% endblock %} |
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,15 +1,27 @@ | ||
<h1><a href="/">{{app.title}} {{app.tag}}</a></h1> | ||
<div>Leetcode</div> | ||
<div><a href="https://github.com/warycat/rustgym">Github</a></div> | ||
<table> | ||
{% for row in rows %} | ||
<tr> | ||
<td> | ||
{{row.qid}} | ||
</td> | ||
<td> | ||
<a href="{{row.qid}}"> {{row.title}}</a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% extends "home.j2" %} | ||
|
||
{% block content %} | ||
<h1><a href="/">{{app.title}} {{app.tag}}</a></h1> | ||
<div><a href="https://github.com/warycat/rustgym">Github</a></div> | ||
<div>Leetcode</div> | ||
<table class="table-auto border-collapse border border-black-800"> | ||
<tbody> | ||
<thead> | ||
<tr> | ||
<th class="border border-black-600 text-center">id</th> | ||
<th class="border border-black-600">Leetcode</th> | ||
</tr> | ||
</thead> | ||
{% for row in rows %} | ||
<tr> | ||
<td class="border border-black-600 text-center"> | ||
{{row.qid}} | ||
</td> | ||
<td class="border border-black-600"> | ||
<a href="{{row.qid}}"> {{row.title}}</a> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock %} |