mirror of
https://github.com/wassname/cardsforscience.git
synced 2026-07-03 14:17:20 +08:00
Fix research icons.;
This commit is contained in:
+1
-2
@@ -15,8 +15,7 @@
|
||||
<hr>
|
||||
<ul class="media-list">
|
||||
<li class="media" ng-repeat="r in rc.research" ng-show="r.is_visible()">
|
||||
<img ng-show="r.level > 0" class="pull-left" class="media-object" src="{{ r.image }}" alt="">
|
||||
<img ng-hide="r.level > 0" class="pull-left" class="media-object" src="assets/unknown.png" alt="">
|
||||
<img class="pull-left" class="media-object" src="{{ r.level > 0 ? r.image : 'assets/unknown.png' }}" alt="">
|
||||
<div class="media-body">
|
||||
<h4 class="media-heading">{{ r.level > 0 ? r.name : '?????' }} <span ng-show="r.level > 0" class="badge">Level {{ r.level }}</span></h4>
|
||||
<p ng-show="r.level > 0">{{ r.description }} Researching it will give you {{ r.reputation }} reputation.</p>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"reputation": 1,
|
||||
"cost": 10,
|
||||
"cost_increase": 1.4,
|
||||
"image": "assets/W.png",
|
||||
"info": "html/W.html"
|
||||
},
|
||||
{
|
||||
@@ -13,6 +14,7 @@
|
||||
"reputation": 5,
|
||||
"cost": 100,
|
||||
"cost_increase": 1.45,
|
||||
"image": "assets/Z.png",
|
||||
"info": "html/Z.html"
|
||||
},
|
||||
{
|
||||
@@ -21,6 +23,7 @@
|
||||
"reputation": 50,
|
||||
"cost": 2000,
|
||||
"cost_increase": 1.5,
|
||||
"image": "assets/t.png",
|
||||
"info": "html/t.html"
|
||||
},
|
||||
{
|
||||
@@ -29,6 +32,7 @@
|
||||
"reputation": 100,
|
||||
"cost": 25000,
|
||||
"cost_increase": 1.55,
|
||||
"image": "assets/nu.png",
|
||||
"info": "html/nu.html"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user