Css für optinale aufgabe 1

This commit is contained in:
Robert
2024-01-24 12:21:20 +01:00
parent 91856073e1
commit c13606c2c1
3 changed files with 49 additions and 17 deletions

32
.idea/workspace.xml generated
View File

@@ -4,12 +4,10 @@
<option name="autoReloadType" value="SELECTIVE" /> <option name="autoReloadType" value="SELECTIVE" />
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="6dcbe3e4-9d68-41d8-8c39-5cfbe5cd4a21" name="Changes" comment="Alles bis auf paar sachen"> <list default="true" id="6dcbe3e4-9d68-41d8-8c39-5cfbe5cd4a21" name="Changes" comment="Alles">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/M6/emensamobile/app/Models/bewertungen.php" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/app/Models/bewertungen.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/M6/emensamobile/public/css/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/public/css/style.css" afterDir="false" /> <change beforePath="$PROJECT_DIR$/M6/emensamobile/public/css/style.css" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/public/css/style.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/bewertung.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/bewertung.blade.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/bewertung.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/bewertung.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/index.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/M6/emensamobile/resources/views/main/index.blade.php" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -66,7 +64,7 @@
&quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;, &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
&quot;database.data.extractors.current.export.id&quot;: &quot;Comma-separated (CSV)_id&quot;, &quot;database.data.extractors.current.export.id&quot;: &quot;Comma-separated (CSV)_id&quot;,
&quot;git-widget-placeholder&quot;: &quot;dev/m6__robert&quot;, &quot;git-widget-placeholder&quot;: &quot;dev/m6__robert&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/rober/Documents/GitHub/DBWT-Praktika/M6/emensamobile/public&quot;, &quot;last_opened_file_path&quot;: &quot;C:/Users/rober/Documents/GitHub/DBWT-Praktika/M6/Dossier&quot;,
&quot;node.js.detected.package.eslint&quot;: &quot;true&quot;, &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
&quot;node.js.detected.package.tslint&quot;: &quot;true&quot;, &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
&quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;, &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
@@ -83,11 +81,11 @@
}</component> }</component>
<component name="RecentsManager"> <component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS"> <key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\Dossier" />
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\public" /> <recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\public" />
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\resources\views" /> <recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\resources\views" />
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\app\Models" /> <recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\app\Models" />
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\resources\css" /> <recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\resources\css" />
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\app\Http\Controllers" />
</key> </key>
<key name="MoveFile.RECENT_KEYS"> <key name="MoveFile.RECENT_KEYS">
<recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\app\Models\Anmeldung" /> <recent name="C:\Users\rober\Documents\GitHub\DBWT-Praktika\M6\emensamobile\app\Models\Anmeldung" />
@@ -114,7 +112,8 @@
<workItem from="1705492444098" duration="553000" /> <workItem from="1705492444098" duration="553000" />
<workItem from="1705493014644" duration="21207000" /> <workItem from="1705493014644" duration="21207000" />
<workItem from="1705627589042" duration="2719000" /> <workItem from="1705627589042" duration="2719000" />
<workItem from="1705630465063" duration="13023000" /> <workItem from="1705630465063" duration="13412000" />
<workItem from="1706091740788" duration="2624000" />
</task> </task>
<task id="LOCAL-00001" summary="Webseite ohne Anmeldung läuft auf laravel"> <task id="LOCAL-00001" summary="Webseite ohne Anmeldung läuft auf laravel">
<option name="closed" value="true" /> <option name="closed" value="true" />
@@ -180,7 +179,23 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1705679416721</updated> <updated>1705679416721</updated>
</task> </task>
<option name="localTasksCounter" value="9" /> <task id="LOCAL-00009" summary="Alles bis auf paar sachen">
<option name="closed" value="true" />
<created>1705682140622</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1705682140622</updated>
</task>
<task id="LOCAL-00010" summary="Alles">
<option name="closed" value="true" />
<created>1705683562748</created>
<option name="number" value="00010" />
<option name="presentableId" value="LOCAL-00010" />
<option name="project" value="LOCAL" />
<updated>1705683562748</updated>
</task>
<option name="localTasksCounter" value="11" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">
@@ -194,6 +209,7 @@
<MESSAGE value="Aufgabe 1" /> <MESSAGE value="Aufgabe 1" />
<MESSAGE value="Bewertungs model" /> <MESSAGE value="Bewertungs model" />
<MESSAGE value="Alles bis auf paar sachen" /> <MESSAGE value="Alles bis auf paar sachen" />
<option name="LAST_COMMIT_MESSAGE" value="Alles bis auf paar sachen" /> <MESSAGE value="Alles" />
<option name="LAST_COMMIT_MESSAGE" value="Alles" />
</component> </component>
</project> </project>

View File

@@ -4,15 +4,31 @@
@media screen and (max-width: 600px) { @media screen and (max-width: 600px) {
.bewertungen_mobile::after { .bewertungen_mobile::after {
content: '\A'; content: '\A' !important;
white-space: pre; white-space: pre !important;
} }
body{ body{
background-color: #0a3622; background-color: #0a3622;
} }
#form{
content: '\A';
white-space: pre;
}
#sterne{
content: '\A';
white-space: pre;
}
.grid {
display: grid;
grid-template-columns: auto auto auto !important;
}
.grid_bewertung { .grid_bewertung {
display: grid; display: grid;
grid-template-columns: 0px 300px auto 0px; grid-template-columns: 1fr!important;
} }
} }
@@ -24,7 +40,7 @@
.grid_bewertung { .grid_bewertung {
display: grid; display: grid;
grid-template-columns: 200px 300px auto 200px; grid-template-columns: repeat(4, 1fr);
} }
img { img {

View File

@@ -54,20 +54,20 @@
?> ?>
<div class="grid_bewertung"> <div class="grid_bewertung">
<div> <div class="leer">
</div> </div>
<div> <div class="image">
<img class="bewertung" src="{{$bildname}}" alt="Bild vom Gericht" width= "10" height="10"> <img class="bewertung" src="{{$bildname}}" alt="Bild vom Gericht" width= "10" height="10">
</div> </div>
<div> <div>
<h1>{{$gericht->name}}</h1> <h1>{{$gericht->name}}</h1>
<div class="bewertungen_mobile"> <div class="bewertungen_mobile">
<form action="/bewertung_abschicken" method="post"> <form id ="form" action="/bewertung_abschicken" method="post">
@method("post") @method("post")
@csrf <!-- {{ csrf_field() }} --> @csrf <!-- {{ csrf_field() }} -->
<label for="sterne">Sterne 1-4</label> <label id="label1" for="sterne">Sterne 1-4</label>
<input id="sterne" name="sterne" type="number" placeholder="1-4" required maxlength="4"> <input id="sterne" name="sterne" type="number" placeholder="1-4" required maxlength="4">
<label for="Bemerkung">Bemerkung</label> <label for="Bemerkung">Bemerkung</label>
@@ -79,7 +79,7 @@
</form> </form>
</div> </div>
</div> </div>
<div> <div class = leer>
</div> </div>
</div> </div>