Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • amsvu-teaching/client-seitige-web-anwendungen-uebungen
  • aqkds/client-seitige-web-anwendungen-uebungen
  • amzuz/client-seitige-web-anwendungen-uebungen
  • mareike.schroeter/client-seitige-web-anwendungen-uebungen
  • annvs/client-seitige-web-anwendungen-uebungen
  • amfpv/client-seitige-web-anwendungen-uebungen
  • ajdcd/client-seitige-web-anwendungen-uebungen
  • ajwxf/client-seitige-web-anwendungen-uebungen
  • apaqh/client-seitige-web-anwendungen-uebungen
  • ajtkp/client-seitige-web-anwendungen-uebungen
  • ajvfu/client-seitige-web-anwendungen-uebungen
  • amhmz/client-seitige-web-anwendungen-uebungen
  • aprkb/client-seitige-web-anwendungen-uebungen
  • aqrwg/client-seitige-web-anwendungen-uebungen
  • ajjxp/client-side-web-applications-exercises
  • akpmx/client-seitige-web-anwendungen-uebungen
  • aeegj/client-seitige-web-anwendungen-uebungen
  • apzhg/client-seitige-web-anwendungen-uebungen
  • amecv/client-seitige-web-anwendungen-uebungen
  • aeshu/client-seitige-web-anwendungen-uebungen
  • ahxdp/client-seitige-web-anwendungen-uebungen
  • anhjz/client-seitige-web-anwendungen-uebungen
  • arzcm/client-seitige-web-anwendungen-uebungen
  • apyae/client-seitige-web-anwendungen-uebungen
