cyberweb 0.6.17 → 0.7.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cyberweb might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +299 -134
- data/bin/images_from_this_webpage +11 -0
- data/doc/README.gen +276 -107
- data/doc/todo/todo_for_the_cyberweb_project.md +90 -90
- data/examples/css/day_night_toggle/day_night_toggle.html +202 -0
- data/examples/css/fleeing_dinosaur_animation/fleeing_dinosaur_animation.html +420 -0
- data/examples/css/important_style/important_style.html +35 -0
- data/examples/html/custom_cursor.html +1 -1
- data/examples/javascript_and_jquery/misc/miscallenous_javascript_examples.html +25 -0
- data/examples/javascript_and_jquery/roll_a_die/roll_a_die.html +48 -0
- data/lib/cyberweb/base/misc.rb +7 -0
- data/lib/cyberweb/cascading_style_sheets/div.css +2 -2
- data/lib/cyberweb/cascading_style_sheets/drop_shadow.css +4 -0
- data/lib/cyberweb/cascading_style_sheets/fonts.css +42 -30
- data/lib/cyberweb/cascading_style_sheets/glow_effects.css +58 -0
- data/lib/cyberweb/cascading_style_sheets/margin.css +254 -248
- data/lib/cyberweb/cascading_style_sheets/tooltip.css +73 -0
- data/lib/cyberweb/generator/cgi.rb +2 -1
- data/lib/cyberweb/javascript_code/custom_functions.js +16 -16
- data/lib/cyberweb/javascript_code/math.js +18 -0
- data/lib/cyberweb/javascript_code/simulate_a_dice.js +13 -5
- data/lib/cyberweb/sinatra/custom_extensions.rb +2 -2
- data/lib/cyberweb/toplevel_methods/misc.rb +44 -0
- data/lib/cyberweb/utility_scripts/create_coloured_tags.rb +1 -5
- data/lib/cyberweb/utility_scripts/download_balloon_css.rb +1 -5
- data/lib/cyberweb/utility_scripts/fix_incorrect_links_to_locally_existing_images_in_this_file.rb +5 -33
- data/lib/cyberweb/utility_scripts/hyperlink_all_images_from.rb +1 -5
- data/lib/cyberweb/utility_scripts/obtain_css_rules.rb +169 -0
- data/lib/cyberweb/version/version.rb +2 -2
- data/lib/cyberweb/web_object/html_tags.rb +12 -1
- data/lib/cyberweb/web_object/images.rb +534 -178
- data/lib/cyberweb/web_object/javascript_and_jquery.rb +9 -9
- data/lib/cyberweb/web_object/link.rb +102 -67
- data/lib/cyberweb/web_object/misc.rb +320 -518
- data/lib/cyberweb/yaml/js_files_to_load.yml +3 -2
- data/lib/cyberweb/yaml/load_these_yaml_files_by_default.yml +1 -0
- data/test/complex_tests/testing_style_variants/show_coloured_boxes.cgi +2 -2
- data/test/javascript/testing_various_javascript_related_APIs.html +17 -0
- data/test/simple_tests/testing_dragging_an_image.cgi +2 -0
- data/test/simple_tests/testing_uniform_css_rules_for_all_images.cgi +25 -0
- metadata +15 -5
@@ -1,11 +1,5 @@
|
|
1
1
|
--------------------------------------------------------------------------------
|
2
|
-
(1) →
|
3
|
-
^^^ in webobject will mean that we have black border 1
|
4
|
-
for all images by default.
|
5
|
-
ENABLE AND DOCUMENT THIS!!!!!!!
|
6
|
-
And test it too.
|
7
|
-
--------------------------------------------------------------------------------
|
8
|
-
(2) → add a simple and documented way to convert from csv into
|
2
|
+
(1) → add a simple and documented way to convert from csv into
|
9
3
|
table format
|
10
4
|
csv_from_file_to_table
|
11
5
|
or something liket hat.
|
@@ -14,19 +8,19 @@
|
|
14
8
|
This has been implemented but not yet documented.
|
15
9
|
What does this mean, though?
|
16
10
|
--------------------------------------------------------------------------------
|
17
|
-
(
|
11
|
+
(2) → ability to use different CSS templates quickly
|
18
12
|
to change the look and style of any site
|
19
13
|
--------------------------------------------------------------------------------
|
20
|
-
(
|
14
|
+
(3) → Ability to generate static html sites.
|
21
15
|
The whole layout should be also put into static html and
|
22
16
|
then upload to a remote host! \o/
|
23
17
|
--------------------------------------------------------------------------------
|
24
|
-
(
|
18
|
+
(4) → in img:
|
25
19
|
img 'FOO/BAR'
|
26
20
|
und wenn es hinter keine Endung .png oder .jpg gibt, dann machen
|
27
21
|
wir ein glob und versuchen irgend etwas zu finden.
|
28
22
|
--------------------------------------------------------------------------------
|
29
|
-
(
|
23
|
+
(5) → Wir erstellen eine inline .css Datei.
|
30
24
|
Die nur genau jene Elemente enthält, die in einer webpage auch vorkommen
|
31
25
|
können.
|
32
26
|
This already works like:
|
@@ -35,10 +29,10 @@
|
|
35
29
|
(a) Fetch all these entries (use a little class, a converter...)
|
36
30
|
(b) put this into a giant string and generate an inline css for this
|
37
31
|
--------------------------------------------------------------------------------
|
38
|
-
(
|
32
|
+
(6) → > Integriere Sinatra-Funktionalität in WebFoundation, also
|
39
33
|
langsam Sinatra erlernen. Insbesondere das Routing.
|
40
34
|
--------------------------------------------------------------------------------
|
41
|
-
(
|
35
|
+
(7) → Flexible Menügenerierung:
|
42
36
|
Schneiden Sie mit dem grafischen Editor Menüs auf Bedürfnisse von Man-
|
43
37
|
^^ allow us to create easy menus (meta menus):
|
44
38
|
menu 'foo','bla','ble'
|
@@ -47,7 +41,7 @@
|
|
47
41
|
add + document them
|
48
42
|
remove this here, then upload to rubygems
|
49
43
|
--------------------------------------------------------------------------------
|
50
|
-
(
|
44
|
+
(8) → # ======================================================================== #
|
51
45
|
# This is a clone of Webmin. In addition to what webmin allows, the
|
52
46
|
# features of this webmin clone will be manifold, such as the ones
|
53
47
|
# that are listed below.
|
@@ -109,12 +103,12 @@
|
|
109
103
|
bestimmte verzeichnisse einlesen kann und diese bilder nach
|
110
104
|
id oder namen ausgeben kann - evtl auch nach Größe.
|
111
105
|
--------------------------------------------------------------------------------
|
112
|
-
(
|
106
|
+
(9) → dig through the php docu and integrate things that seem useful.
|
113
107
|
--------------------------------------------------------------------------------
|
114
|
-
(
|
108
|
+
(10) → Work through How2Do and look if we can streamline / integrate stuff.
|
115
109
|
bl how2do; rf how2do
|
116
110
|
--------------------------------------------------------------------------------
|
117
|
-
(
|
111
|
+
(11) → Todo bei webmin.cgi überarbeiten/abarbeiten.
|
118
112
|
rf webmin
|
119
113
|
pwdrbsrc
|
120
114
|
cd WWW/cybersprawl
|
@@ -148,16 +142,16 @@
|
|
148
142
|
(2)
|
149
143
|
div_fin {} is not working as expected. WHY NOT!
|
150
144
|
--------------------------------------------------------------------------------
|
151
|
-
(
|
145
|
+
(12) → add support for erb.
|
152
146
|
first extend this on
|
153
147
|
todoc: bl erb; rf ruby erb
|
154
148
|
then add it.
|
155
149
|
--------------------------------------------------------------------------------
|
156
|
-
(
|
150
|
+
(13) → Reach a point where we can simply copy a remote webpage, and transform all
|
157
151
|
of its components into the logic of a local page.
|
158
152
|
bl $CYBERWEB/standalone_classes/turn_html_into_cyberweb.rb
|
159
153
|
--------------------------------------------------------------------------------
|
160
|
-
(
|
154
|
+
(14) → fieldset.id = 'bla'
|
161
155
|
^^^ Jedes HTML Element, das registriert ist, muss ein OpenStruct sein.
|
162
156
|
class Foo < OpenStruct
|
163
157
|
end
|
@@ -169,7 +163,7 @@
|
|
169
163
|
Eventually sollte das einen default Wert setzen.
|
170
164
|
Aber ich weiss nicht...
|
171
165
|
--------------------------------------------------------------------------------
|
172
|
-
(
|
166
|
+
(15) → propel.targetPackage = lib.model
|
173
167
|
propel.packageObjectModel = true
|
174
168
|
propel.project = blog
|
175
169
|
propel.database = mysql
|
@@ -185,9 +179,9 @@
|
|
185
179
|
Aber was machen wir dann? Wie holen wir daten da raus?
|
186
180
|
Noch keine Ahnung.
|
187
181
|
--------------------------------------------------------------------------------
|
188
|
-
(
|
182
|
+
(16) → extend on dragula, so that we can do fancier stuff
|
189
183
|
--------------------------------------------------------------------------------
|
190
|
-
(
|
184
|
+
(17) → Wir brauchen einen weg das letzte Tag anzusprechen. Beispiel:
|
191
185
|
img 'LAYOUT.png','mar8px FLL'
|
192
186
|
Dieses Image sollte man dann so verwenden können.
|
193
187
|
last_object.onmousedown = 'dragstart(this)'
|
@@ -196,10 +190,10 @@
|
|
196
190
|
^^^ THis will already store the last ID too.
|
197
191
|
Ok, seit Dezember 2014 ist es nun möglich das letzte Tag zu verwenden.
|
198
192
|
--------------------------------------------------------------------------------
|
199
|
-
(
|
193
|
+
(18) → Feed some class arbitrary html and convert this into
|
200
194
|
cyberweb-conforming generators.
|
201
195
|
--------------------------------------------------------------------------------
|
202
|
-
(
|
196
|
+
(19) → === We must redirect output into the web object.
|
203
197
|
Perhaps we should do another rewrite, where we write up the default
|
204
198
|
tests first. And clean up as we go.
|
205
199
|
^^^^
|
@@ -229,15 +223,15 @@
|
|
229
223
|
text("Hello Prawn!")
|
230
224
|
}
|
231
225
|
--------------------------------------------------------------------------------
|
232
|
-
(
|
226
|
+
(20) → Consider switching to a database-layout and enable a plugin
|
233
227
|
structure with different database-adapters.
|
234
228
|
^^^ The above should probably also store everything into
|
235
229
|
a database.
|
236
230
|
--------------------------------------------------------------------------------
|
237
|
-
(
|
231
|
+
(21) → Try to add activerecord. For this to work, we must first work a
|
238
232
|
bit with activerecord. (And maybe we should try to install rails)
|
239
233
|
--------------------------------------------------------------------------------
|
240
|
-
(
|
234
|
+
(22) → Sending an email is as simple as using the composeAndSend()
|
241
235
|
method from an action:
|
242
236
|
$this->getMailer()->composeAndSend(
|
243
237
|
'from@example.com', 'to@example.com', 'Subject', 'Body'
|
@@ -253,7 +247,7 @@
|
|
253
247
|
This can work through sendmail but logically sendmail must exist.
|
254
248
|
http://localhost/PROGRAMMING_LANGUAGES/RUBY/SRC/cyberweb/test/testing_email.cgi
|
255
249
|
--------------------------------------------------------------------------------
|
256
|
-
(
|
250
|
+
(23) → Anschauen ob man den pretty_url kerl da mit den installable
|
257
251
|
URLs installieren kann.
|
258
252
|
Kann man, und zwar über url_action.
|
259
253
|
Aber da klappt was mit den requires nicht.
|
@@ -269,19 +263,19 @@
|
|
269
263
|
Ruby-Webmin (cybermin) werden, also das Testen.
|
270
264
|
^^^ Nein das geht mit Easycompile.
|
271
265
|
--------------------------------------------------------------------------------
|
272
|
-
(
|
266
|
+
(24) → html { head; body { p { "I'm awesome!" } } }
|
273
267
|
^^^ the cyberweb framework should allow this as well
|
274
268
|
include Cyberweb
|
275
269
|
include HtmlTags
|
276
270
|
html { head; body { p { "I'm awesome!" } } }
|
277
271
|
Hmmmm.
|
278
272
|
--------------------------------------------------------------------------------
|
279
|
-
(
|
273
|
+
(25) → Von Markaby lernen heisst siegen lernen -> anschauen was
|
280
274
|
man da verwenden kann. Die haben einen HTML Generator
|
281
275
|
der brauchbar ist:
|
282
276
|
https://github.com/markaby/markaby
|
283
277
|
--------------------------------------------------------------------------------
|
284
|
-
(
|
278
|
+
(26) → === IMPROVE THE FRAMES-CODE PART OF CYBERWEB.
|
285
279
|
Right now we can do frames like so:
|
286
280
|
w.frame_left 'foo.cgi'
|
287
281
|
w.frame_right 'bla.cgi'
|
@@ -307,7 +301,7 @@
|
|
307
301
|
frameset('30,40') { 'FRAME_LEFT.html,FRAME_RIGHT.html' }
|
308
302
|
Hmm. Das klappt, glaube ich... testen, dann entfernen.
|
309
303
|
--------------------------------------------------------------------------------
|
310
|
-
(
|
304
|
+
(27) → Globally enable drag-all functionality for all images on a webpage.
|
311
305
|
By using something like:
|
312
306
|
w {
|
313
307
|
enable 'drag_all_images'
|
@@ -323,15 +317,15 @@
|
|
323
317
|
Test it, then document it, then upload.
|
324
318
|
Irgendwas stimmt da tatsächlich nicht.... ich check das nicht.
|
325
319
|
--------------------------------------------------------------------------------
|
326
|
-
(
|
320
|
+
(28) → === Extend Webmin functionality
|
327
321
|
--------------------------------------------------------------------------------
|
328
|
-
(
|
322
|
+
(29) → Debug Toolbar
|
329
323
|
Irgendwann, wenn wir mal WebApps schreiben, machen wir so eine
|
330
324
|
Debug Toolbar. Die sollte auch status information anzeigen können.
|
331
325
|
Also see:
|
332
326
|
http://django-debug-toolbar.readthedocs.org/en/1.3/panels.html
|
333
327
|
--------------------------------------------------------------------------------
|
334
|
-
(
|
328
|
+
(30) → Gegeben ist:
|
335
329
|
read_display 'foo'
|
336
330
|
Nun wollen wir eine Möglichkeit haben, herauszufinden:
|
337
331
|
(a) Wo diese Methode definiert ist.
|
@@ -342,17 +336,17 @@
|
|
342
336
|
find_end.rb
|
343
337
|
Das geht eigentlich schon über die DiamondShell.
|
344
338
|
--------------------------------------------------------------------------------
|
345
|
-
(
|
339
|
+
(31) → Factor out:
|
346
340
|
CGI.new.params
|
347
341
|
So that we don't depend on ruby-cgi anymore.
|
348
342
|
Perhaps as a first step, we will copy all of cgi into cyberweb,
|
349
343
|
and then slowly phase it.
|
350
344
|
--------------------------------------------------------------------------------
|
351
|
-
(
|
345
|
+
(32) → Wenn eine CSS klasse verlinkt wird, sie aber nicht existiert,
|
352
346
|
dann reporten wir das im debug mode.
|
353
347
|
^^^^^^^^^^^^
|
354
348
|
--------------------------------------------------------------------------------
|
355
|
-
(
|
349
|
+
(33) → https://github.com/rdoc/rdoc/blob/master/lib/rdoc/encoding.rb#L21-46
|
356
350
|
^^^ das is cool... wir sollten das eines Tages implementieren,
|
357
351
|
so ein line highlighting.
|
358
352
|
if params.include?('#') and params.include?('-') and params.include?('L')
|
@@ -364,7 +358,7 @@
|
|
364
358
|
http://localhost/MISC/SITEMAP.cgi?show_source
|
365
359
|
Now this works. We have to add some highlight-thingy though.
|
366
360
|
--------------------------------------------------------------------------------
|
367
|
-
(
|
361
|
+
(34) → improve on dragula
|
368
362
|
dragula([document.getElementById(left), document.getElementById(right)], {
|
369
363
|
moves: function (el, container, handle) {
|
370
364
|
return handle.className === 'handle';
|
@@ -373,27 +367,27 @@
|
|
373
367
|
^^^ add handles,
|
374
368
|
also perhaps images as these handles
|
375
369
|
--------------------------------------------------------------------------------
|
376
|
-
(
|
370
|
+
(35) → img 'chemistry/teflon'
|
377
371
|
^^^ also enable this here
|
378
372
|
so that we don't have to specify the full location.
|
379
373
|
--------------------------------------------------------------------------------
|
380
|
-
(
|
374
|
+
(36) → ?sys_information also does not work.
|
381
375
|
rf sitemap ?sys_information
|
382
376
|
--------------------------------------------------------------------------------
|
383
|
-
(
|
377
|
+
(37) → in cyberweb, find a way to add a special environment so that
|
384
378
|
my variables are also known.
|
385
379
|
Cyberweb.add_this_environment_variable(hash_here)
|
386
380
|
This method now exists and it also works; we have to generate all
|
387
381
|
my variables first before this can work completely.
|
388
382
|
This may require another project ... hmmm...
|
389
383
|
--------------------------------------------------------------------------------
|
390
|
-
(
|
384
|
+
(38) → finish the cgi? environment
|
391
385
|
right now there is a bug so that does not work.
|
392
386
|
--------------------------------------------------------------------------------
|
393
|
-
(
|
387
|
+
(39) → Scroll down with a delay through jquery.
|
394
388
|
Add it!
|
395
389
|
--------------------------------------------------------------------------------
|
396
|
-
(
|
390
|
+
(40) → also ... we need to be able to describe a valid HTML document
|
397
391
|
w {
|
398
392
|
}
|
399
393
|
^^^ the above should give us a full valid HTML document,
|
@@ -514,12 +508,12 @@
|
|
514
508
|
# bar = Bar.new # But we want foo to add into @string.
|
515
509
|
# e bar.string
|
516
510
|
--------------------------------------------------------------------------------
|
517
|
-
(
|
511
|
+
(41) → FS_BIGGER
|
518
512
|
^^^ when a CSS class is not found, report it.
|
519
513
|
This exists now in the file:
|
520
514
|
all_css_classes.rb
|
521
515
|
--------------------------------------------------------------------------------
|
522
|
-
(
|
516
|
+
(42) → add support for gettext
|
523
517
|
http://sevenseacat.net/
|
524
518
|
An introduction to I18n with Gettext
|
525
519
|
Gettext is an established standard for doing i18n and l10n in any
|
@@ -530,11 +524,11 @@
|
|
530
524
|
done in web/templates/page/index.html.eex -
|
531
525
|
<h2><%= gettext "Welcome to %{name}", name: "Phoenix!" %></h2>
|
532
526
|
--------------------------------------------------------------------------------
|
533
|
-
(
|
527
|
+
(43) → clone the functionality of webmin
|
534
528
|
--------------------------------------------------------------------------------
|
535
|
-
(
|
529
|
+
(44) → we must be able to play local video files
|
536
530
|
--------------------------------------------------------------------------------
|
537
|
-
(
|
531
|
+
(45) → https://jqueryui.com/resizable/
|
538
532
|
add support for resizable; when this is done,
|
539
533
|
perhaps move one down the line from
|
540
534
|
there adn continue
|
@@ -542,15 +536,15 @@
|
|
542
536
|
https://jqueryui.com/resizable/
|
543
537
|
^^^ take this example
|
544
538
|
--------------------------------------------------------------------------------
|
545
|
-
(
|
539
|
+
(46) → javascript charts
|
546
540
|
- start with google charts, but branch out to other charts lateron as well.
|
547
541
|
This sorta works but we have to continue this, then add docu.
|
548
542
|
https://developers.google.com/chart/interactive/docs/quick_start
|
549
543
|
--------------------------------------------------------------------------------
|
550
|
-
(
|
544
|
+
(47) → # self.append_to_tables << result if result # Store the result in our Tables.
|
551
545
|
^^^ this does not work no clue why not
|
552
546
|
--------------------------------------------------------------------------------
|
553
|
-
(
|
547
|
+
(48) → import io.kweb.*
|
554
548
|
import io.kweb.dom.element.*
|
555
549
|
fun main(args : Array<String>) {
|
556
550
|
Kweb(port = 8091) {
|
@@ -563,23 +557,23 @@
|
|
563
557
|
überlegen ob wir das in html tags oder cyberweb integrieren
|
564
558
|
sollten - eher in cyberweb, so das html_tags clean bleibt.
|
565
559
|
--------------------------------------------------------------------------------
|
566
|
-
(
|
560
|
+
(49) → be able to read up a .html page and
|
567
561
|
"convert" it into a .cgi page;
|
568
562
|
including the option to dump the html again,
|
569
563
|
including sanitiziation
|
570
564
|
--------------------------------------------------------------------------------
|
571
|
-
(
|
565
|
+
(50) → add a html->markdown converter
|
572
566
|
--------------------------------------------------------------------------------
|
573
|
-
(
|
567
|
+
(51) → write a webforum, simple one with
|
574
568
|
yaml files first
|
575
569
|
and /tmp or so
|
576
570
|
a temp dir
|
577
571
|
^^^ document if we have a temp dir and where it it is as well
|
578
572
|
--------------------------------------------------------------------------------
|
579
|
-
(
|
573
|
+
(52) → https://wiki.gentoo.org/wiki/Portage
|
580
574
|
steal the tip-box there
|
581
575
|
--------------------------------------------------------------------------------
|
582
|
-
(
|
576
|
+
(53) → The fancy popup thingy, that we ingegrated into studium -. also somehow
|
583
577
|
generate this via cyberweb hmmmmm.
|
584
578
|
Cyberweb.popup_widget(text: 'bla bla bla')
|
585
579
|
^^^ add balloon thingy to cyberweb
|
@@ -587,21 +581,21 @@
|
|
587
581
|
AND a way to use Cyberweb.return_balloon
|
588
582
|
or something like that to returh a stylesheet or so
|
589
583
|
--------------------------------------------------------------------------------
|
590
|
-
(
|
584
|
+
(54) → 15) build a big CSS string that is then displayed. perhaps
|
591
585
|
also store it into some file or so. Or at the least
|
592
586
|
offer that possibility to save it.
|
593
587
|
^^^ Well ... storing has to be re-thought.
|
594
588
|
--------------------------------------------------------------------------------
|
595
|
-
(
|
589
|
+
(55) → search for web-related projects on rubygems.
|
596
590
|
--------------------------------------------------------------------------------
|
597
|
-
(
|
591
|
+
(56) → Make sure that gathering all CSS classes works properly.
|
598
592
|
--------------------------------------------------------------------------------
|
599
|
-
(
|
593
|
+
(57) → make sure that a HTML-dumper works. It does via the
|
600
594
|
.save functionality but perhaps we have to simplify the
|
601
595
|
API and add a standalone bin/ file for that functionality.
|
602
596
|
And check the documetnation.
|
603
597
|
--------------------------------------------------------------------------------
|
604
|
-
(
|
598
|
+
(58) → continue objectified tags and add a table to the docu to
|
605
599
|
explain which variants are objectified already.
|
606
600
|
Add them all.
|
607
601
|
^^^^ Not sure whether all will be added or not. At one
|
@@ -610,7 +604,7 @@
|
|
610
604
|
that make sense. Once finished there, document it
|
611
605
|
and remov the entry here.
|
612
606
|
--------------------------------------------------------------------------------
|
613
|
-
(
|
607
|
+
(59) → (19)
|
614
608
|
kjavascript
|
615
609
|
on_click :random_colour
|
616
610
|
^^^
|
@@ -628,10 +622,10 @@
|
|
628
622
|
first add standalone html; it now exists as standalone
|
629
623
|
but we must add it to objectified html tags still.
|
630
624
|
--------------------------------------------------------------------------------
|
631
|
-
(
|
625
|
+
(60) → flip the image and only use the teal part; drop the rest or re-work it
|
632
626
|
a bit until it looks better. and improve the cyborg too.
|
633
627
|
--------------------------------------------------------------------------------
|
634
|
-
(
|
628
|
+
(61) → add a download-all-images from this remote website
|
635
629
|
and add it to cyberweb
|
636
630
|
and document it too!
|
637
631
|
Downloading a remote webpage
|
@@ -643,18 +637,18 @@
|
|
643
637
|
rather than a regex we may have to use something else
|
644
638
|
to obtain all img tags
|
645
639
|
--------------------------------------------------------------------------------
|
646
|
-
(
|
640
|
+
(62) → change meta, store it into ONE variable only
|
647
641
|
and add meta.rb
|
648
642
|
meta_description 'This is a sitemap.'
|
649
643
|
<meta name="description" content="Used auto parts for sale">
|
650
644
|
^^^ add this
|
651
645
|
This works only partially. I think we have to rewrite WebObject...
|
652
646
|
--------------------------------------------------------------------------------
|
653
|
-
(
|
647
|
+
(63) → continue experimenting with Objectified::HtmlTags
|
654
648
|
--------------------------------------------------------------------------------
|
655
|
-
(
|
649
|
+
(64) → expand css stuff in cyberweb. and more screenshots.
|
656
650
|
--------------------------------------------------------------------------------
|
657
|
-
(
|
651
|
+
(65) → add:
|
658
652
|
send email via cyberweb
|
659
653
|
send_email(
|
660
654
|
to: 'foobar@hotmail.com',
|
@@ -669,20 +663,20 @@
|
|
669
663
|
Then test it; and it must insta-show up on my system or something... hmm
|
670
664
|
^^^ we want to be able to use emails from cyberweb, no matter how.
|
671
665
|
--------------------------------------------------------------------------------
|
672
|
-
(
|
666
|
+
(66) → html_slider.html
|
673
667
|
^^^ integrate this into WebObject as well as the OOP variant. We need
|
674
668
|
to use range-like elements like this.
|
675
669
|
--------------------------------------------------------------------------------
|
676
|
-
(
|
670
|
+
(67) → create a fully objectified HTML page somehow.
|
677
671
|
Continue to explore how an OOP-webpage would
|
678
672
|
look like.
|
679
673
|
--------------------------------------------------------------------------------
|
680
|
-
(
|
674
|
+
(68) → consider supporting:
|
681
675
|
def on_this_id(:div_browser_in_use).content = 'Browser in use: <b>'+navigator.userAgent+"</b>";
|
682
676
|
to return JavaccriptHelper class
|
683
677
|
so .content= works on that class
|
684
678
|
--------------------------------------------------------------------------------
|
685
|
-
(
|
679
|
+
(69) → consider adding:
|
686
680
|
form.label # Implemented!
|
687
681
|
form.check_box # Implemented!
|
688
682
|
form.text_field # Implemented!
|
@@ -692,17 +686,17 @@
|
|
692
686
|
actually add this to the form OOP tag
|
693
687
|
and document it too.
|
694
688
|
--------------------------------------------------------------------------------
|
695
|
-
(
|
689
|
+
(70) → Add more games to the cyberweb project.
|
696
690
|
- Tetris!!!
|
697
691
|
- snake (added) hmmmmmm
|
698
692
|
--------------------------------------------------------------------------------
|
699
|
-
(
|
693
|
+
(71) → add more jquery goodies. Document them once they work too.
|
700
694
|
https://www.tutorialrepublic.com/jquery-examples.php
|
701
695
|
^^^ continue there
|
702
696
|
--------------------------------------------------------------------------------
|
703
|
-
(
|
697
|
+
(72) → modify grub file via webmin [HALF DONE]
|
704
698
|
--------------------------------------------------------------------------------
|
705
|
-
(
|
699
|
+
(73) → require "http/server"
|
706
700
|
# === response?
|
707
701
|
def response?
|
708
702
|
"Hello world! The time is #{Time.now}"
|
@@ -719,20 +713,20 @@
|
|
719
713
|
^^^ this was now implemented
|
720
714
|
document it, test it, and then when it works, remove the entry here.
|
721
715
|
--------------------------------------------------------------------------------
|
722
|
-
(
|
716
|
+
(74) → Add www-support for the simple widgets project.
|
723
717
|
This may take a longer while so before we go to do that, perhaps
|
724
718
|
first make libui+ruby-gtk3 support better. Then at a later point
|
725
719
|
we can perhaps improve support for simple widgets in the cyberweb
|
726
720
|
project.
|
727
721
|
--------------------------------------------------------------------------------
|
728
|
-
(
|
722
|
+
(75) → add some way to collect or generate
|
729
723
|
good CSS and re-use them somehow.
|
730
724
|
also document to other people how this is done. Add more CSS
|
731
725
|
solutions in this regard and document them. Then eventually
|
732
726
|
deprecate this entry, or move it towards a "recurring-todo.md"
|
733
727
|
file or something.
|
734
728
|
--------------------------------------------------------------------------------
|
735
|
-
(
|
729
|
+
(76) → Make a flexible base directory and document it.
|
736
730
|
This should also be set-able via yaml files.
|
737
731
|
perhaps scan:
|
738
732
|
if has_dir? yaml/base_dir.yml
|
@@ -743,25 +737,25 @@
|
|
743
737
|
and work on a per-project basis.
|
744
738
|
try_to_use_per_project_settings:
|
745
739
|
--------------------------------------------------------------------------------
|
746
|
-
(
|
740
|
+
(77) → write a forum for the web_object-project, in yaml initially.
|
747
741
|
^^^ make this work hmmmm then
|
748
742
|
show to the users how to work with it, as a proof-of-concept.
|
749
743
|
^^^ and rewrite the project TOO!
|
750
744
|
Well this works somewhat. Needs to be improved still.
|
751
745
|
--------------------------------------------------------------------------------
|
752
|
-
(
|
746
|
+
(78) → Add openID support. everyone likes openID so lets add that
|
753
747
|
--------------------------------------------------------------------------------
|
754
|
-
(
|
748
|
+
(79) → extend jquery examples, like via:
|
755
749
|
https://www.freecodecamp.org/news/the-best-jquery-examples/
|
756
750
|
https://www.w3schools.com/jquery/jquery_examples.asp
|
757
751
|
<meta name="DCTERMS.language" content="eng" />
|
758
752
|
^^^
|
759
753
|
https://terms.tdwg.org/wiki/dcterms:language
|
760
754
|
--------------------------------------------------------------------------------
|
761
|
-
(
|
755
|
+
(80) → http://asciimath.org/
|
762
756
|
^^^ integrate this.
|
763
757
|
--------------------------------------------------------------------------------
|
764
|
-
(
|
758
|
+
(81) → $(document).ready(function(){
|
765
759
|
$("p").click(function(){
|
766
760
|
$(this).hide();
|
767
761
|
});
|
@@ -772,7 +766,7 @@
|
|
772
766
|
on_click_hide('id_here')
|
773
767
|
^^^
|
774
768
|
--------------------------------------------------------------------------------
|
775
|
-
(
|
769
|
+
(82) → We can animate any element, such as a simple image:
|
776
770
|
<div id="clickme">
|
777
771
|
Click here
|
778
772
|
</div>
|
@@ -784,14 +778,20 @@
|
|
784
778
|
});
|
785
779
|
});
|
786
780
|
--------------------------------------------------------------------------------
|
787
|
-
(
|
781
|
+
(83) → investigate charts in javascript
|
788
782
|
http://n3-charts.github.io/line-chart/#/home
|
789
783
|
https://d3js.org/
|
790
784
|
http://smoothiecharts.org/
|
791
785
|
--------------------------------------------------------------------------------
|
792
|
-
(
|
786
|
+
(84) → continue with the simple forum, once it works.
|
793
787
|
Once the simple forum works, we may have to add
|
794
788
|
a more complex forum, that has more features.
|
795
789
|
and perhaps showcase it somewhere, together with
|
796
790
|
SQL.
|
797
791
|
--------------------------------------------------------------------------------
|
792
|
+
(85) → >
|
793
|
+
create Cyberweb::Cybersprawl::SimpleForum
|
794
|
+
^^^ as test
|
795
|
+
implement first as .cgi thingy
|
796
|
+
document it too
|
797
|
+
--------------------------------------------------------------------------------
|