Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
Quack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
commul
Zeit.shift
Quack
Commits
8838a480
Commit
8838a480
authored
11 years ago
by
Toke Eskildsen
Browse files
Options
Downloads
Patches
Plain Diff
Feature: Custom HTML-snippet insertion as part of the standard templates
parent
54604d1f
No related branches found
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
folder_template.html
+1
-0
1 addition, 0 deletions
folder_template.html
image_template.html
+2
-0
2 additions, 0 deletions
image_template.html
quack.sh
+6
-0
6 additions, 0 deletions
quack.sh
with
9 additions
and
0 deletions
folder_template.html
+
1
−
0
View file @
8838a480
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
<body
class=
"folder"
>
<body
class=
"folder"
>
<h1>
Quack
<span
style=
"color: #999"
>
${SRC_FOLDER}
</span></h1>
<h1>
Quack
<span
style=
"color: #999"
>
${SRC_FOLDER}
</span></h1>
<div
class=
"foldersnippet"
>
${SNIPPET_FOLDER}
</div>
<!-- TODO: Create decent bread crumbs -->
<!-- TODO: Create decent bread crumbs -->
<p>
Parent folder:
<a
href=
"../index.html"
>
${PARENT}
</a></p>
<p>
Parent folder:
<a
href=
"../index.html"
>
${PARENT}
</a></p>
...
...
This diff is collapsed.
Click to expand it.
image_template.html
+
2
−
0
View file @
8838a480
...
@@ -19,6 +19,8 @@ ${IDPREVS}
...
@@ -19,6 +19,8 @@ ${IDPREVS}
<body
class=
"previewpage"
>
<body
class=
"previewpage"
>
<h1>
Quack
<span
style=
"color: #999"
>
${IMAGE}
</span></h1>
<h1>
Quack
<span
style=
"color: #999"
>
${IMAGE}
</span></h1>
<div
class=
"imagesnippet"
>
${SNIPPET_IMAGE}
</div>
<div
id=
"controlpanel"
class=
"control"
>
<div
id=
"controlpanel"
class=
"control"
>
<p
class=
"navigation"
>
${NAVIGATION}
</p>
<p
class=
"navigation"
>
${NAVIGATION}
</p>
${ALTERNATIVES}
${ALTERNATIVES}
...
...
This diff is collapsed.
Click to expand it.
quack.sh
+
6
−
0
View file @
8838a480
...
@@ -131,6 +131,12 @@ export PRESENTATION="true"
...
@@ -131,6 +131,12 @@ export PRESENTATION="true"
export
OVERLAY_BLACK
=
3399FF
export
OVERLAY_BLACK
=
3399FF
export
OVERLAY_WHITE
=
FFFF00
export
OVERLAY_WHITE
=
FFFF00
# Snippets are inserted verbatim at the top of the folder and the image pages.
# Use them for specifying things like delivery date or provider notes.
export
SNIPPET_FOLDER
=
""
export
SNIPPET_IMAGE
=
""
# End default settings. User-supplied overrides will be loaded from quack.settings
# End default settings. User-supplied overrides will be loaded from quack.settings
...
...
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