-
Notifications
You must be signed in to change notification settings - Fork 15
Cao zihao 201831990221 pick most popular articles #50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
spm2020spring
wants to merge
10
commits into
master
Choose a base branch
from
CaoZihao-201831990221-autorank
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8108029
Add files via upload
CZH-Gaizka e493a76
Update service.py
CZH-Gaizka e096c86
Update io.html
CZH-Gaizka 511340a
Update service.py
CZH-Gaizka 915ec5c
Update subject.html
CZH-Gaizka 76c999e
Update template.html
CZH-Gaizka c6821fe
Update io.html
CZH-Gaizka a4ba9f3
Update service.py
CZH-Gaizka 79855d0
Update service.py
CZH-Gaizka e53778a
Add files via upload
CZH-Gaizka File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains hidden or 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 hidden or 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,76 +1,29 @@ | ||
| {% extends "template.html" %} | ||
| {% block content %} | ||
| <body> | ||
| <body > | ||
|
|
||
| <div style="background-color:white;height:auto;width:30%;float:left;box-sizing: border-box;"> | ||
| <h1 style="background-color: black;color:#FFFFFF;">Subjects</h1> | ||
| {% for subject in subjects %} | ||
| <a href="subject/{{subject.id}}" style="color:black">{{subject.name}}</a><br> | ||
| {%endfor%} | ||
| </div> | ||
| <div style="background-color:white;height:1423px;width:700px;float: left;box-sizing: border-box;"> | ||
| <h1 style="background-color: black;color:white;">Top5 Articles</h1> | ||
|
|
||
| {% for article in articles %} | ||
|  <a href="article/{{ article.id }}" style="color:black">{{ article.title }}</a><br> | ||
| {% endfor %} | ||
|
|
||
|
|
||
|
|
||
|   | ||
| <h1 style="background-color:black;color:white;">All Articles</h1> | ||
| {% for article in totalart %} | ||
|   | ||
| <a href="article/{{article.id}}" style="color:black">{{article.title}}<span style="float: right;" style="color:black">{{article.time}}</span></a><br> | ||
| {%endfor%} | ||
| </div> | ||
|
|
||
| <a href="subject/1">Physical Sciences</a><br> | ||
|   | ||
| <a href="subject/8">Physics</a><br> | ||
|   | ||
|   | ||
| <a href="subject/11">Astronomy</a><br> | ||
|   | ||
|   | ||
| <a href="subject/12">Quantum Mechanics</a><br> | ||
|   | ||
| <a href="subject/9">Chemistry</a><br> | ||
|   | ||
| <a href="subject/10">Environmental Sciences</a><br> | ||
| <a href="subject/2">Social Sciences</a><br> | ||
|   | ||
| <a href="subject/13">Anthropology</a><br> | ||
|   | ||
| <a href="subject/14">Sustainability Science</a><br> | ||
| <a href="subject/3">Biological Sciences</a><br> | ||
|   | ||
| <a href="subject/15">Cell Biology</a><br> | ||
|   | ||
|   | ||
| <a href="subject/37">病理学</a><br> | ||
|   | ||
| <a href="subject/16">Genetics</a><br> | ||
|   | ||
| <a href="subject/17">Neuroscience</a><br> | ||
|   | ||
| <a href="subject/18">Plant Biology</a><br> | ||
|   | ||
| <a href="subject/19">Developmental Biology</a><br> | ||
|   | ||
| <a href="subject/20">System Biology</a><br> | ||
|   | ||
| <a href="subject/21">Biochemistry</a><br> | ||
|   | ||
| <a href="subject/22">Biophysics and Computational Biology</a><br> | ||
| <a href="subject/4">Computer Sciences</a><br> | ||
|   | ||
| <a href="subject/23">Machine Learning</a><br> | ||
|   | ||
| <a href="subject/24">Computational Biology</a><br> | ||
|   | ||
| <a href="subject/25">Computational Complexity</a><br> | ||
|   | ||
| <a href="subject/26">Computational Linguistics</a><br> | ||
| <a href="subject/5">Statistics</a><br> | ||
|   | ||
| <a href="subject/27">Applied Statistics</a><br> | ||
|   | ||
| <a href="subject/28">Mathematical Statistics</a><br> | ||
| <a href="subject/6">Mathematics</a><br> | ||
|   | ||
| <a href="subject/29">Graphy Theory</a><br> | ||
|   | ||
| <a href="subject/30">Number Theory</a><br> | ||
| <a href="subject/7">Medical Sciences</a><br> | ||
|   | ||
| <a href="subject/31">Breast Cancer</a><br> | ||
|   | ||
| <a href="subject/32">Ebola Virus</a><br> | ||
|   | ||
| <a href="subject/33">Epidemics</a><br> | ||
|   | ||
| <a href="subject/34">Dermatology General</a><br> | ||
|   | ||
| <a href="subject/35">Immunity</a><br> | ||
|   | ||
| <a href="subject/36">Obesity</a><br> | ||
| </body> | ||
| {% endblock %} |
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.