forked from framework7io/framework7-website
-
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.
- Loading branch information
1 parent
c187a43
commit 03d4921
Showing
150 changed files
with
932 additions
and
426 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
File renamed without changes.
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
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,40 @@ | ||
block vars | ||
doctype | ||
html | ||
head | ||
meta(charset="utf-8") | ||
meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, minimal-ui, viewport-fit=cover") | ||
meta(name='apple-mobile-web-app-capable', content='yes') | ||
meta(name="apple-mobile-web-app-status-bar-style", content="black") | ||
title My App | ||
link(rel="stylesheet", href="../packages/core/css/framework7.min.css") | ||
if (includeF7Icons) | ||
link(rel="stylesheet" href="../../../css/framework7-icons.css") | ||
if (includeMaterialIcons) | ||
link(href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
rel="stylesheet") | ||
body | ||
#app | ||
f7-app | ||
block content | ||
|
||
script(src="https://cdn.jsdelivr.net/npm/vue") | ||
script(src="../packages/vue/framework7-vue.min.js") | ||
script(src="../packages/core/js/framework7.min.js") | ||
script. | ||
if (Framework7.use) Framework7.use(Framework7Vue); | ||
else if (Framework7.Class && Framework7.Class.use) Framework7.Class.use(Framework7Vue); | ||
|
||
var theme = 'ios'; | ||
if (location.href.indexOf('theme=md') >= 0) theme = 'md'; | ||
var plugin = { | ||
params: { | ||
theme: theme, | ||
root: '#app', | ||
} | ||
}; | ||
|
||
if (Framework7.use) Framework7.use(plugin); | ||
else if (Framework7.Class && Framework7.Class.use) Framework7.Class.use(plugin); | ||
|
||
block scripts |
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,81 @@ | ||
extends _layout | ||
block vars | ||
- includeF7Icons = true | ||
- includeMaterialIcons = true | ||
block content | ||
.view.view-main.view-init | ||
.page | ||
.navbar | ||
.navbar-inner | ||
.left | ||
.title Range Slider | ||
.right | ||
.page-content | ||
<div class="block-title">Volume</div> | ||
<div class="list simple-list"> | ||
<ul> | ||
<li> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">volume_mute_fill</i> | ||
<i class="icon material-icons md-only">volume_mute</i> | ||
</div> | ||
<div class="item-cell flex-shrink-3"> | ||
<div class="range-slider range-slider-init"> | ||
<input type="range" min="0" max="100" step="1" value="10"> | ||
</div> | ||
</div> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">volume_fill</i> | ||
<i class="icon material-icons md-only">volume_up</i> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="block-title">Brightness</div> | ||
<div class="list simple-list"> | ||
<ul> | ||
<li> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">circle</i> | ||
<i class="icon material-icons md-only">brightness_low</i> | ||
</div> | ||
<div class="item-cell flex-shrink-3"> | ||
<div class="range-slider range-slider-init color-orange" data-label="true"> | ||
<input type="range" min="0" max="100" step="1" value="50"> | ||
</div> | ||
</div> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">circle_half</i> | ||
<i class="icon material-icons md-only">brightness_high</i> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="block-title display-flex justify-content-space-between">Price Filter <span class="price-value">$200 - $400</span></div> | ||
<div class="list simple-list"> | ||
<ul> | ||
<li class="item-row"> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">money_dollar</i> | ||
<i class="icon material-icons md-only">attach_money</i> | ||
</div> | ||
<div class="item-cell item-cell-shrink-3"> | ||
<div id="price-filter" class="range-slider range-slider-init color-green" data-label="true" data-dual="true" data-min="0" data-max="500" data-step="1" data-value-left="200" data-value-right="400"></div> | ||
</div> | ||
<div class="item-cell width-auto flex-shrink-0"> | ||
<i class="icon f7-icons ios-only">money_dollar_fill</i> | ||
<i class="icon material-icons md-only">monetization_on</i> | ||
</div> | ||
</li> | ||
</ul> | ||
</div> | ||
block scripts | ||
script. | ||
var app = new Framework7(); | ||
|
||
var $$ = Dom7; | ||
|
||
$$('#price-filter').on('range:change', function (e, range) { | ||
$$('.price-value').text('$'+(range.value[0])+' - $'+(range.value[1])); | ||
}); | ||
|
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
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
Oops, something went wrong.