-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: 把部分html轉成單檔案 把部分html轉成單檔案,使用ng-include或directive引入
- Loading branch information
1 parent
7983941
commit f70e642
Showing
4 changed files
with
63 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<style> | ||
.myFooter { | ||
position: fixed; | ||
left: 0; | ||
bottom: 0; | ||
width: 100%; | ||
color: whitesmoke; | ||
font-weight: bold; | ||
text-align: center; | ||
background-color: #444444; | ||
} | ||
.darkmode--activated .myFooter { | ||
background-color: #1f1f1f; | ||
} | ||
.github:after { | ||
display: inline-block; | ||
content : ''; | ||
background-image: url("/images/mark-github.svg"); | ||
background-size: 28px 28px; | ||
height: 28px; | ||
width: 28px; | ||
|
||
} | ||
</style> | ||
<footer class="myFooter"> | ||
<div class="container"> | ||
<span>作者 : ChinlinLee (李沁霖)</span> | ||
<br /> | ||
<span>聯絡資訊 : a5566qq2581@gmail.com</span> | ||
<br /> | ||
<a class="github" href="https://github.com/Chinlinlee"></a> | ||
</div> | ||
</footer> |
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 @@ | ||
|
||
|
||
|
||
<li class="nav-item"> | ||
<span><span style="font-size:25px">🌞 </span><input type="checkbox" data-toggle="toggle" data-onstyle="info" data-offstyle="light" id="darkModeSwitch"><span style="font-size:25px"> 🌛</span></span> | ||
</li> | ||
|
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,14 @@ | ||
|
||
|
||
<li class="nav-item active"> | ||
<div class="dropdown show"> | ||
<a class="nav-link dropdown-toggle active" href="#" data-toggle="dropdown" id="dropdownLearnInfo" aria-haspopup="true" aria-expanded="false">學習資訊</a> | ||
<div class="dropdown-menu" aria-labelledby="dropdownLearnInfo"> | ||
<a class="dropdown-item" href="/Course">個人修課明細</a> | ||
<a class="dropdown-item" href="/Schedule">個人課表</a> | ||
<a class="dropdown-item" href="/Scores">學期成績</a> | ||
<a class="dropdown-item" href="/History_Scores">歷年成績</a> | ||
<a class="dropdown-item" href="/CTE_BOT">教學評量機器人</a> | ||
</div> | ||
</div> | ||
</li> |
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,9 @@ | ||
|
||
<li class="nav-item active" ng-if="$parent.Currentuser"> | ||
<div class="dropdown show"> | ||
<a class="nav-link dropdown-toggle active" href="#" data-toggle="dropdown" id="dropdownUser" aria-haspopup="true" aria-expanded="false">Hello,{{$parent.Currentuser.stuName}}</a> | ||
<div class="dropdown-menu" aria-labelledby="dropdownUser"> | ||
<a class="dropdown-item" href="/logout">Logout</a> | ||
</div> | ||
</div> | ||
</li> |