|
Lines 83-88
Link Here
|
| 83 |
var default_lang = this.defaultLang(); |
83 |
var default_lang = this.defaultLang(); |
| 84 |
|
84 |
|
| 85 |
var widgets = [{ |
85 |
var widgets = [{ |
|
|
86 |
type: 'Text', |
| 87 |
name: 'http_warning', |
| 88 |
content: window.location.protocol == 'http:' ? '<p><b>Unsichere Verbindung</b></p><p>Alle persönlichen und sensiblen Daten werden im Klartext übertragen. Bitte verwenden Sie diesen <a href="https://' + window.location.href.slice( 5 ) + '">Link</a> für eine verschlüsselte SSL-Verbindung</p>' : '', |
| 89 |
label: '', |
| 90 |
sizeClass: null |
| 91 |
},{ |
| 86 |
type: 'TextBox', |
92 |
type: 'TextBox', |
| 87 |
name: 'username', |
93 |
name: 'username', |
| 88 |
value: dojo.cookie('UMCUsername') || '', |
94 |
value: dojo.cookie('UMCUsername') || '', |
|
Lines 115-121
Link Here
|
| 115 |
}) |
121 |
}) |
| 116 |
} ]; |
122 |
} ]; |
| 117 |
|
123 |
|
| 118 |
var layout = [['username'], ['password'], ['language']]; |
124 |
var layout = [['http_warning'],['username'], ['password'], ['language']]; |
| 119 |
|
125 |
|
| 120 |
this._form = new umc.widgets.Form({ |
126 |
this._form = new umc.widgets.Form({ |
| 121 |
//style: 'width: 100%', |
127 |
//style: 'width: 100%', |
|
Lines 144-150
Link Here
|
| 144 |
// put the layout together |
150 |
// put the layout together |
| 145 |
this._container = new umc.widgets.ContainerWidget({}); |
151 |
this._container = new umc.widgets.ContainerWidget({}); |
| 146 |
this._text = new umc.widgets.Text({ |
152 |
this._text = new umc.widgets.Text({ |
| 147 |
style: 'margin-left: auto; margin-right: auto; margin-top: 1em; width: 250px;', |
153 |
style: 'margin-left: auto; margin-right: auto; margin-top: 1em; width: 280px;', |
| 148 |
content: '' |
154 |
content: '' |
| 149 |
}); |
155 |
}); |
| 150 |
this._container.addChild(this._text); |
156 |
this._container.addChild(this._text); |