Difference between revisions of "Design.rythm"

From BITPlan Wiki
Jump to navigation Jump to search
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Links =
 
= Links =
https://wiki.selfhtml.org/wiki/HTML/Tutorials/Alternativen_zu_Tabellen
+
* {{Link|target=MediaWiki:Bootstrap.rythm}}
 +
* {{Link|target=MediaWiki:BITPlanStyle.rythm}}
 +
* {{Link|target=MediaWiki:BITPlan.rythm}}
 +
* {{Link|target=MediaWiki:Menu.rythm}}
 +
 
 
= Source =
 
= Source =
 
<source lang='html4strict'>
 
<source lang='html4strict'>
 
@// Rythm template for the WikiCMS approach
 
@// Rythm template for the WikiCMS approach
@args() {
+
@include(wiki.MediaWiki.BITPlan.rythm)
  String content,
+
@BITPlanHeader(languageCode,title)
  String lang,
+
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
  String title;
 
}
 
<!doctype html>
 
<html lang="@(lang)">
 
<head>
 
  <meta charset="utf-8"/>
 
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
  <title>@(title)</title>
 
  <script src="http://tol.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
 
  <style>
 
    body{
 
      margin: 10px auto;
 
      max-width: 60em;
 
    }
 
    * {
 
      font-family: Arial, Helvetica, sans-serif;
 
    }
 
    header,footer{
 
      background-color: #FFFFFF;
 
      text-align: center;
 
    }
 
    nav a:link,a:visited {
 
      text-decoration: none;
 
    }
 
    a:hover {
 
      color: #FFFFFF;
 
      background-color: rgba(FF,80,00,0.5);
 
    }
 
    main,article{
 
    }
 
    main {
 
      padding: 10px;margin:5px;
 
    }
 
    h1,h2,h3 {
 
    color: #FF8000;
 
    }
 
    .logo {
 
    width: 6vw;
 
    float:left;
 
    }
 
  </style>
 
 
</head>
 
</head>
 
 
<body>
 
<body>
    <header>
+
@BITPlanMenu(de)
        <a class='logo' href='http://training.bitplan.com/index.php/Willkommen'><img src='http://wiki.bitplan.com/images/wiki/7/7a/BITPlanLogo2012FontLess.svg' width='100%'></a>
+
  <div class="container">
        <nav>
+
  @(content)
          <a href='http://training.bitplan.com/index.php/Training'>Trainings</a>
+
  </div><!-- /.container -->
          <a href='http://training.bitplan.com/index.php/Leistungen'>Leistungen</a>
+
@footer(de)
          <a href='http://training.bitplan.com/index.php/Kontakt'>Kontakt</a>
 
        </nav>
 
    </header>
 
    <main>
 
      <article>@(content)</article>
 
    </main>
 
    <footer>
 
      <nav>
 
        <span style='font-size: 0.5vw;'>© 2017&nbsp;<a href='http://www.bitplan.com'>BITPlan GmbH.</a>&nbsp;Alle Rechte vorbehalten.</span>
 
        &nbsp;<a href='http://training.bitplan.com/index.php/Impressum'>Impressum</a>
 
      </nav>
 
    </footer>
 
</body>
 
</html>
 
 
</source>
 
</source>
 +
[[Category:RythmTemplate]]

Latest revision as of 13:32, 6 July 2021

Links

Source

@// Rythm template for the WikiCMS approach
@include(wiki.MediaWiki.BITPlan.rythm)
@BITPlanHeader(languageCode,title)
<script src="http://q.bitplan.com/js/tagcanvas.min.js" type="text/javascript"></script>
</head>
<body>
@BITPlanMenu(de)
  <div class="container">
  @(content)
  </div><!-- /.container -->
@footer(de)