diff --git a/paramecio/citoplasma/templates/utils/list.phtml b/paramecio/citoplasma/templates/utils/list.phtml index 6351c78..4fadf69 100644 --- a/paramecio/citoplasma/templates/utils/list.phtml +++ b/paramecio/citoplasma/templates/utils/list.phtml @@ -30,24 +30,24 @@ % for field in simplelist.fields_showed: - + % endfor % for extra_field in simplelist.arr_extra_fields: - + % endfor % for row in list: % for field in simplelist.fields_showed: % if simplelist.model.fields[field].escape==True: - + % else: - + % endif % endfor % for extra_field_func in simplelist.arr_extra_options: - + % endfor % endfor diff --git a/paramecio/modules/admin/media/css/admin.css b/paramecio/modules/admin/media/css/admin.css index d40eb4d..0041634 100644 --- a/paramecio/modules/admin/media/css/admin.css +++ b/paramecio/modules/admin/media/css/admin.css @@ -120,9 +120,11 @@ p { { float:left; - width:18%; + width:17%; margin-right:0px; position:relative; + border:solid #cccccc; + border-width:0px 1px 1px 0px; } #menu a @@ -134,7 +136,8 @@ p { color:#6183b0; display:block; border:solid #cccccc; - border-width:0px 1px 1px 1px; + /*border-width:0px 1px 1px 1px;*/ + border-width:0px; padding:5px; background: #ececec; } @@ -162,7 +165,7 @@ p { { padding:5px; - font-size:22px; + font-size:18px; font-family:"Helvetica", sans, serif; font-weight:bold; /*background-image:url('../images/background_title.png'); @@ -197,6 +200,19 @@ p { } +#menu ul { + + margin:0px; + /*border: solid #000 1px;*/ + padding:0px; +} + +#menu li { + + border-width: 0px; + +} + .content_admin { @@ -570,11 +586,12 @@ a:hover.no_choose_flag { top:16px; - right:5px; - width:100px; + right:10px; + width:55px; font-weight:bold; font-size:12px; text-decoration: none; + /*border: solid #000 1px;*/ } #logout a { @@ -665,3 +682,119 @@ a.form_button_tab:hover filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff3019', endColorstr='#cf0404',GradientType=0 ); /* IE6-9 */ } + +#toggle { + + position:absolute; + left:10px; + top:0px; + z-index:1; + display:none; + + +} + +#toggle span { + + display:none; + +} + +.first_canvas { + + width:48%; + float:right; + +} + +.other_canvas { + + width:48%; + float:left; + +} + +/* Media queries */ + +@media only screen and (max-width: 800px) { + + #toggle { + + display:block; + + } + + #toggle span { + + display:none; + + } + + .contents { + + width:100%; + + } + + #menu { + + width:100%; + + } + #title_phango + { + font-size:18px; + text-align:center; + color: #555555; + border: solid #000 0px; + } + + #title_framework + { + + display:none; + + } + + #header { + + text-align:center; + + } + + .ip_td { + + display:none; + + } + + .num_updates_td { + + display:none; + + } + + .first_canvas { + + width:100%; + clear:both; + + } + + .first_canvas canvas { + + border:solid #000 1px; + height:300px; + display:block; + + } + + .other_canvas { + + width:100%; + clear:both; + + } + +} + diff --git a/paramecio/modules/admin/media/css/responsive-nav.css b/paramecio/modules/admin/media/css/responsive-nav.css new file mode 100644 index 0000000..9bdbd6f --- /dev/null +++ b/paramecio/modules/admin/media/css/responsive-nav.css @@ -0,0 +1,49 @@ +/*! responsive-nav.js 1.0.39 by @viljamis */ + +.nav-collapse ul { + margin: 0; + padding: 0; + width: 100%; + display: block; + list-style: none; +} + +.nav-collapse li { + width: 100%; + display: block; +} + +.js .nav-collapse { + clip: rect(0 0 0 0); + max-height: 0; + position: absolute; + display: block; + overflow: hidden; + zoom: 1; +} + +.nav-collapse.opened { + max-height: 9999px; +} + +.nav-toggle { + -webkit-tap-highlight-color: rgba(0,0,0,0); + -webkit-touch-callout: none; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-user-select: none; + user-select: none; +} + +@media screen and (min-width: 40em) { + .js .nav-collapse { + position: relative; + } + .js .nav-collapse.closed { + max-height: none; + } + .nav-toggle { + display: none; + } +} diff --git a/paramecio/modules/admin/media/js/responsive-nav.min.js b/paramecio/modules/admin/media/js/responsive-nav.min.js new file mode 100644 index 0000000..e9b392f --- /dev/null +++ b/paramecio/modules/admin/media/js/responsive-nav.min.js @@ -0,0 +1 @@ +!function(a,b,c){"use strict";var d=function(d,e){var f=!!b.getComputedStyle;f||(b.getComputedStyle=function(a){return this.el=a,this.getPropertyValue=function(b){var c=/(\-([a-z]){1})/g;return"float"===b&&(b="styleFloat"),c.test(b)&&(b=b.replace(c,function(){return arguments[2].toUpperCase()})),a.currentStyle[b]?a.currentStyle[b]:null},this});var g,h,i,j,k,l,m=function(a,b,c,d){if("addEventListener"in a)try{a.addEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.addEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"attachEvent"in a&&("object"==typeof c&&c.handleEvent?a.attachEvent("on"+b,function(){c.handleEvent.call(c)}):a.attachEvent("on"+b,c))},n=function(a,b,c,d){if("removeEventListener"in a)try{a.removeEventListener(b,c,d)}catch(e){if("object"!=typeof c||!c.handleEvent)throw e;a.removeEventListener(b,function(a){c.handleEvent.call(c,a)},d)}else"detachEvent"in a&&("object"==typeof c&&c.handleEvent?a.detachEvent("on"+b,function(){c.handleEvent.call(c)}):a.detachEvent("on"+b,c))},o=function(a){if(a.children.length<1)throw new Error("The Nav container has no containing elements");for(var b=[],c=0;c10||Math.abs(a.touches[0].clientY-this.startY)>10)&&(this.touchHasMoved=!0)},_onTouchEnd:function(a){if(this._preventDefault(a),k&&!this.touchHasMoved){if("touchend"===a.type)return void this.toggle();var c=a||b.event;3!==c.which&&2!==c.button&&this.toggle()}},_onKeyUp:function(a){var c=a||b.event;13===c.keyCode&&this.toggle()},_transitions:function(){if(h.animate){var a=g.style,b="max-height "+h.transition+"ms";a.WebkitTransition=a.MozTransition=a.OTransition=a.transition=b}},_calcHeight:function(){for(var a=0,b=0;b - + + ${title} - ${add_css_home_local('admin.css', 'admin')} ${add_css_home_local('font-awesome.min.css', 'admin')} +${add_css_home_local('responsive-nav.css', 'admin')} ${add_js_home_local('jquery.min.js', 'admin')} +${add_js_home_local('responsive-nav.min.js', 'admin')} ${HeaderHTML.css_home()|n} ${HeaderHTML.js_home()|n} ${HeaderHTML.header_home()|n} -
@@ -29,6 +28,7 @@ ${HeaderHTML.header_home()|n}
- + % endfor + +

${title}

<%block name="content">
-
+
+ +
${simplelist.model.fields[field].label}${simplelist.model.fields[field].label}${ extra_field }${ extra_field }
${simplelist.model.fields[field].show_formatted(row[field])}${simplelist.model.fields[field].show_formatted(row[field])}${simplelist.model.fields[field].show_formatted(row[field])|n}${simplelist.model.fields[field].show_formatted(row[field])|n}${ simplelist.set_options(extra_field_func, row)|n }${ simplelist.set_options(extra_field_func, row)|n }