FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
processing-docs/generate/index.php at master · processing/processing-docs · GitHub
processing
processing-docs
Repository navigation
Code
Issues
3
(3)
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
processing-docs
/
generate
/
index.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
140 lines (106 loc) · 5.22 KB
Breadcrumbs
processing-docs
/
generate
/
index.php
Copy path
File metadata and controls
executable file
·
140 lines (106 loc) · 5.22 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<title>Processing.org Generator</title>
<link rel="stylesheet" type="text/css" href="./css/generate.css" />
</head>
<body>
<div class="wholepage">
<header class="global-header">
<h1 class="logo">Processing</h1>
</header>
<article class="main-content">
<h2>Processing.org Generator</h2>
<p>Select a preset, or choose what you’re going to update.</p>
<?php
/* you can set a notice to "alert" or "warning" */
?>
<p class="notice alert hide">Hello, this is a notice!</p>
<section class="generator">
<div class="presets">
<h3>Presets</h3>
<p>
<?php
/* each data-preset is a JSON encoded array referring to the id of a checkbox further down the page. */
?>
<a href="#" class="preset-btn" data-presets='[ "git-pull", "exhibitions" ]'>Filip</a>
<a href="#" class="preset-btn" data-presets='[ "git-pull", "tutorials" ]'>Dan</a>
<a href="#" class="preset-btn" data-presets='[ "git-pull", "libraries", "tools", "contributions-2-x", "contributions-3-x" ]'>Elie</a>
<!--<a href="#" class="preset-btn" data-presets='[ "git-pull", "cover", "environment", "examples", "static-pages", "reference" ]'>Scott</a>-->
<!--<a href="#" class="preset-btn" data-presets='[ "git-pull", "foundation" ]'>Philip</a>-->
</p>
<p>
<a href="#" class="preset-btn everything" data-presets='[ "git-pull", "cover", "reference", "exhibitions", "tutorials", "libraries", "tools", "static-pages", "examples", "environment", "contributions-3-x", "contributions-2-x" ]'>Everything</a>
<a href="#" class="preset-btn everything" data-presets='[ "git-pull", "cover", "reference", "exhibitions", "tutorials", "libraries", "tools", "static-pages", "examples", "environment" ]'>Site</a>
<a href="#" class="preset-btn everything" data-presets='[]'>Nothing</a>
</p>
</div>
<div class="options">
<h3>Options</h3>
<?php
/* each checkbox has a data-command attribute, which corresponds to a php file in the generate folder */
?>
<p class="highlight">
<input type="checkbox" name="option" value="git-pull" id="git-pull" data-command="pull_latest">
<label for="git-pull">Pull Latest Changes</label> (gets latest from 'processing-docs' repo)
</p>
<p>
<input type="checkbox" name="option" value="cover" id="cover" data-command="cover">
<label for="cover">Cover</label> (also updates Exhibition)
</p>
<p>
<input type="checkbox" name="option" value="reference" id="reference" data-command="reference">
<label for="reference">Reference</label> (pulls in latest changes to 'processing' and 'processing-sound' repos)
</p>
<p>
<input type="checkbox" name="option" value="exhibitions" id="exhibitions" data-command="exhibition">
<label for="exhibitions">Exhibition</label>
</p>
<p>
<input type="checkbox" name="option" value="tutorials" id="tutorials" data-command="tutorials">
<label for="tutorials">Tutorials</label>
</p>
<p>
<input type="checkbox" name="option" value="libraries" id="libraries" data-command="libraries" data-command-args='{ "lang": "en" }'>
<label for="libraries">Libraries</label>
</p>
<p>
<input type="checkbox" name="option" value="tools" id="tools" data-command="tools", data-command-args='{ "lang": "en" }'>
<label for="tools">Tools</label>
</p>
<p>
<input type="checkbox" name="option" value="static-pages" id="static-pages" data-command="staticpages">
<label for="static-pages">Static Pages</label>
</p>
<p>
<input type="checkbox" name="option" value="examples" id="examples" data-command="examples">
<label for="examples">Examples</label>
</p>
<p>
<input type="checkbox" name="option" value="environment" id="environment" data-command="environment">
<label for="environment">Environment</label>
</p>
<!--
<p>
<input type="checkbox" name="option" value="foundation" id="foundation" data-command="foundation">
<label for="foundation">Foundation</label>
</p>
-->
<p>
<span class="highlight">Contributions</span>
<input type="checkbox" name="option" value="contributions-2-x" id="contributions-2-x" data-command="contributions_data" data-command-args='{ "v": 2, "lang": "en" }'>
<label for="contributions-2-x">2.x</label>
<input type="checkbox" name="option" value="contributions-3-x" id="contributions-3-x" data-command="contributions_data" data-command-args='{ "v": 3, "lang": "en" }'>
<label for="contributions-3-x">3.x</label>
</p>
<p>
<a href="/contrib_generate/build.log" class="highlight">Contributions Log</a>
<input type="checkbox" name="option" value="delete-log" id="delete-log" data-command="libraries_log_delete">
<label for="delete-log">Delete</label>
</p>
<input type="submit" value="Generate" class="submit-btn" />
</div>
</section>
</article>
</div>
<article class="debug">
</article>
<script type="text/javascript" src="./javascript/reqwest.min.js"></script>
<script type="text/javascript" src="./javascript/generate.js"></script>
</body>
</html>
Back
|
FazBrowse Home
|
New Git URL