Admin: Unterschied zwischen den Versionen

Aus numpedia
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(10 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 21: Zeile 21:
==Vorlagen==
==Vorlagen==


<!------------------------------------------------------------------------->==tmp==
 
<!-- overflow:auto; to fix collapsed display, because the toggle link has float:right; -->
<div class="toccolours mw-collapsible mw-collapsed" style="width:400px; overflow:auto;"  data-expandtext="{{int:show}}" data-collapsetext="{{int:hide}}">
This text is collapsible. {{Lorem}}
</div>
 
{| role="presentation" class="mw-collapsible"
|-
| Lorem
| ipsum
|-
| dolor
| sit
|}
 
 
 
<!------------------------------------------------------------------------->
==tmp==


{{MyCodeBlock
{{MyCodeBlock
Zeile 31: Zeile 49:
</syntaxhighlight>
</syntaxhighlight>
}}
}}
{{MyCodeBlock
|title=Title
|text=Text
|code=
<syntaxhighlight lang="Groovy" line start=1>
package de.haw.cf.domain.competence
import de.haw.cf.domain.Application
import de.haw.cf.domain.Level
import de.haw.cf.domain.reference.Information
import de.haw.cf.domain.reference.Section
import de.haw.cf.domain.security.User
import de.haw.cf.enums.CompetenceTag
abstract class Competence {
    String name
    String description
    String shortDescription
    User user
    Section section
    CompetenceTag competenceTag
    static hasMany = [
        applications: Application,
        levels: Level,
        informations: Information,
        sources: CompetenceRelation,
        targets: CompetenceRelation
    ]
    static mappedBy = [
        sources: 'target',
        targets: 'source'
    ]
    static belongsTo = [
        applications: Application,
        levels: Level,
        informations: Information,
        section: Section
    ]
    static mapping = {
        cache true
        id generator: 'identity', index: 'IDX_competence_id'
        description type: 'text'
        informations column: 'information_id', joinTable: 'jt_information_competence'
        levels column: 'level_id', joinTable: 'jt_level_competence'
        applications column: 'application_id', joinTable: 'jt_application_competence'
        competenceTag enumType: 'string'
    }
    static constraints = {
        name nullable: false, blank: false
        description nullable: true, blank: false, widget: 'textarea'
        shortDescription nullable: true, blank: false
        user nullable: false
        section nullable: true
        competenceTag nullable: false
    }
    @Override
    public String toString() {
        return "${this.class.simpleName} [id=${id}, name=${name}]";
    }
}
</syntaxhighlight>
}}


{|
{|
Zeile 132: Zeile 73:
<tr class="mw-collapsible mw-collapsed"><td>text</td><td>text</td></tr>
<tr class="mw-collapsible mw-collapsed"><td>text</td><td>text</td></tr>
</table>
</table>





Aktuelle Version vom 3. Mai 2021, 05:42 Uhr

Admin hat keine Unterseiten.

COLOR

COLOR
COLOR
COLOR

geplante Erweiterungen

Extension Vategory Tree

Vorlagen

This text is collapsible. Vorlage:Lorem


tmp

Title

Text


1+1=2




Header
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

</syntaxhighlight lang="lisp" line start=1> def quick_sort(arr): less = [] pivot_list = [] more = [] if len(arr) <= 1: return arr else: pass </syntaxhighlight>


Header

texttext



Header

texttext