forked from luocaodan/teach
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
2 changed files
with
35 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
- if homework['description'] != '' | ||
%p= homework['description'] | ||
- else | ||
%p 暂无博客简介 | ||
%p 暂无博客作业简介 |
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 +1,34 @@ | ||
%h1 Index page of Organization, waiting to be finished | ||
.small-container | ||
.page-title-holder | ||
.page-title 组织管理 | ||
|
||
.content-list | ||
-if @all_org_info.length == 0 | ||
%div | ||
%el-card{style: 'width: 80%; margin: auto;'} | ||
%br | ||
您还没有创建任何组织,您可以用管理员账户创建组织 | ||
-else | ||
- @all_org_info.each do |org| | ||
%el-card{shadow: "hover", style: "width: 95%;margin:auto;"} | ||
%div{slot: 'header'} | ||
%span{style: 'font-size:30px'} | ||
%p= org['name'] | ||
%div | ||
%ul | ||
%li | ||
%b 组织代号 | ||
%p= org['code'] | ||
%div | ||
%ul | ||
%li | ||
%b 组织令牌 | ||
%p= org['token'] | ||
%div | ||
%ul | ||
%li | ||
%b 组织简介 | ||
- if org['description'] != '' | ||
%p= org['description'] | ||
- else | ||
%p 暂无组织简介 |