Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
invinoveritas
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
Environments
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
gbe
invinoveritas
Commits
d2ca55d7
Commit
d2ca55d7
authored
4 years ago
by
gbe
Browse files
Options
Downloads
Patches
Plain Diff
Properly set max width
parent
92848538
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
static/style.css
+5
-4
5 additions, 4 deletions
static/style.css
templates/details.tpl
+2
-2
2 additions, 2 deletions
templates/details.tpl
templates/index.tpl
+2
-2
2 additions, 2 deletions
templates/index.tpl
with
9 additions
and
8 deletions
static/style.css
+
5
−
4
View file @
d2ca55d7
.pure-g
>
div
{
/* box-sizing: border-box; */
}
div
.box
{
padding
:
1em
;
}
...
...
@@ -106,4 +102,9 @@ div.centered {
img
.foto
{
margin
:
auto
;
max-width
:
40%
;
}
div
.maxwidth
{
max-width
:
70em
;
margin
:
auto
;
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
templates/details.tpl
+
2
−
2
View file @
d2ca55d7
...
...
@@ -5,7 +5,7 @@
{{ define "content" }}
<form
class=
"pure-form pure-form-aligned"
method=
"POST"
>
<div
class=
"content smallfooter pure-u-1"
>
<div
class=
"box"
>
<div
class=
"
maxwidth
box"
>
<input
type=
"hidden"
name=
"id"
value=
"{{ .Wine.ID }}"
>
<fieldset>
...
...
@@ -32,7 +32,7 @@
</div>
<footer
class=
"small pure-u-1"
>
<div
class=
"box"
>
<div
class=
"
maxwidth
box"
>
<!-- TODO: give these buttons values so that the Go code can decide what to do -->
<button
type=
"submit"
class=
"pure-button pure-button-primary"
>
Save Changes
</button>
<button
type=
"submit"
class=
"right pure-button button-warning"
>
Delete
</button>
...
...
This diff is collapsed.
Click to expand it.
templates/index.tpl
+
2
−
2
View file @
d2ca55d7
...
...
@@ -4,7 +4,7 @@
{{ define "content" }}
<div
class=
"content pure-u-1"
>
<div
class=
"box"
>
<div
class=
"
maxwidth
box"
>
<table
class=
"pure-table"
>
<thead><tr><th>
#
</th><th>
Rating
</th><th
class=
"fill"
>
Name
</th></tr></thead>
<tbody>
...
...
@@ -21,7 +21,7 @@
</div>
<footer
class=
"pure-u-1"
>
<div
class=
"box"
>
<div
class=
"
maxwidth
box"
>
<form
class=
"pure-form"
method=
"POST"
enctype=
"multipart/form-data"
action=
"/add"
>
<fieldset>
<div
class=
"pure-g"
>
...
...
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