|
|
Mads Kiilerich
|
64cc63e186e6
|
6 years ago
|
|
|
|
|
Thomas De Schampheleire
|
f9801165dc97
|
6 years ago
|
|
admin: fix 'Settings > Visual' form validation after commit 574218777086Commit 574218777086 introduced a setting for 'SSH Clone URL' in 'Admin > Settings > Visual' and placed it under a check 'if c.ssh_enabled', which means that the corresponding form field is not present when SSH is not enabled. In this case, when trying to save the form (changing any or none setting), form validation reports an error 'Missing value' without much detail. At the top of the HTML document, even before the opening HTML tag, we can see: <!-- for: clone_ssh_tmpl --> <span class="error-message">Missing value</span><br /> Fix this problem by adding a hidden form field for clone_ssh_tmpl, with the current value from the database, in case SSH is not enabled.
|
|
|
domruf
|
574218777086
|
8 years ago
|
|
ssh: show ssh URL on summary page
Original change has been heavily modified by Mads Kiilerich.
|
|
|
Mads Kiilerich
|
d83f41634d06
|
6 years ago
|
|
|
|
|
domruf
|
97ea346aa4bd
|
8 years ago
|
|
less: use .label and .label-* style instead of custom .*tag
This reduces the code and makes it more consistent.
Visualy this results in bold texts (which in case of small fonts is easier to read) and a bit more padding left and right.
For a proper spacing, this requires to remove whitespaces before and after the texts inside the labels.
Since the name changed from tag to label, also rename the variables and functions.
|
|
|
Mads Kiilerich
|
ee3343f3658f
|
8 years ago
|
|
style: drop form-horizontal - our style is much closer to plain Bootstrap forms
form-horizontal is made for grid markup. It give form-groups a negative margin to break out of the grid ... but the way we use it for settings, we have to do weird things to undo that. The default styling for forms is much closer to what we want. It looks ok without our custom styling and is easier to style to our style.
If we want grid markup with form-horizontal, it would be correct to re-introduce both at once.
|
|
|
Mads Kiilerich
|
9d34bea3059d
|
8 years ago
|
|
|
|
|
Mads Kiilerich
|
a1f8bf0428c5
|
9 years ago
|
|
admin: clean-up of Gravatar and IP in user profile headers
Move things around and use Bootstrap compatible markup.
The user IP will rarely be relevant - especially not on the admin pages; the IP configuration there is more for other user's IP. It might however be somewhat relevant for a (non-admin) user to know his own IP. There is no obvious place to show that - it doesn't really fit in as a part of the user profile. Anyway, just show it under Show Permissions.
|
|
|
Mads Kiilerich
|
9c01335db346
|
9 years ago
|
|
style: introduce Bootstrap markup for list-unstyled
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
97b8db701355
|
9 years ago
|
|
templates: replace invalid metatag attributes with data attributes
(We could also use plain classes ... but stick to the plan ...)
|
|
|
Mads Kiilerich
|
e54f4d943d4a
|
9 years ago
|
|
settings: fix saving of visual settings of page size After 19f15cde2cdb it was no longer to save page_size because formfill didn't match. Back out a part of that changeset.
|
|
|
Mads Kiilerich
|
15909fe588e1
|
9 years ago
|
|
|
|
|
Mads Kiilerich
|
9447a8b26da0
|
9 years ago
|
|
style: consistently use label markup wrapping around input elements
The 'for="..."' markup is error prone.
|
|
|
Mads Kiilerich
|
a79e651306e2
|
9 years ago
|
|
style: add missing 'form-control' markup
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
951004d57e3f
|
9 years ago
|
|
style: drop 'checkboxes' class inside 'form-group'
Temporarily, just apply styling to div inside form-group. Also, 'radios' is gone.
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
dd42c2ad28d7
|
9 years ago
|
|
style: drop 'input' class inside 'form-group'
As long as we use the old styling, just apply styling to div inside form-group.
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
19f15cde2cdb
|
9 years ago
|
|
|
|
|
Mads Kiilerich
|
68d3315c48d4
|
9 years ago
|
|
|
|
|
Mads Kiilerich
|
94fb819ab47c
|
9 years ago
|
|
style: quite-but-not-entirely trivial cleanup of "settings, visual"
Providing a cleaner baseline for Bootstrap.
|
|
|
Mads Kiilerich
|
d1923cd0521c
|
9 years ago
|
|
style: refactor form label styling to prepare for Bootstrap and get rid of wrapping with 'label' class
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
d27572fa323c
|
9 years ago
|
|
style: put all admin form buttons in a form-group, as our future Bootstrap likes it
Based on work by Dominik Ruf.
|
|
|
Mads Kiilerich
|
4304595d246c
|
9 years ago
|
|
style: in preparation for Bootstrap, refactor to use Bootstrap compatible form class names
Based on work by Dominik Ruf.
Mostly:
sed -i \ -e 's,<table>,<table class="table">,g' \ -e 's,<div class="fields">,<div class="form-horizontal">,g' \ -e 's,<div class="field">,<div class="form-group">,g' \ -e 's,<label for="\([^"]*\)">,<label class="control-label" for="\1">,g' \ `hg mani`
cat kallithea/public/css/style.css | \ sed -e '/\.fields\>/{p;s/\.fields/.form-horizontal/g}' | \ sed -e '/\.fields\>/s/ {$/,/g' | \ sed -e '/\.field\>/{p;s/\.field\>/.form-group/g}' | \ sed -e '/\.field\>/s/ {$/,/g' | \ sed -e '/\.fields\>.*\.form-group\>/d' | \ sed -e '/\.form-horizontal\>.*\.field\>/d ' | \ cat - > kallithea/public/css/style.css.tmp mv kallithea/public/css/style.css.tmp kallithea/public/css/style.css
|
|
|
domruf
|
b7654d1675da
|
9 years ago
|
|
style: in preparation for bootstrap, use bootstrap compatible button class names
Give all buttons a styling (default, success, danger, warning) and rename the sizes to sm and xs.
This is a subset of a bigger changeset. The subset was extracted by Mads Kiilerich, mostly by:
sed -i \ -e 's,btn btn-small,btn btn-default btn-sm,g' \ -e 's,btn btn-mini,btn btn-default btn-xs,g' \ -e 's,btn-default btn-\(xs\|sm\) btn-\(success\|danger\|warning\),btn-\2 btn-\1,g' \ -e 's,class_="btn",class_="btn btn-default",g' \ `hg mani`
|
|
|
Mads Kiilerich
|
a98e489e52c9
|
10 years ago
|
|
|
|
|
timeless@gmail.com
|
31fb2b22eb47
|
10 years ago
|
|
|
|
|
Søren Løvborg
|
b361974171ea
|
10 years ago
|
|
spelling: fix inappropriate use of title case
These are not titles or labels, and should not be title cased.
|
|
|
Søren Løvborg
|
aaa2478f9d60
|
10 years ago
|
|
|
|
|
Thomas De Schampheleire
|
53d766fc9782
|
11 years ago
|
|
spelling: consistent capitalization of URL
Change Url / url into URL. Additionally, convert the sole use of 'Uri' to URL.
|
|
|
Na'Tosha Bard
|
dacdea9fda2a
|
11 years ago
|
|
|
|
|
Bradley M. Kuhn
|
f373f182b756
|
11 years ago
|
|
|
|
|
Bradley M. Kuhn
|
24c0d584ba86
|
11 years ago
|
|
|
|
|
Bradley M. Kuhn
|
d1addaf7a91e
|
11 years ago
|
|
Second step in two-part process to rename directories. This is the actual directory rename.
|