SyP-

index.html (dockerfile)

Apr 21st, 2021
823
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <HTML>
  2. <HEAD>
  3. <TITLE>SITENAME appclock</TITLE>
  4. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
  5. <script Language="JavaScript">
  6. <!-- Helpers for JSI page...
  7. // Navigation - Start
  8. function goback(){
  9. alert("Good Bye!");
  10. history.go(-1);
  11. }
  12. function gettheDate() {
  13. Todays = new Date();
  14. TheDate = "" + (Todays.getMonth()+ 1) +" / "+ Todays.getDate() + " / " + (Todays.getYear() + 1900)
  15. document.clock.thedate.value = TheDate;
  16. }
  17. var timerID = null;
  18. var timerRunning = false;
  19. function stopclock (){
  20.     if(timerRunning)
  21.         clearTimeout(timerID);
  22.     timerRunning = false;
  23. }
  24. function startclock () {
  25.     stopclock();
  26.     gettheDate()
  27.     showtime();
  28. }
  29. function showtime () {
  30.     var now = new Date();
  31.     var hours = now.getHours();
  32.     var minutes = now.getMinutes();
  33.     var seconds = now.getSeconds()
  34.     var timeValue = "" + ((hours >12) ? hours -12 :hours)
  35.     timeValue += ((minutes < 10) ? ":0" : ":") + minutes
  36.     timeValue += ((seconds < 10) ? ":0" : ":") + seconds
  37.     timeValue += (hours >= 12) ? " P.M." : " A.M."
  38.     document.clock.face.value = timeValue;
  39.     timerID = setTimeout("showtime()",1000);
  40.     timerRunning = true;
  41. }
  42. </script>
  43. </HEAD>
  44. <BODY bgcolor="#00FFFF" onLoad="startclock()">
  45. <CENTER>
  46. <h2>SITENAME appclock</h2>
  47. <table border>
  48. <tr>
  49.   <td><form name="clock" onSubmit="0"></td>
  50. </tr>
  51. <tr>
  52.   <td colspan=2>Hoy es: <input type="text" name="thedate" size=12
  53.           value=""></td>
  54.   <td colspan=2>La hora es: <input type="text" name="face" size=12
  55.           value=""></td></form>
  56. </tr>
  57. </table>
  58. </CENTER>
  59. <hr>
  60. <center>
  61. <h3>
  62. [<a href="javascr.htm">Volver</a>]
  63. </h3>
  64. </center>
  65. </BODY>
  66. </HTML>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×