diff --git a/app/static/css/no-more-tables.css b/app/static/css/no-more-tables.css new file mode 100644 index 0000000..1cc0443 --- /dev/null +++ b/app/static/css/no-more-tables.css @@ -0,0 +1,53 @@ +.tg {border-collapse:collapse;border-spacing:0;} +.tg td{font-family:Arial, sans-serif;font-size:14px;padding:1px 1px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;} +.tg th{font-family:Arial, sans-serif;font-size:14px;padding:1px 1px;font-weight:normal;padding:border-style:solid;border-width:1px;overflow:hidden;word-break:normal;} +.tg .tg-yw4l{vertical-align:top} + +@media only screen and (max-width: 768px) { + /* Force table to not be like tables anymore */ + .no-more-tables table, + .no-more-tables thead, + .no-more-tables tbody, + .no-more-tables th, + .no-more-tables td, + .no-more-tables tr { + display: block; + } + + /* Hide table headers (but not display: none;, for accessibility) */ + .no-more-tables thead tr { + position: absolute; + top: -9999px; + left: -9999px; + } + + .no-more-tables tr { border: 1px solid #ccc; } + + .no-more-tables td { + /* Behave like a "row" */ + border: none; + border-bottom: 1px solid #eee; + position: relative; + padding-left: 50%; + white-space: normal; + text-align:left; + } + + .no-more-tables td:before { + /* Now like a table header */ + /* position: absolute; */ + /* Top/left values mimic padding */ + top: 6px; + left: 6px; + width: 45%; + padding-right: 10px; + white-space: nowrap; + text-align: left; + font-weight: bold; + } + + /* + Label the data + */ + .no-more-tables td:before { content: attr(data-title); } + } diff --git a/app/static/css/panel-transparent.css b/app/static/css/panel-transparent.css new file mode 100644 index 0000000..a2f07a4 --- /dev/null +++ b/app/static/css/panel-transparent.css @@ -0,0 +1,13 @@ +.panel-transparent { + background: none; +} + +.panel-transparent .panel-heading { + background: rgb(255, 255, 255); /* fallback */ + background: rgba(255, 255, 255, 0.7)!important; +} + +.panel-transparent .panel-body{ + background: rgb(255, 255, 255); /* fallback */ + background: rgba(255, 255, 255, 0.7)!important; +} diff --git a/app/templates/admin/list_addresses.html b/app/templates/admin/list_addresses.html index ddfdd07..526f0ce 100644 --- a/app/templates/admin/list_addresses.html +++ b/app/templates/admin/list_addresses.html @@ -16,40 +16,42 @@ + + + - - {% for address in addresses %} {% if address.reserved == True %}{% else %}{% endif %} + - {% if address.assignee != None %} - - - - {% else %} - - - - {% endif %} - - {% if address.rdns != None %} - - {% else %} - - {% endif %} {% if address.user_id != None %} {% else %} {% endif %} + {% if address.assignee != None %} + + + +{% else %} + + + + {% endif %} + + {% if address.rdns != None %} + + {% else %} + + {% endif %} {% endfor %} diff --git a/app/templates/base.html b/app/templates/base.html index f828435..d4948c2 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -17,6 +17,8 @@ + + {% endblock %} {% block scripts %} diff --git a/app/templates/main/aboutus.html b/app/templates/main/aboutus.html index bf80ca1..fc6511c 100644 --- a/app/templates/main/aboutus.html +++ b/app/templates/main/aboutus.html @@ -7,20 +7,6 @@ body { background-image: url('/static/images/cloudsbg.jpeg'); } - - .panel-transparent { - background: none; - } - - .panel-transparent .panel-heading { - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } - - .panel-transparent .panel-body{ - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } {% endblock %} diff --git a/app/templates/main/domaincheck.html b/app/templates/main/domaincheck.html new file mode 100644 index 0000000..23b7dc4 --- /dev/null +++ b/app/templates/main/domaincheck.html @@ -0,0 +1,62 @@ +

+ +

+ + + + + + diff --git a/app/templates/main/index.html b/app/templates/main/index.html index d203a66..94756e8 100644 --- a/app/templates/main/index.html +++ b/app/templates/main/index.html @@ -11,20 +11,6 @@ body { background-image: url('/static/images/cloudsbg.jpeg'); } - - .panel-transparent { - background: none; - } - - .panel-transparent .panel-heading { - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } - - .panel-transparent .panel-body{ - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } {% endblock %} diff --git a/app/templates/main/livechat.html b/app/templates/main/livechat.html index a767550..f88ba03 100644 --- a/app/templates/main/livechat.html +++ b/app/templates/main/livechat.html @@ -6,20 +6,6 @@ body { background-image: url('/static/images/cloudsbg.jpeg'); } - - .panel-transparent { - background: none; - } - - .panel-transparent .panel-heading { - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } - - .panel-transparent .panel-body{ - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } {% endblock %} diff --git a/app/templates/main/terms.html b/app/templates/main/terms.html index a7d8a3f..e181112 100644 --- a/app/templates/main/terms.html +++ b/app/templates/main/terms.html @@ -7,20 +7,6 @@ body { background-image: url('/static/images/cloudsbg.jpeg'); } - - .panel-transparent { - background: none; - } - - .panel-transparent .panel-heading { - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } - - .panel-transparent .panel-body{ - background: rgb(255, 255, 255); /* fallback */ - background: rgba(255, 255, 255, 0.7)!important; - } {% endblock %} diff --git a/app/templates/panel/dashboard.html b/app/templates/panel/dashboard.html index 9acebf8..9afeea9 100644 --- a/app/templates/panel/dashboard.html +++ b/app/templates/panel/dashboard.html @@ -2,21 +2,6 @@ {% block styles %} {{ super() }} -
IPAssigneeServer VLAN Deploy ServerRegion rDNSAssignee
{{ address.ip }}{{ address.assignee.vlan_id }}{{ address.assignee.deploy.machine_alias }}{{ address.assignee.deploy.server.name }}{{ address.region.name }}{{ address.rdns }}{{ address.owner.email }}{{ address.assignee.deploy.server.name }}{{ address.assignee.vlan_id }}{{ address.assignee.deploy.machine_alias }}{{ address.rdns }}
+ + + . + +