24 results
Show changes
Commits on Source (34)
Showing
with 4389 additions and 23990 deletions
......@@ -2,3 +2,4 @@ node_modules
videos
screenshots
test-result.json
package-lock.json
\ No newline at end of file
Dieses Repository enthält die Übungsaufgaben für das Modul 'Clientseitige Webanwendungen'. Das dazugehörige Skript finden Sie unter https://mht.uzi.uni-halle.de/client-seitige-web-anwendungen
\ No newline at end of file
This diff is collapsed.
{
"private": true,
"name": "exercises",
"version": "1.0.0",
"license": "CC-BY-SA-4.0",
"dependencies": {
"mocha": "^8.2.1"
}
"private": true,
"name": "exercises",
"version": "1.0.0",
"license": "CC-BY-SA-4.0",
"dependencies": {
"mocha": "^8.2.1"
},
"main": "json-reporter.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://gitlab.informatik.uni-halle.de/amsvu-teaching/client-seitige-web-anwendungen-uebungen.git"
},
"keywords": [],
"author": "",
"description": ""
}
This diff is collapsed.
......@@ -4,8 +4,7 @@
"version": "1.0.0",
"license": "CC-BY-SA-4.0",
"dependencies": {
"cypress": "^3.1.0",
"http-server": "^0.11.1",
"mocha": "^5.2.0"
"cypress": "^8.6.0",
"http-server": "^13.0.2"
}
}
<!DOCTYPE html>
<html>
<head>
<title>Task 7</title>
<link rel="stylesheet" href="task_07.css"/>
</head>
<body>
<nav>
<ul>
<li>Item 1</li>
<li class="current">Item 2</li>
<li>Item 3</li>
</ul>
</nav>
<article>
<h1>Test Page</h1>
<p>This is a paragraph</p>
<p>And another paragraph</p>
<p>And a final paragraph</p>
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ul>
</article>
</body>
<head>
<title>Task 7</title>
<link rel="stylesheet" href="task_07.css" />
</head>
<body>
<nav>
<ul>
<li>Item 1</li>
<li class="current">Item 2</li>
<li>Item 3</li>
</ul>
</nav>
<article>
<h1>Test Page</h1>
<p>This is a paragraph</p>
<p>And another paragraph</p>
<p>And a final paragraph</p>
<ul>
<li>First</li>
<li>Second</li>
<li>Third</li>
</ul>
</article>
</body>
</html>
<!DOCTYPE>
<!DOCTYPE >
<html>
<head>
<title>Task 9</title>
</head>
<body>
<form action="fail.html">
<div>
<label>E-Mail
<input type="email" name="email"/>
</label>
</div>
<div>
<label>Password
<input type="password" name="password"/>
</label>
</div>
<div>
<button>Login</button>
</div>
<script src="task_09.js"></script>
</body>
<head>
<title>Task 9</title>
</head>
<body>
<form action="fail.html">
<div>
<label
>E-Mail
<input type="email" name="email" />
</label>
</div>
<div>
<label
>Password
<input type="password" name="password" />
</label>
</div>
<div>
<button>Login</button>
</div>
</form>
<script src="task_09.js"></script>
</body>
</html>
ul[role=tablist] {
display: flex;
padding: 0;
ul[role="tablist"] {
display: flex;
padding: 0;
}
ul[role=tablist] li {
list-style-type: none;
ul[role="tablist"] li {
list-style-type: none;
}
ul[role=tablist] a[role=tab] {
display: block;
padding: 0.5rem;
ul[role="tablist"] a[role="tab"] {
display: block;
padding: 0.5rem;
}
ul[role=tablist] a[role=tab][aria-current="true"] {
font-weight: bold;
ul[role="tablist"] a[role="tab"][aria-current="true"] {
font-weight: bold;
}
div[role=tabpanel] {
display: none;
div[role="tabpanel"] {
display: none;
}
div[role=tabpanel][aria-current="true"] {
display: block;
div[role="tabpanel"][aria-current="true"] {
display: block;
}
<h1>Calculator</h1>
<form {{on "submit" this.calculate}}>
<label>
A
<Input @value={{this.a}} name="a" type="number" />
</label>
<label>
B
<Input @value={{this.b}} name="b" type="number" />
</label>
<select onchange={{action "setNewOperator" value="target.value"}}>
<option value="+">+</option>
<option value="-">-</option>
<option value="*">*</option>
<option value="/">/</option>
<option value="%">%</option>
</select>
<button>Calculate</button>
</form>
{{#if calculated}}
<h2>Result</h2>
<div id="result">
<p>{{this.a}} {{this.operator}} {{this.b}} = {{this.result}}</p>
</div>
{{/if}}
{{#if historyAvailable}}
<h2>History</h2>
<div id="history">
<ul>
{{#each this.calculationsList as | calculation |}}
<li><a {{on "click" (fn this.recalculate calculation.calc)}}>{{calculation.calc}}</a></li>
{{/each}}
</ul>
</div>
{{/if}}
{{outlet}}
\ No newline at end of file
This diff is collapsed.
{
"name": "week03",
"version": "0.0.0",
"private": true,
"description": "Small description for week03 goes here",
"repository": "",
"license": "MIT",
"author": "",
"directories": {
"doc": "doc",
"test": "tests"
},
"scripts": {
"build": "ember build --environment=production",
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
"lint:hbs": "ember-template-lint .",
"lint:js": "eslint .",
"start": "ember serve",
"test": "npm-run-all lint:* test:*",
"test:ember": "ember test"
},
"devDependencies": {
"@ember/jquery": "^1.1.0",
"@ember/optional-features": "^2.0.0",
"@glimmer/component": "^1.0.2",
"@glimmer/tracking": "^1.0.2",
"babel-eslint": "^10.1.0",
"broccoli-asset-rev": "^3.0.0",
"ember-auto-import": "^1.6.0",
"ember-cli": "~3.22.0",
"broccoli-clean-css": "^2.0.1",
"cypress": "^5.6.0",
"ember-cli-app-version": "^4.0.0",
"ember-cli-babel": "^7.22.1",
"ember-cli-dependency-checker": "^3.2.0",
"ember-cli-htmlbars": "^5.3.1",
"ember-cli-inject-live-reload": "^2.0.2",
"ember-cli-sass": "^6.2.0",
"ember-cli-sri": "^2.1.1",
"ember-cli-terser": "^4.0.0",
"ember-data": "~3.22.0",
"ember-export-application-global": "^2.0.1",
"ember-fetch": "^8.0.2",
"ember-load-initializers": "^2.1.1",
"ember-maybe-import-regenerator": "^0.1.6",
"ember-qunit": "^4.6.0",
"ember-resolver": "^8.0.2",
"ember-source": "~3.22.0",
"ember-template-lint": "^2.14.0",
"ember-welcome-page": "^4.0.0",
"eslint": "^7.11.0",
"eslint-plugin-ember": "^9.3.0",
"eslint-plugin-node": "^11.1.0",
"loader.js": "^4.7.0",
"npm-run-all": "^4.1.5",
"qunit-dom": "^1.5.0"
},
"engines": {
"node": "10.* || >= 12"
},
"ember": {
"edition": "octane"
},
"dependencies": {
"cypress": "^6.1.0"
}
}
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Controller | application', function(hooks) {
setupTest(hooks);
// TODO: Replace this with your real tests.
test('it exists', function(assert) {
let controller = this.owner.lookup('controller:application');
assert.ok(controller);
});
});
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module'
},
plugins: [
'ember'
],
extends: [
'eslint:recommended',
'plugin:ember/recommended'
],
env: {
browser: true
},
rules: {
},
overrides: [
// node files
{
files: [
'.template-lintrc.js',
'ember-cli-build.js',
'testem.js',
'blueprints/*/index.js',
'config/**/*.js',
'lib/*/index.js'
],
parserOptions: {
sourceType: 'script',
ecmaVersion: 2015
},
env: {
browser: false,
node: true
}
}
]
};
import Resolver from 'ember-resolver';
export default Resolver;
import EmberRouter from '@ember/routing/router';
import config from './config/environment';
const Router = EmberRouter.extend({
location: config.locationType,
rootURL: config.rootURL
});
Router.map(function() {
});
export default Router;