54 Commits

Author SHA1 Message Date
Michael Steenbeek
552fed10d7 Fix HTML errors (#2943) 2018-11-23 10:38:39 +01:00
Franco Fichtner
93457293c9 services: start style update #2440 2018-06-05 17:40:51 +00:00
Franco Fichtner
e9c3be35d6 www: visual cleanups, unused class/style zapping #2290 2018-03-25 13:10:27 +00:00
NOYB
9d96bdcbc7 Help For - Data For Attribute
Use original element (<div>/<small>) with "data-for" attribute.

The old jquery "for" attribute selectors can be removed once conversion to "data-for" attribute is complete (including plugins).

The old jquery selectors to remove once conversion is complete.
  opnsense_ui.js & head.inc
  $("*[for='" + $(this).attr('id') + "']")....
  $('[for*="help_for"]')....
2018-03-17 16:12:55 +01:00
NOYB
6ef9a127ff HTML Compliance - Attribute "type" on Element <script>
Warning: The type attribute is unnecessary for JavaScript resources.

HTML5: Edition for Web Authors
http://www.w3.org/TR/2014/REC-html5-20141028/scripting-1.html
The default, which is used if the attribute is absent, is "text/javascript".

The Script element
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
HTML5 specification urges authors to omit the attribute rather than provide a redundant MIME type.
2018-01-22 19:13:34 +01:00
NOYB
4a7bcae7af HTML Compliance - Attribute "for" on Element <div>
Error: Attribute "for" not allowed on element "div" at this point.
Attributes for element "div": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-div-element

HTML attribute reference: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
The "Output" element: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output

Attributes for element "output": http://www.w3.org/html/wg/drafts/html/master/single-page.html#the-output-element
2018-01-06 10:52:17 +01:00
NOYB
b2f4cfa7c1 HTML Compliance - Attribute "type" on Element <i>
Error: Attribute "type" not allowed on element <i> at this point.
2018-01-05 08:36:26 +01:00
NOYB
76aab5cb52 HTML Compliance - Obsolete table attributes
width, align, valign, cellpadding, cellspacing, border, summary

Error: The width attribute on the table element is obsolete. Use CSS instead.
Error: The align attribute on the table element is obsolete. Use CSS instead.
Error: The valign attribute on the table element is obsolete. Use CSS instead.
Error: The cellpadding attribute on the table element is obsolete. Use CSS instead.
Error: The cellspacing attribute on the table element is obsolete. Use CSS instead.
Error: The border attribute on the table element is obsolete. Use CSS instead.
Error: The summary attribute on the table element is obsolete. Consider describing the structure of the table in a caption element or in a figure element containing the table; or, simplify the structure of the table so that no description is needed.
2018-01-04 18:26:02 +01:00
Franco Fichtner
0154eccdfd ntpd: add custom options, fix leap second save; closes #1764 2017-12-18 06:40:57 +00:00
Franco Fichtner
d87c6ff556 Scripts: add a license generator for GitHub 2017-08-05 20:21:35 +02:00
Franco Fichtner
baa7ec8889 ntp: adjust string accordingly; closes #1574 2017-07-23 18:20:12 +02:00
Ad Schellevis
69510a5fad legacy ui pages cleanup for https://github.com/opnsense/core/issues/1733 2017-07-22 15:01:26 +02:00
Franco Fichtner
e1733a01bf ntp: fix a crash report 2017-01-09 08:02:31 +01:00
Franco Fichtner
6801b20c06 src: use the opportunity to scrub supurious ";;" spots 2017-01-07 10:46:06 +01:00
Franco Fichtner
fd987e639c ntpd: it's a plugin! 2016-11-20 23:36:31 +01:00
Franco Fichtner
f39ce32b96 services: url_safe() for #1168 2016-10-11 08:23:59 +02:00
Ad Schellevis
4bc6bf3327 js cleanup services_ntpd.php for https://github.com/opnsense/core/issues/1005 2016-06-27 11:37:40 +02:00
Ad Schellevis
0b31dc522f add opnsense_standard_table_form class to forms 2016-05-20 17:09:58 +02:00
Fabian Franz
02910b5097 translation fixes by @fichtner 2016-05-08 18:46:09 +02:00
Fabian Franz
631de412f2 translation and some style 2016-05-07 18:05:00 +02:00
Franco Fichtner
80eba3c210 ntp: correct select behaviour; closes #818
o When servers are empty, show prefer and noselect as disabled.
o Tighten the config write by using the same code idiom as the
  frontend, which is the safer method.
o Untangle noselect and prefer, ntpd.conf will handle it.
2016-03-14 12:04:20 +01:00
Franco Fichtner
7c3b995971 ntp: avoid crash report when not assigning interfaces 2016-03-13 19:55:58 +01:00
Ad Schellevis
cdb17e699a (legacy) regression services_ntpd.php 2016-03-10 11:44:30 +01:00
Ad Schellevis
9871f0ba80 (legacy) refactor services_ntpd.php 2016-03-08 14:45:49 +01:00
Franco Fichtner
0d70b4a9db ntp: disable when no servers are set; closes #332
This will make a few good people very happy.  :)
2016-02-25 22:09:26 +01:00
Ad Schellevis
a7e4762b9c (legacy) fix html errors, remove $closehead 2016-01-27 18:18:05 +01:00
Franco Fichtner
6e3e407d85 services: rename shorcut_section to better reflect its purpose; closes #674 2016-01-18 09:30:34 +01:00
Franco Fichtner
3d93e25ba0 services: remove indirect mapping and fix remaining services 2016-01-18 09:29:38 +01:00
Fabian Franz
fa9130fa61 translation fix #599 2016-01-05 18:49:29 +01:00
Fabian Franz
0686ee0a35 fix #599; closes #599 2016-01-04 22:38:08 +01:00
Franco Fichtner
86d50f8793 www: remove the need for manual $pgtitle #461 2015-12-08 19:45:59 +01:00
Franco Fichtner
bb55f6c08a network time: fix several issues with gps settings
o Page did not work with translations.
o Selected serial device wasn't shown.
o Very old gpsport migration code zapped.
o set_gps_default() must trigger on load.
2015-12-01 08:59:27 +01:00
Frédéric LIETART (TheLinuxFr)
83554e53d0 src: missing translations for #427 closes #466 2015-11-19 23:22:57 +01:00
Franco Fichtner
cd8cafcbb5 menu: tweak order (VPN before Services); rename "Network Time" 2015-11-12 00:05:01 +01:00
Franco Fichtner
7552aa99bf ntp: cluster service pages 2015-10-14 00:20:22 +02:00
Ad Schellevis
a2a6d324b2 (legacy) fix crashreport PHP Warning: substr_count(): Empty substring in /usr/local/www/services_ntpd.php on line 290 2015-08-24 07:56:04 +00:00
Ad Schellevis
a7ac26237f (legacy) remove unused parameter in get_std_save_message 2015-08-17 08:27:34 +00:00
Ad Schellevis
4f47312a06 (legacy) fix crashreport PHP Warning: substr_count(): Empty substring in /usr/local/www/services_ntpd.php on line 290 2015-08-10 09:53:08 +00:00
Ad Schellevis
c316a424bd (legacy) fix dependencies and uninitialized variables in ntp 2015-07-23 14:05:30 +00:00
Ad Schellevis
465e699e71 (legacy) dependency cleanups related to functions.inc / interfaces.inc 2015-07-22 16:56:38 +00:00
Ad Schellevis
cbcf5927ca (legacy) more dependency moves, slowly pouring functions.inc empty.... 2015-07-22 13:08:05 +00:00
Ad Schellevis
4f33b50c2d (legacy) move services.inc out of fbegin.inc to pages with service shortcut 2015-07-22 09:47:07 +00:00
Ad Schellevis
7418af459b (legacy) add additional check on $input_errors as part of cleanup notices 2015-07-06 16:58:36 +00:00
Ad Schellevis
ba800ae6c8 (legacy) fix check on $savemsg and $input_errors 2015-07-06 14:43:02 +00:00
Franco Fichtner
22e0e257a2 queues: remove shaper.inc 2015-06-18 14:20:20 +02:00
Franco Fichtner
36b9cb78a2 inc: remove more legacy package service glue 2015-03-27 08:29:14 +01:00
Franco Fichtner
fe6bb22f6c src: whitespace sweep 2015-03-24 08:02:23 +01:00
Ad Schellevis
fe5ae1b7b2 cleanup requires + small typo's 2015-03-23 20:47:12 +00:00
Ad Schellevis
95ba411113 ntp ui fixes for https://github.com/opnsense/core/issues/85 2015-03-16 12:50:24 +00:00
Franco Fichtner
b20834ac48 src: apply global whitespace cleanups 2015-01-02 12:11:43 +01:00