-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewer.html
30 lines (26 loc) · 1.72 KB
/
viewer.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<title>زاد العباد ليوم المعاد: أدعية</title>
<!-- simply.js modules -->
<script id='lib-comp-base' type=module src='./n_modules/@simplyjs/lib/dist/comp/base.js'></script>
<script id='lib-comp-router' type=module src='./n_modules/@simplyjs/lib/dist/comp/router.js'></script>
<script id='lib-dom-chain' type=module src='./n_modules/@simplyjs/lib/dist/dom/chain.g.js'></script>
<!-- core modules -->
<script id='base' type=module src='./base.js'></script>
<script id='obj' type=module src='./obj.js'></script>
<link preserve-on-route id='global-style' rel=stylesheet href='./base.css'>
<script id='viewer-page' type=module src='./src/viewerPage.js'></script>
<link rel=stylesheet href='./viewer.css'>
<div id=main comp-name='lazy:viewer' is-root path='./'>
<div id=filler>
<div id=title r:on bind(title):text>{title}</div>
<span id=source class=button r:on bind(source):if='source' bind(source):text>مصدر: {source}</span>
<span id=page class=button r:on bind(page):if='page' bind(page):text>صفحة: {page}</span>
<span id='prev' class=button r:on bind(is-multi):if='isMulti' on(click):call='["prev"]'>السابق</span>
<span id='next' class=button r:on bind(is-multi):if='isMulti' on(click):call='["next"]'>التالي</span>
<span id='decFont' class=button r:on on(click):call='["decFont"]'>تصغير الخط</span>
<span id='incFont' class=button r:on on(click):call='["incFont"]'>تكبير الخط</span>
<span id='changeFont' class=button r:on on(click):call='["changeFont"]'>تغيير الخط</span>
<span id='addToFavorite' class=button r:on on(click):call='["addToFavorite"]'>أضافة الى المفضلة</span>
<div id='content' r:on comp:ref=content></div>
</div>
</div>