]> git.proxmox.com Git - pve-docs.git/commitdiff
use ExtJS6 for API viewer (theme crisp-touch)
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Apr 2016 13:02:17 +0000 (15:02 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 30 Apr 2016 13:07:52 +0000 (15:07 +0200)
api-viewer/PVEAPI.js
api-viewer/index.html

index ff3cd447fde239547a2a3eb8368e0df8db937783..47dbe887145fbc8891b8ba541aba57b23cfb9b28 100644 (file)
@@ -137,7 +137,7 @@ Ext.onReady(function() {
 
                    var groupingFeature = Ext.create('Ext.grid.feature.Grouping',{
                        enableGroupingMenu: false,
-                       groupHeaderTpl: '<tpl if="name">Optional</tpl><tpl if="!name">Required</tpl>'
+                       groupHeaderTpl: '<tpl if="groupValue">Optional</tpl><tpl if="!groupValue">Required</tpl>'
                    });
 
                    sections.push({
index 63a0fdef025d5181c62870aa5100fb73a78b1b0b..97ed69e4de673b96f7f7a0008f58500fcacc6e9b 100644 (file)
@@ -1,14 +1,13 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
+<!DOCTYPE html>
 <html>
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+  <head>
+    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
     <title>Proxmox VE API Documentation</title>
-    <link rel="stylesheet" type="text/css" href="http://extjs.cachefly.net/ext-4.0.2/resources/css/ext-all.css" />
 
-    <script type="text/javascript" src="http://extjs.cachefly.net/ext-4.0.2/ext-all-debug.js"></script>
+    <link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.1/classic/theme-crisp-touch/resources/theme-crisp-touch-all.css">
+   <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.1/ext-all-debug.js"></script>   
     <script type="text/javascript" src="apidoc.js"></script>
-    
 </head>
-<body>
-</body>
+<body></body>
 </html>