-
Notifications
You must be signed in to change notification settings - Fork 22
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
7 changed files
with
97 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>XCloud</title> | ||
<script> | ||
|
||
</script> | ||
</head> | ||
<body> | ||
<h2 align="center" | ||
style="font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace"> | ||
XCloud</h2> | ||
<div align="center"> | ||
Hello, this is <a href="https://github.com/lucasxlu/XCloud" target="_blank" | ||
style="text-decoration: none">XCloud</a>, an AI | ||
cloud platform maintained by <a | ||
href="https://www.zhihu.com/people/xulu-0620/activities" | ||
target="_blank" style="text-decoration: none">LucasX</a>. You are | ||
visiting DM module. | ||
<hr> | ||
|
||
<div align="center"> | ||
<img src="https://raw.githubusercontent.com/lucasxlu/blog/master/source/about/LucasX.jpg" | ||
alt="LucaX" align="center"> | ||
</div> | ||
|
||
<div id="linkweb" style=" display:inline;"></div> | ||
</div> | ||
|
||
<footer style="position: fixed; width: 100%; text-align: center; bottom: 0;"> | ||
<script> | ||
setInterval("document.getElementById('linkweb').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());", 1000); | ||
</script> | ||
</footer> | ||
</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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
from django.urls import path | ||
|
||
from . import views | ||
|
||
urlpatterns = [ | ||
path('welcome', views.welcome, name='welcome'), | ||
] |
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,12 @@ | ||
from django.shortcuts import render | ||
|
||
|
||
# Create your views here. | ||
|
||
def welcome(request): | ||
""" | ||
welcome page for computer vision welcome | ||
:param request: | ||
:return: | ||
""" | ||
return render(request, 'welcome.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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>XCloud</title> | ||
<script> | ||
|
||
</script> | ||
</head> | ||
<body> | ||
<h2 align="center" | ||
style="font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace"> | ||
XCloud</h2> | ||
<div align="center"> | ||
Hello, this is <a href="https://github.com/lucasxlu/XCloud" target="_blank" | ||
style="text-decoration: none">XCloud</a>, an AI | ||
cloud platform maintained by <a | ||
href="https://www.zhihu.com/people/xulu-0620/activities" | ||
target="_blank" style="text-decoration: none">LucasX</a>. You are | ||
visiting NLP module. | ||
<hr> | ||
|
||
<div align="center"> | ||
<img src="https://raw.githubusercontent.com/lucasxlu/blog/master/source/about/LucasX.jpg" | ||
alt="LucaX" align="center"> | ||
</div> | ||
|
||
<div id="linkweb" style=" display:inline;"></div> | ||
</div> | ||
|
||
<footer style="position: fixed; width: 100%; text-align: center; bottom: 0;"> | ||
<script> | ||
setInterval("document.getElementById('linkweb').innerHTML=new Date().toLocaleString()+' 星期'+'日一二三四五六'.charAt(new Date().getDay());", 1000); | ||
</script> | ||
</footer> | ||
</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,13 +1,12 @@ | ||
from django.shortcuts import render | ||
from django.http import HttpResponse | ||
|
||
|
||
# Create your views here. | ||
|
||
def welcome(request): | ||
""" | ||
test page for computer vision welcome | ||
welcome page for computer vision welcome | ||
:param request: | ||
:return: | ||
""" | ||
return HttpResponse("Hello, welcome to NLP section.") | ||
return render(request, 'welcome.html') |