Subversion Repositories HomeAutomation

Rev

Rev 2192 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2192 Rev 2314
Line 15... Line 15...
15
    <script src="jquery.tmpl.min.js"></script>
15
    <script src="jquery.tmpl.min.js"></script>
16
 
16
 
17
    <style>
17
    <style>
18
    <?php
18
    <?php
19
      foreach ($pages as $page)
19
      foreach ($pages as $page)
-
 
20
      {
-
 
21
        if (file_exists("pages/" . $page . "/style.css"))
20
      {
22
        {
21
        include("pages/" . $page . "/style.css");
23
          include("pages/" . $page . "/style.css");
-
 
24
        }
22
      }
25
      }
23
    ?>
26
    ?>
24
 
27
 
25
      .ui-li-heading {
28
      .ui-li-heading {
26
        white-space: normal;
29
        white-space: normal;
27
      }
30
      }
28
    </style>
31
    </style>
29
 
32
 
30
    <?php
33
    <?php
31
      foreach ($pages as $page)
34
      foreach ($pages as $page)
-
 
35
      {
-
 
36
        if (file_exists("pages/" . $page . "/template.html"))
32
      {
37
        {
33
        include("pages/" . $page . "/template.html");
38
          include("pages/" . $page . "/template.html");
-
 
39
        }
34
      }
40
      }
35
    ?>
41
    ?>
36
 
42
 
37
    <script id="page-template" type="text/x-jquery-tmpl" data-enhance="false">
43
    <script id="page-template" type="text/x-jquery-tmpl" data-enhance="false">
38
      <div id="page-${name}" data-role="page" data-theme="a" id="page-{name}">
44
      <div id="page-${name}" data-role="page" data-theme="a" id="page-{name}">