-
Notifications
You must be signed in to change notification settings - Fork 8
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
40 changed files
with
25,246 additions
and
7,853 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Binary file not shown.
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,3 @@ | ||
.container { | ||
body > .container-full { | ||
height: 100%; | ||
} |
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,17 +1,4 @@ | ||
<div class="container clearfix"> | ||
<div class="container-full clearfix"> | ||
<ms-sidebar /> | ||
<ms-page> | ||
<ms-topbar slot="topbar" /> | ||
<article class="main"> | ||
<ul class="tab"> | ||
<li class="tab-page" ms-for="p in pages"> | ||
<input type="radio" name="page_tab" value=""> | ||
<label>{{p.title}}</label> | ||
<article class="tab-content"> | ||
{{p.content}} | ||
</article> | ||
</li> | ||
</ul> | ||
</article> | ||
</ms-page> | ||
<ms-main /> | ||
</div> |
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,34 @@ | ||
.main { | ||
overflow: hidden; | ||
height: 100%; | ||
position: relative; | ||
} | ||
|
||
.top { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 0; | ||
height: 5rem; | ||
background: #f2f3f5; | ||
border-bottom: solid 1px #e7e7e7; | ||
} | ||
|
||
.content { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 5rem; | ||
bottom: 3.5rem; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
|
||
.footer { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
height: 3.5rem; | ||
} |
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,11 @@ | ||
<article class="main"> | ||
<header class="top"> | ||
<ms-topbar /> | ||
</header> | ||
<article class="content"> | ||
<ms-tab /> | ||
</article> | ||
<footer class="footer"> | ||
<ms-statusbar /> | ||
</footer> | ||
</article> |
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 |
---|---|---|
@@ -1,5 +1,4 @@ | ||
.menu { | ||
width: 200px; | ||
color: #ddd; | ||
} | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,5 +1,6 @@ | ||
.sidebar { | ||
float: left; | ||
width: 200px; | ||
height: 100%; | ||
background: #234567; | ||
} | ||
|
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,5 @@ | ||
.statusbar { | ||
width: 100%; | ||
height: 100%; | ||
border-top: solid 1px #ddd; | ||
} |
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,3 @@ | ||
<div class="statusbar"> | ||
this is footer | ||
</div> |
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,8 @@ | ||
import avalon, { component } from 'avalon2'; | ||
import './index.css'; | ||
|
||
component('ms-statusbar', { | ||
template: require('./index.html'), | ||
defaults: { | ||
} | ||
}) |
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,53 @@ | ||
.tab { | ||
width: 100%; | ||
height: 100%; | ||
position: relative; | ||
list-style: none; | ||
} | ||
|
||
.tab-item { | ||
float: left; | ||
height: 3rem; | ||
line-height: 3rem; | ||
border-right: solid .1rem #e7e7e7; | ||
} | ||
|
||
.tab-check { | ||
position: absolute; | ||
left: -9999px; | ||
} | ||
|
||
.tab-page { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 3.15rem; | ||
bottom: 0; | ||
display: none; | ||
z-index: 101; | ||
overflow: auto; | ||
} | ||
|
||
.tab-title { | ||
display: block; | ||
height: 100%; | ||
padding: 0 .8rem; | ||
} | ||
|
||
.tab-line { | ||
position: absolute; | ||
left: 0; | ||
right: 0; | ||
top: 3rem; | ||
border-top: solid .15rem #405060; | ||
z-index: 100; | ||
} | ||
|
||
.tab-check:checked ~ .tab-title { | ||
background: #405060; | ||
color: #fff; | ||
} | ||
|
||
.tab-check:checked ~ .tab-page { | ||
display: block; | ||
} |
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,26 @@ | ||
<ul class="tab clearfix"> | ||
<li class="tab-item"> | ||
<input id="tab_check_0" type="radio" class="tab-check" name="tab_check" checked> | ||
<label for="tab_check_0" class="tab-title">Home</label> | ||
<span class="tab-line"></span> | ||
<div class="tab-page"> | ||
<ms-homepage /> | ||
</div> | ||
</li> | ||
<li class="tab-item"> | ||
<input id="tab_check_1" type="radio" class="tab-check" name="tab_check"> | ||
<label for="tab_check_1" class="tab-title">page1</label> | ||
<span class="tab-line"></span> | ||
<div class="tab-page"> | ||
<ms-page1 /> | ||
</div> | ||
</li> | ||
<li class="tab-item"> | ||
<input id="tab_check_2" type="radio" class="tab-check" name="tab_check"> | ||
<label for="tab_check_2" class="tab-title">page2</label> | ||
<span class="tab-line"></span> | ||
<div class="tab-page"> | ||
<ms-page1 /> | ||
</div> | ||
</li> | ||
</ul> |
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,8 @@ | ||
import avalon, { component } from 'avalon2'; | ||
import './index.css'; | ||
|
||
component('ms-tab', { | ||
template: require('./index.html'), | ||
defaults: { | ||
} | ||
}) |
Empty file.
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,3 @@ | ||
<ul class="tabbar"> | ||
<li><span class=""></span></li> | ||
</ul> |
Empty file.
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 |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import './Login'; | ||
import './Menu'; | ||
import './SideBar'; | ||
import './Page'; | ||
import './Main'; | ||
import './App'; | ||
import './Topbar'; | ||
import './StatusBar'; | ||
import './Tab'; |
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
import 'bootstrap/dist/css/bootstrap.min.css'; | ||
import 'bootstrap'; | ||
import './common/common.css'; | ||
import './components'; | ||
import './pages'; | ||
import avalon, { define } from 'avalon2'; | ||
|
||
|
||
define({ | ||
$id: 'app' | ||
}); |
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 @@ | ||
article {} |
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,22 @@ | ||
<article> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
</article> |
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,10 @@ | ||
import './index.css'; | ||
import avalon, { component } from 'avalon2'; | ||
import { parseCssModule } from '../../common/common'; | ||
|
||
// console.log(parseCssModule(styles, require('./index.html')); | ||
|
||
component('ms-homepage', { | ||
template: require('./index.html'), | ||
defaults: {} | ||
}) |
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 @@ | ||
article {} |
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,22 @@ | ||
<article> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
</article> |
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,10 @@ | ||
import './index.css'; | ||
import avalon, { component } from 'avalon2'; | ||
import { parseCssModule } from '../../common/common'; | ||
|
||
// console.log(parseCssModule(styles, require('./index.html')); | ||
|
||
component('ms-page1', { | ||
template: require('./index.html'), | ||
defaults: {} | ||
}) |
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 @@ | ||
article {} |
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,22 @@ | ||
<article> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
<p>this is home page.</p> | ||
</article> |
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,10 @@ | ||
import './index.css'; | ||
import avalon, { component } from 'avalon2'; | ||
import { parseCssModule } from '../../common/common'; | ||
|
||
// console.log(parseCssModule(styles, require('./index.html')); | ||
|
||
component('ms-page2', { | ||
template: require('./index.html'), | ||
defaults: {} | ||
}) |
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,3 @@ | ||
import './Home'; | ||
import './Page1'; | ||
import './Page2'; |
Oops, something went wrong.