Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KolloquiumVRWebsite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nick Anton Christoph Kleine-Tebbe
KolloquiumVRWebsite
Commits
d4854176
Commit
d4854176
authored
3 years ago
by
Nick Anton Christoph Kleine-Tebbe
Browse files
Options
Downloads
Patches
Plain Diff
created abgabe-hochladen
parent
c7b7fb5d
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
components/KolloquiumItem.vue
+0
-3
0 additions, 3 deletions
components/KolloquiumItem.vue
pages/abgabe-hochladen.vue
+47
-0
47 additions, 0 deletions
pages/abgabe-hochladen.vue
pages/index.vue
+14
-3
14 additions, 3 deletions
pages/index.vue
with
61 additions
and
6 deletions
components/KolloquiumItem.vue
+
0
−
3
View file @
d4854176
...
...
@@ -7,9 +7,6 @@
{{
title
}}
</div>
<input
v-if=
"inEdit"
class=
"w-full rounded border p-1"
v-model=
"title"
placeholder=
"Neues Kolloquium..."
>
<button
v-if=
"!inEdit"
class=
"text-center text-white rounded-md select-none w-9 h-8 ml-1 bg-blue-500 hover:bg-blue-700 active:bg-blue-900 pb-1"
>
✉
</button>
<button
v-if=
"inEdit"
@
click=
"save()"
...
...
This diff is collapsed.
Click to expand it.
pages/abgabe-hochladen.vue
0 → 100644
+
47
−
0
View file @
d4854176
<
template
>
<div
class=
"relative flex flex-col items-center justify-top min-h-screen bg-gray-100 sm:items-top sm:pt-0"
>
<box>
<template
slot=
"title"
>
Abgabe Hochladen
</
template
>
<
template
slot=
"content"
>
Auf dieser Seite kann man seine CAD/Datasmith-Datei hochladen.
</
template
>
</box>
<box>
<
template
slot=
"title"
>
Details
</
template
>
<
template
slot=
"content"
>
<div
class=
"flex flex-row items-center mb-1"
>
Name:
<input
class=
"ml-1 w-full rounded border p-1"
v-model=
"name"
></div>
<div
class=
"flex flex-row items-center mb-1"
>
Matrikelnummer:
<input
class=
"ml-1 w-full rounded border p-1"
v-model=
"matrikelnummer"
></div>
<div
class=
"flex flex-row items-center mb-1"
>
Datei:
<input
type=
file
class=
"ml-1 w-full rounded border p-1"
></div>
<button
class=
"border rounded mt-4 p-2 font-semibold text-white bg-green-500 hover:bg-green-600 focus:bg-green-700"
>
Hochladen
</button>
</
template
>
</box>
</div>
</template>
<
script
>
import
Box
from
'
~/components/Box
'
import
ListItem
from
'
~/components/ListItem
'
export
default
{
components
:
{
Box
,
ListItem
},
data
()
{
return
{
kolloquium
:
"
Test Kolloquium
"
,
abgabe
:
{
name
:
"
Nick Kleine-Tebbe
"
,
matrikelnummer
:
"
355557
"
,
}
}
},
methods
:
{
}
}
</
script
>
This diff is collapsed.
Click to expand it.
pages/index.vue
+
14
−
3
View file @
d4854176
...
...
@@ -32,18 +32,29 @@
</box>
<box>
<
template
slot=
"title"
>
Details
<div
class=
"flex flex-row justify-between"
>
<span>
Details
</span>
</div>
</
template
>
<
template
slot=
"content"
>
<p
class=
"text-xl"
><span
class=
"font-semibold"
>
Titel:
</span>
{{
selectedKolloquium
}}
</p>
<p
class=
"font-semibold mt-4"
>
Abgaben:
</p>
<p
class=
"font-semibold mt-4
mb-1
"
>
Abgaben:
</p>
<AbgabeItem
v-for=
"abgabe in abgaben"
:key=
"abgabe"
@
click.native=
"selectAbgabe(abgabe)"
:title=
"abgabe"
/>
<button
class=
"border rounded mt-4 p-2 font-semibold text-white bg-green-500 hover:bg-green-600 focus:bg-green-700"
>
Aktivieren
</button>
<div
class=
"flex flex-row justify-between"
>
<button
class=
"border rounded mt-4 p-2 font-semibold text-white bg-green-500 hover:bg-green-600 focus:bg-green-700"
>
Aktivieren
</button>
<n-link
to=
"/abgabe-hochladen"
>
<button
class=
"border rounded mt-4 p-2 font-semibold text-white bg-blue-500 hover:bg-blue-600 focus:bg-blue-700"
>
Link Teilen
</button>
</n-link>
</div>
</
template
>
</box>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment