##// END OF EJS Templates
documentation edits
lisaq -
Show More
@@ -60,6 +60,9 b' coverage.xml'
60 60 *.mo
61 61 *.pot
62 62
63 # Mac stuff:
64 *.DS_Store
65
63 66 # Django stuff:
64 67 *.log
65 68 local_settings.py
@@ -1795,129 +1795,129 b' return{compile:function(a,b){var c=f(t);return function(a,b,d,f){function j(){N.'
1795 1795 }
1796 1796 };
1797 1797 });
1798 ;//Copyright (C) 2012 Kory Nunn
1799
1800 //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1801
1802 //The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1803
1804 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1805
1806 /*
1807
1808 This code is not formatted for readability, but rather run-speed and to assist compilers.
1809
1810 However, the code's intention should be transparent.
1811
1812 *** IE SUPPORT ***
1813
1814 If you require this library to work in IE7, add the following after declaring crel.
1815
1816 var testDiv = document.createElement('div'),
1817 testLabel = document.createElement('label');
1818
1819 testDiv.setAttribute('class', 'a');
1820 testDiv['className'] !== 'a' ? crel.attrMap['class'] = 'className':undefined;
1821 testDiv.setAttribute('name','a');
1822 testDiv['name'] !== 'a' ? crel.attrMap['name'] = function(element, value){
1823 element.id = value;
1824 }:undefined;
1825
1826
1827 testLabel.setAttribute('for', 'a');
1828 testLabel['htmlFor'] !== 'a' ? crel.attrMap['for'] = 'htmlFor':undefined;
1829
1830
1831
1832 */
1833
1834 (function (root, factory) {
1835 if (typeof exports === 'object') {
1836 if (!root.window) {
1837 var jsdom = require('jsdom').jsdom;
1838 root.window = jsdom().parentWindow;
1839 }
1840 module.exports = factory(root.window);
1841 } else if (typeof define === 'function' && define.amd) {
1842 define(factory.bind(null, window));
1843 } else {
1844 root.crel = factory(root.window);
1845 }
1846 }(this, function (window) {
1847 // based on http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object
1848 var isNode = typeof Node === 'object'
1849 ? function (object) { return object instanceof Node }
1850 : function (object) {
1851 return object
1852 && typeof object === 'object'
1853 && typeof object.nodeType === 'number'
1854 && typeof object.nodeName === 'string';
1855 };
1856
1857 function crel(){
1858 var document = window.document,
1859 args = arguments, //Note: assigned to a variable to assist compilers. Saves about 40 bytes in closure compiler. Has negligable effect on performance.
1860 element = document.createElement(args[0]),
1861 child,
1862 settings = args[1],
1863 childIndex = 2,
1864 argumentsLength = args.length,
1865 attributeMap = crel.attrMap;
1866
1867 // shortcut
1868 if(argumentsLength === 1){
1869 return element;
1870 }
1871
1872 if(typeof settings !== 'object' || isNode(settings)) {
1873 --childIndex;
1874 settings = null;
1875 }
1876
1877 // shortcut if there is only one child that is a string
1878 if((argumentsLength - childIndex) === 1 && typeof args[childIndex] === 'string' && element.textContent !== undefined){
1879 element.textContent = args[childIndex];
1880 }else{
1881 for(; childIndex < argumentsLength; ++childIndex){
1882 child = args[childIndex];
1883
1884 if(child == null){
1885 continue;
1886 }
1887
1888 if(!isNode(child)){
1889 child = document.createTextNode(child);
1890 }
1891
1892 element.appendChild(child);
1893 }
1894 }
1895
1896 for(var key in settings){
1897 if(!attributeMap[key]){
1898 element.setAttribute(key, settings[key]);
1899 }else{
1900 var attr = crel.attrMap[key];
1901 if(typeof attr === 'function'){
1902 attr(element, settings[key]);
1903 }else{
1904 element.setAttribute(attr, settings[key]);
1905 }
1906 }
1907 }
1908
1909 return element;
1910 }
1911
1912 // Used for mapping one kind of attribute to the supported version of that in bad browsers.
1913 // String referenced so that compilers maintain the property name.
1914 crel['attrMap'] = {};
1915
1916 // String referenced so that compilers maintain the property name.
1917 crel["isNode"] = isNode;
1918
1919 return crel;
1920 }));
1798 ;//Copyright (C) 2012 Kory Nunn
1799
1800 //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
1801
1802 //The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
1803
1804 //THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1805
1806 /*
1807
1808 This code is not formatted for readability, but rather run-speed and to assist compilers.
1809
1810 However, the code's intention should be transparent.
1811
1812 *** IE SUPPORT ***
1813
1814 If you require this library to work in IE7, add the following after declaring crel.
1815
1816 var testDiv = document.createElement('div'),
1817 testLabel = document.createElement('label');
1818
1819 testDiv.setAttribute('class', 'a');
1820 testDiv['className'] !== 'a' ? crel.attrMap['class'] = 'className':undefined;
1821 testDiv.setAttribute('name','a');
1822 testDiv['name'] !== 'a' ? crel.attrMap['name'] = function(element, value){
1823 element.id = value;
1824 }:undefined;
1825
1826
1827 testLabel.setAttribute('for', 'a');
1828 testLabel['htmlFor'] !== 'a' ? crel.attrMap['for'] = 'htmlFor':undefined;
1829
1830
1831
1832 */
1833
1834 (function (root, factory) {
1835 if (typeof exports === 'object') {
1836 if (!root.window) {
1837 var jsdom = require('jsdom').jsdom;
1838 root.window = jsdom().parentWindow;
1839 }
1840 module.exports = factory(root.window);
1841 } else if (typeof define === 'function' && define.amd) {
1842 define(factory.bind(null, window));
1843 } else {
1844 root.crel = factory(root.window);
1845 }
1846 }(this, function (window) {
1847 // based on http://stackoverflow.com/questions/384286/javascript-isdom-how-do-you-check-if-a-javascript-object-is-a-dom-object
1848 var isNode = typeof Node === 'object'
1849 ? function (object) { return object instanceof Node }
1850 : function (object) {
1851 return object
1852 && typeof object === 'object'
1853 && typeof object.nodeType === 'number'
1854 && typeof object.nodeName === 'string';
1855 };
1856
1857 function crel(){
1858 var document = window.document,
1859 args = arguments, //Note: assigned to a variable to assist compilers. Saves about 40 bytes in closure compiler. Has negligable effect on performance.
1860 element = document.createElement(args[0]),
1861 child,
1862 settings = args[1],
1863 childIndex = 2,
1864 argumentsLength = args.length,
1865 attributeMap = crel.attrMap;
1866
1867 // shortcut
1868 if(argumentsLength === 1){
1869 return element;
1870 }
1871
1872 if(typeof settings !== 'object' || isNode(settings)) {
1873 --childIndex;
1874 settings = null;
1875 }
1876
1877 // shortcut if there is only one child that is a string
1878 if((argumentsLength - childIndex) === 1 && typeof args[childIndex] === 'string' && element.textContent !== undefined){
1879 element.textContent = args[childIndex];
1880 }else{
1881 for(; childIndex < argumentsLength; ++childIndex){
1882 child = args[childIndex];
1883
1884 if(child == null){
1885 continue;
1886 }
1887
1888 if(!isNode(child)){
1889 child = document.createTextNode(child);
1890 }
1891
1892 element.appendChild(child);
1893 }
1894 }
1895
1896 for(var key in settings){
1897 if(!attributeMap[key]){
1898 element.setAttribute(key, settings[key]);
1899 }else{
1900 var attr = crel.attrMap[key];
1901 if(typeof attr === 'function'){
1902 attr(element, settings[key]);
1903 }else{
1904 element.setAttribute(attr, settings[key]);
1905 }
1906 }
1907 }
1908
1909 return element;
1910 }
1911
1912 // Used for mapping one kind of attribute to the supported version of that in bad browsers.
1913 // String referenced so that compilers maintain the property name.
1914 crel['attrMap'] = {};
1915
1916 // String referenced so that compilers maintain the property name.
1917 crel["isNode"] = isNode;
1918
1919 return crel;
1920 }));
1921 1921
1922 1922 ;/*globals define, module, require, document*/
1923 1923 (function (root, factory) {
@@ -5748,10 +5748,10 b' function kickstartAE() {'
5748 5748 "\n" +
5749 5749 "<p>\n" +
5750 5750 " <span class=\"point\">1</span>\n" +
5751 " For App Enlight to operate you need to\n" +
5752 " <a data-ui-sref=\"applications.update({resourceId:'new'})\" target=\"_blank\"><strong>create app profile</strong></a> that allows\n" +
5751 " For App Enlight to operate, you need to\n" +
5752 " <a data-ui-sref=\"applications.update({resourceId:'new'})\" target=\"_blank\"><strong>create an app profile</strong></a> that allows\n" +
5753 5753 " you to\n" +
5754 " obtain <strong>API key</strong> that one of the clients can use.\n" +
5754 " obtain an <strong>API key</strong> that one of the clients can use.\n" +
5755 5755 "</p>\n" +
5756 5756 "\n" +
5757 5757 "<div class=\"clear\"></div>\n" +
@@ -5767,7 +5767,7 b' function kickstartAE() {'
5767 5767 "\n" +
5768 5768 "<p>\n" +
5769 5769 " It can be the same email account you used to register withing App Enlight -\n" +
5770 " although we often recommend using separate <em>errors@...</em> account\n" +
5770 " although we often recommend using a separate <em>errors@...</em> account\n" +
5771 5771 " designated for alert notifications.\n" +
5772 5772 "</p>\n" +
5773 5773 "\n" +
@@ -13,20 +13,20 b''
13 13 <h2 style="text-align: center">{{_('App Enlight quickstart')}}</h2>
14 14 <h3 style="text-align: center"><span class="point">1 Create application</span></h3>
15 15 <p>
16 For App Enlight to operate you need to
17 <a href="{{request.route_url('/', _app_url=_mail_url)}}ui/applications/new/update" target="_blank"><strong>create application profile</strong></a> that allows you to
18 obtain <strong>API key</strong> that one of the clients can use.
16 For App Enlight to operate, you need to
17 <a href="{{request.route_url('/', _app_url=_mail_url)}}ui/applications/new/update" target="_blank"><strong>create an application profile</strong></a> that allows you to
18 obtain an <strong>API key</strong> that one of the clients can use.
19 19 </p>
20 20 <div class="clear"></div>
21 21
22 22 <h3 style="text-align: center"><span class="point">2 Integrate our client</span></h3>
23 23 <p>
24 In order for your application to stream meaningful information you will need to
24 In order for your application to stream meaningful information, you will need to
25 25 integrate a compatible client for your language of choice.
26 26 </p>
27 27
28 <p>Head over to <strong>developers section</strong></a> for information on currently available
29 clients that you can plug into your software</p>
28 <p>Head over to the <strong>developers section</strong></a> for information on currently available
29 clients that you can plug into your software</p>.
30 30
31 31 <p>In case of any issues or questions you might be having with integration,
32 32 feel free to contact us: <a href="mailto:info@appenlight.com"><strong>info@appenlight.com</strong></a></p>
@@ -41,7 +41,7 b''
41 41
42 42 <p>
43 43 It can be the same email account you used to register with App Enlight -
44 although we often recommend using separate <em>errors@...</em> account
44 although we often recommend using a separate <em>errors@...</em> account
45 45 designated for alert notifications.
46 46 </p>
47 47 <div class="clear"></div>
@@ -2,10 +2,10 b''
2 2
3 3 <p>
4 4 <span class="point">1</span>
5 For App Enlight to operate you need to
6 <a data-ui-sref="applications.update({resourceId:'new'})" target="_blank"><strong>create app profile</strong></a> that allows
5 For App Enlight to operate, you need to
6 <a data-ui-sref="applications.update({resourceId:'new'})" target="_blank"><strong>create an app profile</strong></a> that allows
7 7 you to
8 obtain <strong>API key</strong> that one of the clients can use.
8 obtain an <strong>API key</strong> that one of the clients can use.
9 9 </p>
10 10
11 11 <div class="clear"></div>
@@ -21,7 +21,7 b''
21 21
22 22 <p>
23 23 It can be the same email account you used to register withing App Enlight -
24 although we often recommend using separate <em>errors@...</em> account
24 although we often recommend using a separate <em>errors@...</em> account
25 25 designated for alert notifications.
26 26 </p>
27 27
@@ -30,10 +30,10 b''
30 30
31 31 <p>
32 32 <span class="point">3</span>
33 In order for your application to stream meaningful information you will need to
33 In order for your application to stream meaningful information, you will need to
34 34 integrate a compatible client for your language of choice.
35 35 </p>
36 36
37 <p>Head over to <a href="{{AeConfig.urls.docs}}" target="_blank">
37 <p>Head over to the <a href="{{AeConfig.urls.docs}}" target="_blank">
38 38 <strong>developers section</strong></a> for information on currently available
39 39 clients that you can plug into your software</p>
General Comments 0
You need to be logged in to leave comments. Login now