Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C customization simpleSAMLphp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • m4lab_tv1
  • customization simpleSAMLphp
  • Merge requests
  • !53
An error occurred while fetching the assigned milestone of the selected merge_request.

Prepprod

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Wolfgang Knopki requested to merge prepprod into master 4 years ago
  • Overview 0
  • Commits 4
  • Pipelines 0
  • Changes 2
  • Wolfgang Knopki @knopkiwg merged 4 years ago

    merged

  • Wolfgang Knopki @knopkiwg mentioned in commit c88196e6 4 years ago

    mentioned in commit c88196e6

  • Loading
  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    86d65045
    4 commits, 4 years ago

2 files
+ 25
- 82

    Preferences

    File browser
    Compare changes
mymodule/them‎es/fancytheme‎
co‎re‎
loginuse‎rpass.php‎ +0 -82
mult‎iauth‎
selectso‎urce.twig‎ +25 -0
mymodule/themes/fancytheme/core/loginuserpass.php deleted 100644 → 0
+ 0
- 82
  • View file @ f1c3cd3c

<?php
$this->data['header'] = $this->t('{login:user_pass_header}');
if (strlen($this->data['username']) > 0) {
$this->data['autofocus'] = 'password';
} else {
$this->data['autofocus'] = 'username';
}
$this->includeAtTemplateBase('includes/header.php');
?>
<div>
<div class="container">
<div class="row">
<div class="col-md-12" style="margin-bottom: 40px;"><img class="mx-auto" src="/img/Anmelden.png" width="100%"></div>
</div>
</div>
<?php
if ($this->data['errorcode'] !== null) {
?>
<div style="border-left: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8; background: #f5f5f5">
<img src="/<?php echo $this->data['baseurlpath']; ?>resources/icons/experience/gtk-dialog-error.48x48.png"
class="float-l erroricon" style="margin: 15px" alt=""/>
<h2><?php echo $this->t('{login:error_header}'); ?></h2>
<p><strong>
<?php
echo htmlspecialchars(
$this->t(
$this->data['errorcodes']['title'][$this->data['errorcode']],
$this->data['errorparams']
)
);
?>
</strong></p>
<p>
<?php
echo htmlspecialchars(
$this->t(
$this->data['errorcodes']['descr'][$this->data['errorcode']],
$this->data['errorparams']
)
);
?>
</p>
</div>
<?php
}
?>
<div class="login-clean" style="background-color: rgb(234,234,234);">
<form method="post">
<h2 class="sr-only">Login Form</h2>
<div class="illustration"><img src="/img/M4_LAB_LOGO.png" width="130"></div>
<?php if (strpos($_GET['AuthState'], 'admin') !== false) : ?>
<div class="form-group"><input id="username" class="form-control" type="text" name="username" placeholder="Administrator"></div>
<?php else : ?>
<div class="form-group"><input id="username" class="form-control" type="email" name="username" placeholder="E-Mail-Adresse"></div>
<?php endif; ?>
<div class="form-group"><input id="password" class="form-control" type="password" name="password" placeholder="Passwort"></div><a class="text-right forgot" href="/account/forgotPwd">Passwort vergessen?</a>
<div class="form-group"><button class="btn btn-primary btn-block" type="submit" style="background-color: #8a348b;"><strong>Anmelden</strong></button><a class="btn btn-primary btn-block" type="" style="background-color: rgb(234,234,234);color: rgb(0,0,0);" href="/account/registration"><strong>Neues Benutzerkonto anlegen</strong></a></div>
<input type="hidden" id="processing_trans" value="<?php echo $this->t('{login:processing}'); ?>" />
<?php
foreach ($this->data['stateparams'] as $name => $value) {
echo '<input type="hidden" name="'.htmlspecialchars($name).'" value="'.htmlspecialchars($value).'" />';
}
?>
</form>
</div>
</div>
<?php
if (!empty($this->data['links'])) {
echo '<ul class="links" style="margin-top: 2em">';
foreach ($this->data['links'] as $l) {
echo '<li><a href="'.htmlspecialchars($l['href']).'">'.htmlspecialchars($this->t($l['text'])).'</a></li>';
}
echo '</ul>';
}
$this->includeAtTemplateBase('includes/footer.php');
mymodule/themes/fancytheme/multiauth/selectsource.twig 0 → 100644
+ 25
- 0
  • View file @ 86d65045

  • Edit in single-file editor

  • Open in Web IDE

GNU nano 4.8 selectsource.twig
{% set pagetitle = '{multiauth:multiauth:select_source_header}'|trans %}
{% extends "base.twig" %}
{% block content %}
<h2>Benutzerkonto auswählen</h2>
<p>Bitte wählen Sie ein Benutzerkonto aus, mit dem Sie sich authentifizieren wollen:</p>
<form action="{{ selfUrl|escape('html') }}" method="get">
<input type="hidden" name="AuthState" value="{{ authstate|escape('html') }} ">
<ul>
{% for key, source in sources %}
{% set name = ('src-' ~ source.source64) %}
{% set button = ('button-' ~ source.source) %}
<li class="{{ source.css_class|escape('html') }} authsource">
<input class="button-red button-margin btn btn-primary" type="submit" name="{{ name|escape('html') }}" id="{{ button|escape('html') }}" value="{{ source.text|escape('html') }}"{%- if source.source == preferred %} autofocus{% endif -%}>
{% if source.help %}
<p>{{ source.help|escape('html') }}</p>
{% endif %}
</li>
{% endfor %}
</ul>
</form>
{% endblock %}
Assignee
Wolfgang Knopki's avatar
Wolfgang Knopki
Assign to
0 Reviewers
None
Request review from
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: prepprod

Menu

Explore Projects Groups Snippets

Dies ist die Gitlab-Instanz des Transferportals der Hochschule für Technik Stuttgart. Hier geht es zurück zum Portal