Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Knowledge Space WP Plugin
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alg
Knowledge Space WP Plugin
Commits
425b0483
You need to sign in or sign up before continuing.
Commit
425b0483
authored
3 years ago
by
Maximilian Giller
Browse files
Options
Downloads
Patches
Plain Diff
Fixed formatting for admin page
parent
5f9b1581
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
editor/css/editor.css
+1
-0
1 addition, 0 deletions
editor/css/editor.css
editor/editor.php
+19
-4
19 additions, 4 deletions
editor/editor.php
with
20 additions
and
4 deletions
editor/css/editor.css
+
1
−
0
View file @
425b0483
...
...
@@ -44,6 +44,7 @@ div#ks-editor .bottom-space {
div
#ks-editor
textarea
{
max-width
:
100%
;
resize
:
both
;
letter-spacing
:
normal
;
}
...
...
This diff is collapsed.
Click to expand it.
editor/editor.php
+
19
−
4
View file @
425b0483
...
...
@@ -13,21 +13,31 @@
<p
id=
"nothing-selected"
>
Nothing selected
</p>
<div
id=
"node-selected"
class=
"hidden"
>
<label
for=
"node-name"
hidden
>
Name
</label>
</br>
<input
type=
"text"
id=
"node-name"
name=
"node-name"
placeholder=
"Enter name"
class=
"bottom-space"
></input>
</br>
<label
for=
"node-description"
>
Description
</label>
</br>
<textarea
id=
"node-description"
name=
"node-description"
class=
"bottom-space"
></textarea>
</br>
<label
for=
"node-image"
>
Node Image
</label>
</br>
<img
id=
"node-image-preview"
class=
"preview-image"
src=
""
/>
<input
type=
"text"
id=
"node-image"
name=
"node-image"
placeholder=
"Enter file name or URL"
class=
"
medium-width
bottom-space"
/>
<input
type=
"text"
id=
"node-image"
name=
"node-image"
placeholder=
"Enter file name or URL"
class=
"bottom-space"
/>
</br>
<label
for=
"node-detail-image"
>
Info Image
</label>
</br>
<img
id=
"node-detail-image-preview"
class=
"preview-image"
src=
""
/>
<input
type=
"text"
id=
"node-detail-image"
name=
"node-detail-image"
placeholder=
"Enter file name or URL"
class=
"
medium-width
bottom-space"
/>
<input
type=
"text"
id=
"node-detail-image"
name=
"node-detail-image"
placeholder=
"Enter file name or URL"
class=
"bottom-space"
/>
</br>
<label
for=
"node-type"
>
Type
</label>
<select
id=
"node-type"
name=
"node-type"
class=
"bottom-space medium-width"
>
</br>
<select
id=
"node-type"
name=
"node-type"
class=
"bottom-space"
>
<option
value=
"Vorlesung"
>
Vorlesung
</option>
<option
value=
"Algorithmus"
>
Algorithmus
</option>
<option
value=
"Definition"
>
Definition
</option>
...
...
@@ -36,10 +46,14 @@
<option
value=
"Kapitel"
>
Kapitel
</option>
</select>
</br>
<label
for=
"node-video"
>
Video
</label>
</br>
<input
type=
"text"
placeholder=
"Video URL"
id=
"node-video"
name=
"node-video"
></input>
</br>
<label
for=
"node-references"
>
References
</label>
<small>
One URL per line
</small>
</br>
<textarea
id=
"node-references"
name=
"node-references"
class=
"bottom-space"
></textarea>
</div>
<div
id=
"link-selected"
class=
"hidden"
>
...
...
@@ -52,7 +66,7 @@
</input>
</br>
<label>
Simulate physics from beginning
</label>
</br>
<button
id=
"reanimate-button"
name=
"reanimate-button"
class=
"bottom-space"
>
Re-simulate
</button>
...
...
@@ -60,6 +74,7 @@
</br>
<label
for=
"stop-physics-delay"
>
Amount of time [in seconds] after which the physics simulation is stopped
</label>
</br>
<input
type=
"number"
value=
"5"
id=
"stop-physics-delay"
name=
"stop-physics-delay"
class=
"small-width"
>
</input>
</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