-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (44 loc) · 1.91 KB
/
index.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!DOCTYPE html>
<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">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>WP API REST + jquery mobile</title>
<link rel="stylesheet" href="css/post-mobile-light.css">
<link rel="stylesheet" href="css/app.css">
</head>
<body>
<div class="post-navigation-bar">
<div class="post-navigation-bar__item left quarter">
<a class="post-icon-button--quiet">
<span class="post-icon post-icon--menu-stack"></span>
</a>
</div>
<div class="post-navigation-bar__item center half">
<h1 class="post-navigation-bar__title">WP API REST + jquery mobile</h1>
</div>
<div class="post-navigation-bar__item right quarter">
<a class="post-icon-button--quiet">
<span class="post-icon post-icon--edit"></span>
</a>
</div>
</div>
<div class="post-list__container">
<p>
Este ejemplo muestra la integración del API REST de WP con jquerymobile.
Es necesario modificar el punto de entrada de WP en el <a href='js/app.js'>script app.js</a>
</p>
<h3 class="post-list header">Listado de entradas</h3>
<ul class="post-list" data-role="listview" data-filter="true" data-input="#filter-for-listview">
</ul>
</div>
<!-- When in Phonegap folder uncomment this
<script type="text/javascript" src="phonegap.js"></script> -->
<script type="text/javascript" src="js/jquery.js"></script>
<script src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<script type="text/javascript" src="js/app.js?f"></script>
<script type="text/javascript">app.init();</script>
</body>
</html>