fixed some styles for auth.wiki
This commit is contained in:
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-24 22:52:42) dev
|
Version 2.00.0 (2012-08-24 23:11:41) dev
|
||||||
|
|||||||
@@ -80,11 +80,11 @@ fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4p
|
|||||||
|
|
||||||
td.w2p_fw {padding-bottom:1px}
|
td.w2p_fw {padding-bottom:1px}
|
||||||
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
||||||
td.w2p_fl {text-align:right}
|
td.w2p_fl {text-align:left}
|
||||||
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
||||||
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
||||||
div.w2p_export_menu {margin:5px 0}
|
div.w2p_export_menu {margin:5px 0}
|
||||||
div.w2p_export_menu a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}
|
div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}
|
||||||
|
|
||||||
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
||||||
#submit_record__row td {padding-top:.5em}
|
#submit_record__row td {padding-top:.5em}
|
||||||
@@ -294,8 +294,14 @@ div.error {
|
|||||||
margin-bottom:18px;
|
margin-bottom:18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.web2py_breadcrumbs ul li {
|
li.w2p_grid_breadcrumb_elem {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ie9 #query_panel {padding-bottom:2px}
|
.ie9 #query_panel {padding-bottom:2px}
|
||||||
|
|
||||||
|
#wiki_page_body {
|
||||||
|
width: 600px;
|
||||||
|
height: auto;
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
@@ -80,11 +80,11 @@ fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4p
|
|||||||
|
|
||||||
td.w2p_fw {padding-bottom:1px}
|
td.w2p_fw {padding-bottom:1px}
|
||||||
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
||||||
td.w2p_fl {text-align:right}
|
td.w2p_fl {text-align:left}
|
||||||
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
||||||
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
||||||
div.w2p_export_menu {margin:5px 0}
|
div.w2p_export_menu {margin:5px 0}
|
||||||
div.w2p_export_menu a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}
|
div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;}
|
||||||
|
|
||||||
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
/* tr#submit_record__row {border-top:1px solid #E5E5E5} */
|
||||||
#submit_record__row td {padding-top:.5em}
|
#submit_record__row td {padding-top:.5em}
|
||||||
@@ -294,8 +294,14 @@ div.error {
|
|||||||
margin-bottom:18px;
|
margin-bottom:18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.web2py_breadcrumbs ul li {
|
li.w2p_grid_breadcrumb_elem {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ie9 #query_panel {padding-bottom:2px}
|
.ie9 #query_panel {padding-bottom:2px}
|
||||||
|
|
||||||
|
#wiki_page_body {
|
||||||
|
width: 600px;
|
||||||
|
height: auto;
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
@@ -80,7 +80,7 @@ fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4p
|
|||||||
|
|
||||||
td.w2p_fw {padding-bottom:1px}
|
td.w2p_fw {padding-bottom:1px}
|
||||||
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top}
|
||||||
td.w2p_fl {text-align:right}
|
td.w2p_fl {text-align:left}
|
||||||
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
td.w2p_fl, td.w2p_fw {padding-right:7px}
|
||||||
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
td.w2p_fl,td.w2p_fc {padding-top:4px}
|
||||||
div.w2p_export_menu {margin:5px 0}
|
div.w2p_export_menu {margin:5px 0}
|
||||||
@@ -299,3 +299,9 @@ li.w2p_grid_breadcrumb_elem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.ie9 #query_panel {padding-bottom:2px}
|
.ie9 #query_panel {padding-bottom:2px}
|
||||||
|
|
||||||
|
#wiki_page_body {
|
||||||
|
width: 600px;
|
||||||
|
height: auto;
|
||||||
|
min-height: 400px;
|
||||||
|
}
|
||||||
+6
-3
@@ -238,8 +238,10 @@ class ListWidget(StringWidget):
|
|||||||
if field.type=='list:integer': _class = 'integer'
|
if field.type=='list:integer': _class = 'integer'
|
||||||
else: _class = 'string'
|
else: _class = 'string'
|
||||||
requires = field.requires if isinstance(field.requires, (IS_NOT_EMPTY, IS_LIST_OF)) else None
|
requires = field.requires if isinstance(field.requires, (IS_NOT_EMPTY, IS_LIST_OF)) else None
|
||||||
items=[LI(INPUT(_id=_id, _class=_class, _name=_name, value=v, hideerror=True, requires=requires)) \
|
attributes['_style'] = 'list-style:none'
|
||||||
for v in value or ['']]
|
items=[LI(INPUT(_id=_id, _class=_class, _name=_name,
|
||||||
|
value=v, hideerror=True, requires=requires),
|
||||||
|
**attributes) for v in value or ['']]
|
||||||
script=SCRIPT("""
|
script=SCRIPT("""
|
||||||
// from http://refactormycode.com/codes/694-expanding-input-list-using-jquery
|
// from http://refactormycode.com/codes/694-expanding-input-list-using-jquery
|
||||||
(function(){
|
(function(){
|
||||||
@@ -270,7 +272,8 @@ function rel(ul) {
|
|||||||
})();
|
})();
|
||||||
jQuery(document).ready(function(){jQuery('#%s_grow_input').grow_input();});
|
jQuery(document).ready(function(){jQuery('#%s_grow_input').grow_input();});
|
||||||
""" % _id)
|
""" % _id)
|
||||||
attributes['_id']=_id+'_grow_input'
|
attributes['_id'] = _id+'_grow_input'
|
||||||
|
attributes['_style'] = 'list-style:none'
|
||||||
return TAG[''](UL(*items,**attributes),script)
|
return TAG[''](UL(*items,**attributes),script)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -4662,7 +4662,8 @@ class Wiki(object):
|
|||||||
vars = current.request.post_vars
|
vars = current.request.post_vars
|
||||||
if vars.body:
|
if vars.body:
|
||||||
vars.body=vars.body.replace('://%s' % self.host,'://HOSTNAME')
|
vars.body=vars.body.replace('://%s' % self.host,'://HOSTNAME')
|
||||||
form = SQLFORM(db.wiki_page,page,deletable=True,showid=False).process()
|
form = SQLFORM(db.wiki_page,page,deletable=True,
|
||||||
|
formstyle='table2cols',showid=False).process()
|
||||||
if form.deleted:
|
if form.deleted:
|
||||||
current.session.flash = 'page deleted'
|
current.session.flash = 'page deleted'
|
||||||
redirect(URL())
|
redirect(URL())
|
||||||
|
|||||||
Reference in New Issue
Block a user