diff --git a/corputils/forms.py b/corputils/forms.py index ebca58ad..aebdc2ba 100644 --- a/corputils/forms.py +++ b/corputils/forms.py @@ -5,4 +5,4 @@ from eveonline.models import EveCorporationInfo from eveonline.models import EveAllianceInfo class CorputilsSearchForm(forms.Form): - search_string = forms.CharField(max_length=254, required=True, label="Search String") + search_string = forms.CharField(max_length=254, required=True, label="", widget=forms.TextInput(attrs={'placeholder': 'Search characters...'})) diff --git a/stock/static/css/bootstrap.min.css b/stock/static/css/bootstrap.min.css index d368d7be..7e5f6272 100644 --- a/stock/static/css/bootstrap.min.css +++ b/stock/static/css/bootstrap.min.css @@ -3401,6 +3401,22 @@ tbody.collapse.in { box-shadow: 0 6px 12px rgba(0, 0, 0, .175) } +@media screen and (max-width: 991px){ + .columns{ + height: 200px; + overflow:scroll; + } +} + +@media screen and (min-width: 992px){ + .columns{ + -moz-column-count:2; /* Firefox */ + -webkit-column-count:2; /* Safari and Chrome */ + column-count:2; + width: 500px; + } +} + .dropdown-menu.scrollable { overflow: auto; max-height: 450px; @@ -6668,4 +6684,4 @@ button.close { .hidden-print { display: none !important } -} \ No newline at end of file +} diff --git a/stock/static/css/sb-admin-2.css b/stock/static/css/sb-admin-2.css index a3f23e6b..b1c36085 100755 --- a/stock/static/css/sb-admin-2.css +++ b/stock/static/css/sb-admin-2.css @@ -27,7 +27,7 @@ body { margin: 0 0 0 250px; padding: 0 30px; border-left: 1px solid #e7e7e7; - overflow: hidden; + overflow: visible; } } @@ -346,4 +346,4 @@ table.dataTable thead .sorting:after { .panel-yellow a:hover { color: #df8a13; -} \ No newline at end of file +} diff --git a/stock/templates/registered/corputils.html b/stock/templates/registered/corputils.html index b8678029..46a589df 100644 --- a/stock/templates/registered/corputils.html +++ b/stock/templates/registered/corputils.html @@ -12,118 +12,172 @@ {% if perms.auth.corputils %}
Ticker: {{ corp.corporation_ticker }}
-Ticker: {{ corp.corporation_ticker }}
+Member count: {{ corp.member_count }}
-Member count: {{ corp.member_count }}
+Player count: {{characters_with_api|length}}
-Player count: {{characters_with_api|length}}
- -Unregistered characters: {{characters_without_api|length}}
-Unregistered characters: {{characters_without_api|length}}
+- | Main character | -Main corporation | -Character list | ++ | Main character | +Killboard | +Main corporation | +Character list |
---|---|---|---|---|---|---|---|---|
- ![]() |
-
- {{ maincharname }} - |
-
- {{ player.maincorp }} - |
-
- {% for char in player.altlist %}
- {{ char.character_name }} - {% endfor %} - |
- |||||
- ![]() |
-
- {{ character_name }} - |
- - - | -
- No API registered! - |
- |||||
+ ![]() |
+
+ {{ maincharname }} + |
+ + Killboard + | ++ {% if not corp.corporation_name == player.maincorp%} + + {{ player.maincorp }} + + {% else %} + + {{ player.maincorp }} + + {% endif %} + | +
+ {% for char in player.altlist %}
+ {{ char.character_name }} + {% endfor %} + |
+
+ | Character | +Killboard | +API | +
---|---|---|---|
+ ![]() |
+
+ {{ character_name }} + |
+ + Killboard + | ++ No API registered! + | +
Character | -Main Character | -
---|---|
{{ member.name }} | -- {% if member.api_registered%} - {{ member.main }} - {% else %} - No API registered! - {% endif %} - | -