diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/dialog-generic.html | 4 | ||||
-rw-r--r-- | templates/main-menu-login.html | 37 | ||||
-rw-r--r-- | templates/main-menu-logout.html | 37 | ||||
-rw-r--r-- | templates/main-menu.html | 12 | ||||
-rw-r--r-- | templates/menu-login.html | 2 | ||||
-rw-r--r-- | templates/menu-logout.html | 2 | ||||
-rw-r--r-- | templates/page-adduser.html | 24 | ||||
-rw-r--r-- | templates/page-baseconfig.html | 6 | ||||
-rw-r--r-- | templates/page-login.html | 12 | ||||
-rw-r--r-- | templates/page-main-guest.html | 2 | ||||
-rw-r--r-- | templates/page-main.html | 2 |
11 files changed, 107 insertions, 33 deletions
diff --git a/templates/dialog-generic.html b/templates/dialog-generic.html index 929400a5..e970c9a6 100644 --- a/templates/dialog-generic.html +++ b/templates/dialog-generic.html @@ -8,8 +8,8 @@ {{{body}}} </div> <div class="modal-footer"> - {{#next}}<a class="btn btn-primary" href="{{next}}">Weiter »</a>{{/next}} + {{#next}}<a class="btn btn-primary" href="{{next}}">{{nextD}} »</a>{{/next}} </div> </div> </div> -</div>
\ No newline at end of file +</div> diff --git a/templates/main-menu-login.html b/templates/main-menu-login.html new file mode 100644 index 00000000..1fbb3143 --- /dev/null +++ b/templates/main-menu-login.html @@ -0,0 +1,37 @@ +<!-- Fixed navbar --> +<div class="navbar navbar-default navbar-fixed-top"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="?do=Main">OpenSLX Admin</a> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="?do=SysLog">Client Logs</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> + <ul class="dropdown-menu"> + <li class="dropdown-header">Client</li> + <li><a href="?do=SysConfig">{{localization}}</a></li> + <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> + <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> + <li class="divider"></li> + <li class="dropdown-header">Server</li> + <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> + <li><a href="?do=VmStore"></a>{{vmLocation}}</li> + </ul> + </li> + <li><a href="?do=News">{{news}}</a></li> + <li><a href="?do=SystemStatus">Status</a></li> + </ul> + <ul class="nav navbar-nav navbar-right"> + <li><a href="?do=Session&action=login">{{login}}</a></li> + </ul> + </div> + </div> +</div> + diff --git a/templates/main-menu-logout.html b/templates/main-menu-logout.html new file mode 100644 index 00000000..76560a91 --- /dev/null +++ b/templates/main-menu-logout.html @@ -0,0 +1,37 @@ +<!-- Fixed navbar --> +<div class="navbar navbar-default navbar-fixed-top"> + <div class="container"> + <div class="navbar-header"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + <span class="icon-bar"></span> + </button> + <a class="navbar-brand" href="?do=Main">OpenSLX Admin</a> + </div> + <div class="navbar-collapse collapse"> + <ul class="nav navbar-nav"> + <li><a href="?do=SysLog">Client Logs</a></li> + <li class="dropdown"> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> + <ul class="dropdown-menu"> + <li class="dropdown-header">Client</li> + <li><a href="?do=SysConfig">{{localization}}</a></li> + <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> + <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> + <li class="divider"></li> + <li class="dropdown-header">Server</li> + <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> + <li><a href="?do=VmStore"></a>{{vmLocation}}</li> + </ul> + </li> + <li><a href="?do=News">{{news}}</a></li> + <li><a href="?do=SystemStatus">Status</a></li> + </ul> + <ul class="nav navbar-nav navbar-right"> + <li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> ({{logout}})</a></li> + </ul> + </div> + </div> +</div> + diff --git a/templates/main-menu.html b/templates/main-menu.html index 34b18579..f7056bc5 100644 --- a/templates/main-menu.html +++ b/templates/main-menu.html @@ -13,19 +13,19 @@ <ul class="nav navbar-nav"> <li><a href="?do=SysLog">Client Logs</a></li> <li class="dropdown"> - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Einstellungen<b class="caret"></b></a> + <a href="#" class="dropdown-toggle" data-toggle="dropdown">{{settings}}<b class="caret"></b></a> <ul class="dropdown-menu"> <li class="dropdown-header">Client</li> - <li><a href="?do=SysConfig">Lokalisierung</a></li> + <li><a href="?do=SysConfig">{{localization}}</a></li> <li><a href="?do=MiniLinux">bwLehrpool Mini-Linux</a></li> - <li><a href="?do=BaseConfig">KonfigurationsVariablen</a></li> + <li><a href="?do=BaseConfig">{{configurationVariables}}</a></li> <li class="divider"></li> <li class="dropdown-header">Server</li> - <li><a href="?do=ServerSetup">Grundkonfiguration</a></li> - <li><a href="?do=VmStore">VM Speicherort</a></li> + <li><a href="?do=ServerSetup">{{configurationBasic}}</a></li> + <li><a href="?do=VmStore"></a>{{vmLocation}}</li> </ul> </li> - <li><a href="?do=News">News</a></li> + <li><a href="?do=News">{{news}}</a></li> <li><a href="?do=SystemStatus">Status</a></li> </ul> <ul class="nav navbar-nav navbar-right"> diff --git a/templates/menu-login.html b/templates/menu-login.html index 89b22adf..42f76b31 100644 --- a/templates/menu-login.html +++ b/templates/menu-login.html @@ -1 +1 @@ -<li><a href="?do=Session&action=login">Anmelden</a></li> +<li><a href="?do=Session&action=login">{{login}}</a></li> diff --git a/templates/menu-logout.html b/templates/menu-logout.html index 17e53985..ff13b555 100644 --- a/templates/menu-logout.html +++ b/templates/menu-logout.html @@ -1 +1 @@ -<li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> (abmelden)</a></li> +<li><a href="?do=Session&action=logout&token={{{token}}}"><b>{{user}}</b> ({{logout}})</a></li> diff --git a/templates/page-adduser.html b/templates/page-adduser.html index cd317457..6cf7d0f1 100644 --- a/templates/page-adduser.html +++ b/templates/page-adduser.html @@ -1,28 +1,28 @@ <div class="container"> <form class="form-adduser" action="?do=AddUser" method="post"> - <h2 class="form-signin-heading">Benutzer anlegen</h2> + <h2 class="form-signin-heading">{{createUser}}</h2> <div class="row"> - <div class="col-md-4">Benutzerkennung</div> - <div class="col-md-4"><input type="text" name="user" value="{{user}}" class="form-control" placeholder="Benutzerkennung" autofocus></div> + <div class="col-md-4">{{username}}</div> + <div class="col-md-4"><input type="text" name="user" value="{{user}}" class="form-control" placeholder="{{username}}" autofocus></div> </div> <div class="row"> - <div class="col-md-4">Passwort</div> - <div class="col-md-4"><input type="password" name="pass1" class="form-control" placeholder="Passwort"></div> - <div class="col-md-4"><input type="password" name="pass2" class="form-control" placeholder="Wiederholen"></div> + <div class="col-md-4">{{password}}</div> + <div class="col-md-4"><input type="password" name="pass1" class="form-control" placeholder="{{password}}"></div> + <div class="col-md-4"><input type="password" name="pass2" class="form-control" placeholder="{{confirmation}}"></div> </div> <div class="row"> - <div class="col-md-4">Vollständiger Name</div> - <div class="col-md-4"><input type="text" name="fullname" value="{{fullname}}" class="form-control" placeholder="Max Mustermann"></div> + <div class="col-md-4">{{fullName}}</div> + <div class="col-md-4"><input type="text" name="fullname" value="{{fullname}}" class="form-control" placeholder="{{fullName}}"></div> </div> <div class="row"> - <div class="col-md-4">Telefon</div> - <div class="col-md-4"><input type="text" name="phone" value="{{phone}}" class="form-control" placeholder="Durchwahl"></div> + <div class="col-md-4">{{telephone}}</div> + <div class="col-md-4"><input type="text" name="phone" value="{{phone}}" class="form-control" placeholder="{{telephone}}"></div> </div> <div class="row"> <div class="col-md-4">E-Mail</div> - <div class="col-md-4"><input type="text" name="email" value="{{email}}" class="form-control" placeholder="spam@aol.com"></div> + <div class="col-md-4"><input type="text" name="email" value="{{email}}" class="form-control" placeholder="Email"></div> </div> - <button class="btn btn-lg btn-primary btn-block" type="submit">Benutzer anlegen</button> + <button class="btn btn-lg btn-primary btn-block" type="submit">{{createUser}}</button> <input type="hidden" name="action" value="adduser"> </form> </div> diff --git a/templates/page-baseconfig.html b/templates/page-baseconfig.html index e8511fb2..9439229b 100644 --- a/templates/page-baseconfig.html +++ b/templates/page-baseconfig.html @@ -30,7 +30,7 @@ <div class="modal-content"> <div class="modal-header">{{setting}}</div> <div class="modal-body">{{{description}}}</div> - <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">Schließen</a></div> + <div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{close}}</a></div> </div> </div> </div> @@ -39,8 +39,8 @@ </div> {{/categories}} <input type="hidden" name="token" value="{{token}}"> - <button class="btn btn-lg btn-primary" type="submit">Speichern</button> - <button class="btn btn-lg btn-primary" type="reset">Zurücksetzen</button> + <button class="btn btn-lg btn-primary" type="submit">{{save}}</button> + <button class="btn btn-lg btn-primary" type="reset">{{reset}}</button> <a class="btn btn-lg btn-primary" href="api.php?do=getconfig">Download</a> </form> </div> diff --git a/templates/page-login.html b/templates/page-login.html index 9696e31d..eea122d2 100644 --- a/templates/page-login.html +++ b/templates/page-login.html @@ -1,13 +1,13 @@ <div class="container"> <form class="form-signin" action="?do=Session" method="post"> - <h2 class="form-signin-heading">Anmeldung</h2> - <input type="text" name="user" class="form-control" placeholder="Benutzerkennung" autofocus> - <input type="password" name="pass" class="form-control" placeholder="Passwort"> + <h2 class="form-signin-heading">{{enter}}</h2> + <input type="text" name="user" class="form-control" placeholder="{{username}}" autofocus> + <input type="password" name="pass" class="form-control" placeholder="{{password}}"> <label class="checkbox"> - <input type="checkbox" name="remember" value="remember-me"> Angemeldet bleiben + <input type="checkbox" name="remember" value="remember-me"> {{rememberID}} </label> - <button class="btn btn-lg btn-primary btn-block" type="submit">Anmelden</button> - <a class="btn btn-lg btn-primary btn-block" href="?do=AddUser">Registrieren</a> + <button class="btn btn-lg btn-primary btn-block" type="submit">{{login}}</button> + <a class="btn btn-lg btn-primary btn-block" href="?do=AddUser">{{register}}</a> <input type="hidden" name="action" value="login"> </form> </div> diff --git a/templates/page-main-guest.html b/templates/page-main-guest.html index 8867ccf8..6be224ee 100644 --- a/templates/page-main-guest.html +++ b/templates/page-main-guest.html @@ -1,5 +1,5 @@ <div class="jumbotron"> - <h1>Willkommen</h1> + <h1>{{welcome}}</h1> <p>Dies ist das Administrations-Interface der lokalen bwLehrpool-Installation. Bitte authentifizieren Sie sich, um Einstellungen vorzunehmen.</p> <p><a href="?do=Session&action=login" class="btn btn-primary btn-lg">Anmelden »</a></p> </div> diff --git a/templates/page-main.html b/templates/page-main.html index 519d3abd..b8a7032a 100644 --- a/templates/page-main.html +++ b/templates/page-main.html @@ -27,4 +27,4 @@ <a class="btn btn-sm btn-primary" href="?do=SysConfig">Systemkonfiguration »</a> </li> {{/sysconfig}} -</ul>
\ No newline at end of file +</ul> |