index.php 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014
  1. <?php
  2. session_start();
  3. if(isset($_SESSION['userlogin'], $_SESSION['userfirstname'])) {
  4. $email = $_SESSION['userlogin'];
  5. $name = $_SESSION['userfirstname'];
  6. }
  7. if(isset($_SESSION['canvas_id'])) {
  8. $canvas_id = $_SESSION['canvas_id'];
  9. }
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="en">
  13. <head>
  14. <meta charset="UTF-8">
  15. <meta name="viewport" content="width=device-width, initial-scale=1">
  16. <meta name="description" content="Brainstorm about the ethical implications of your project and represent them in a canvas.">
  17. <meta name="keywords" content="ethics canvas, ethics, social entrepreneurship, research, innovation, privacy, business development, business model canvas, open source tools">
  18. <title>The Ethics Canvas</title>
  19. <!-- Favicon -->
  20. <link rel="icon" href="../icon/favicon.ico" />
  21. <!-- Bootstrap -->
  22. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous" />
  23. <!-- Google font -->
  24. <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css" />
  25. <!-- App style -->
  26. <link rel="stylesheet" type="text/css" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/themes/smoothness/jquery-ui.css" />
  27. <link rel="stylesheet" type="text/css" href="css/canvas.css" />
  28. <!-- PHP variables have to be retieved here as js variable -->
  29. <script type="text/javascript">
  30. var email_save_canvas = '<?php echo $email; ?>';
  31. var user_save_canvas = '<?php echo $name; ?>';
  32. var current_canvas_id = '<?php echo $canvas_id; ?>';
  33. </script>
  34. </head>
  35. <body>
  36. <div class="container-fluid">
  37. <form class="canvas-form form" action="mpdf/canvas-pdf.php" method="post" target="_blank">
  38. <!-- Username -->
  39. <input type="hidden" name="canvas_id" value="<?php echo($canvas_id) ?>" />
  40. <input type="hidden" name="username" value="<?php echo($email) ?>" />
  41. <!-- Canvas Form Header -->
  42. <div class="form-header row text-center">
  43. <div class="col-md-3">
  44. <!-- Logo -->
  45. <h1 class="page_title">
  46. <a class="logo" href="../index.html">
  47. <img src="icons/logo-black-text.svg" alt="Online Ethics Canvas" />
  48. </a>
  49. </h1>
  50. </div>
  51. <div class="col-md-3 ">
  52. <label class="project_title">Project Title</label>
  53. <input class="proj_title" name="field_00[]" type="text" />
  54. </div>
  55. <div class="col-md-3 ">
  56. <label class="project_date">Date</label>
  57. <input class="proj_date" name="field_00[]" type="date" />
  58. </div>
  59. <!-- Log in -->
  60. <div class="col-md-3 ">
  61. <?php if(!empty($name)) { ?>
  62. <!-- Bootstrap dropdown component -->
  63. <div class="dropdown user-profile">
  64. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
  65. <img src="../icon/profile.svg"/><span><?php echo $name; ?></span>
  66. <span class="caret"></span>
  67. </button>
  68. <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
  69. <li><a id="toDashboard" href="php/dashboard.php">Your Canvases</a></li>
  70. <!-- <li><a href="#">Something else here</a></li> -->
  71. <li role="separator" class="divider"></li>
  72. <li><a id="logout" href="#">Log Out</a></li>
  73. </ul>
  74. </div>
  75. <?php } ?>
  76. </div>
  77. <!-- Collaborators -->
  78. <div class="col-md-3">
  79. <?php if(!empty($name)) { ?>
  80. <!-- Bootstrap dropdown component -->
  81. <div class="dropdown collaborators">
  82. <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1">
  83. <!-- <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true"> -->
  84. <img src="../icon/collaborators.svg" alt="collaborators" /><span>Collaborators (0 active)</span>
  85. <!-- <span class="caret"></span> -->
  86. </button>
  87. </div>
  88. <?php } ?>
  89. </div>
  90. </div>
  91. <!-- Jump to -->
  92. <div class="jump-to-click-area">&nbsp;</div>
  93. <div class="jump-to row">
  94. <div class="col-s-12">
  95. <label><img class="jump-to-img jump-to-arrow-0" src="icons/glyphicon-chevron-right.gif" />Jump to...</label>
  96. <!-- <a href="#"><label class="jump_to"><span class="jump-to-arrow glyphicon glyphicon-chevron-right"></span> Jump to...</label></a> -->
  97. <div class="jump-to-list">
  98. <hr />
  99. <ul>
  100. <li>
  101. <a href="#row_saved_tags">Saved Tags for This Canvas</a>
  102. </li>
  103. <li>
  104. <a href="#panel_01">1.&nbsp;&nbsp;Individuals Affected</a>
  105. </li>
  106. <li>
  107. <a href="#panel_02">2.&nbsp;&nbsp;Groups Affected</a>
  108. </li>
  109. <li>
  110. <a href="#panel_03">3.&nbsp;&nbsp;Behaviour</a>
  111. </li>
  112. <li>
  113. <a href="#panel_04">4.&nbsp;&nbsp;Relations</a>
  114. </li>
  115. <li>
  116. <a href="#panel_05">5.&nbsp;&nbsp;Worldviews</a>
  117. </li>
  118. <li>
  119. <a href="#panel_06">6.&nbsp;&nbsp;Group Conflicts</a>
  120. </li>
  121. <li>
  122. <a href="#panel_07">7.&nbsp;&nbsp;Product or Service Failure</a>
  123. </li>
  124. <li>
  125. <a href="#panel_08">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  126. </li>
  127. <li>
  128. <a href="#panel_09">9.&nbsp;&nbsp;What can we do?</a>
  129. </li>
  130. <li>
  131. <a href="#panel_10">10.&nbsp;&nbsp;Uncategorised ideas</a>
  132. </li>
  133. </ul>
  134. </div>
  135. </div>
  136. </div>
  137. <!-- Saved Tags for This Canvas -->
  138. <div class="saved-tags row" id="row_saved_tags">
  139. <div class="col-s-12">
  140. <label>Saved Tags for This Canvas</label>
  141. <p>You haven't added any tags yet.</p>
  142. </div>
  143. </div>
  144. <!-- LAYOUT -->
  145. <!-- ================ 7/5 col ================ -->
  146. <div class="canvas-box">
  147. <div class="masonry-layout7-5" id="7-5-col-layout">
  148. <div class="masonry-layout__panel" id="panel_01">
  149. <div class="card field_01 masonry-layout__panel-content bg--purple">
  150. <h2 class="field-title">
  151. <!-- FIELD -->
  152. <a href="#" data-toggle="tooltip" data-placement="left" title="Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Individuals Affected&nbsp;&nbsp;
  153. </h2>
  154. <!--
  155. <p class="intro">
  156. Who use your product or service? Who are affected by it’s use? Are they men/women, of different ages, etc?
  157. </p>
  158. -->
  159. <!-- Into text toggle -->
  160. <!-- <button type="button" class="intro-toggle"> -->
  161. <!-- glyphicon glyphicon-minus-sign -->
  162. <!--
  163. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  164. <span class="intro-toggle-text">Hide description</span>
  165. </button>
  166. -->
  167. <!-- Item list in the field -->
  168. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  169. <ul id="field_01" class="item_list sortable connectedList">
  170. </ul>
  171. <!-- The Box With All User input Thing -->
  172. <!-- # Tag selected term link -->
  173. <p class="tag-selected-term">
  174. <a href="#">
  175. Tag selected term
  176. </a>
  177. </p>
  178. <div class="add_box">
  179. <!-- # Add idea link -->
  180. <p>
  181. <a class="add-idea" href="#">
  182. Add an idea
  183. </a>
  184. </p>
  185. <!-- # User Input -->
  186. <div class="user-input">
  187. <label>Your Idea</label><br />
  188. <p>
  189. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  190. </p>
  191. <p class="chars-count">
  192. <span class="chars">100</span>
  193. characters remaining
  194. </p>
  195. <button type="button" class="add_btn">Add</button>
  196. </div>
  197. <!-- End of user input -->
  198. </div>
  199. <!-- End of add_box -->
  200. <div class="field-bottom">
  201. <img src="./icons/field1.svg" alt="field1" />
  202. <img src="./icons/number1.svg" alt="number1" />
  203. </div>
  204. </div>
  205. <!-- End of .card -->
  206. </div>
  207. <div class="masonry-layout__panel" id="panel_03">
  208. <div class="card field_03 masonry-layout__panel-content bg--blue">
  209. <h2 class="field-title">
  210. <!-- FIELD -->
  211. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Behaviour
  212. </h2>
  213. <!--
  214. <p class="intro">
  215. How might people’s behaviour change because of your product or service? Their habits, time schedules, choice of activities, etc?
  216. </p>
  217. -->
  218. <!-- Into text toggle -->
  219. <!-- <button type="button" class="intro-toggle"> -->
  220. <!-- glyphicon glyphicon-minus-sign -->
  221. <!--
  222. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  223. <span class="intro-toggle-text">Hide description</span>
  224. </button>
  225. -->
  226. <!-- Item list in the field -->
  227. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  228. <ul id="field_03" class="item_list sortable connectedList">
  229. </ul>
  230. <!-- The Box With All User input Thing -->
  231. <!-- # Tag selected term link -->
  232. <p class="tag-selected-term">
  233. <a href="#">
  234. Tag selected term
  235. </a>
  236. </p>
  237. <div class="add_box">
  238. <!-- # Add idea link -->
  239. <p>
  240. <a class="add-idea" href="#">
  241. Add an idea
  242. </a>
  243. </p>
  244. <!-- # User Input -->
  245. <div class="user-input">
  246. <label>Your Idea</label><br />
  247. <p>
  248. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  249. </p>
  250. <p class="chars-count">
  251. <span class="chars">100</span>
  252. characters remaining
  253. </p>
  254. <button type="button" class="add_btn">Add</button>
  255. </div>
  256. <!-- End of user input -->
  257. </div>
  258. <!-- End of add_box -->
  259. <div class="field-bottom">
  260. <img src="./icons/field3.svg" alt="field3" />
  261. <img src="./icons/number3.svg" alt="number3" />
  262. </div>
  263. </div>
  264. <!-- End of .card -->
  265. </div>
  266. <div class="masonry-layout__panel" id="panel_04">
  267. <div class="card field_04 masonry-layout__panel-content bg--green">
  268. <h2 class="field-title">
  269. <!-- Field -->
  270. <a href="#" data-toggle="tooltip" data-placement="left" title="How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Relations
  271. </h2>
  272. <!--
  273. <p class="intro">
  274. How might relations between people and groups change because of your product or service? Between friends, family members, co-workers, etc?
  275. </p>
  276. -->
  277. <!-- Into text toggle -->
  278. <!-- <button type="button" class="intro-toggle"> -->
  279. <!-- glyphicon glyphicon-minus-sign -->
  280. <!--
  281. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  282. <span class="intro-toggle-text">Hide description</span>
  283. </button>
  284. -->
  285. <!-- Item list in the field -->
  286. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  287. <ul id="field_04" class="item_list sortable connectedList">
  288. </ul>
  289. <!-- The Box With All User input Thing -->
  290. <!-- # Tag selected term link -->
  291. <p class="tag-selected-term">
  292. <a href="#">
  293. Tag selected term
  294. </a>
  295. </p>
  296. <div class="add_box">
  297. <!-- # Add idea link -->
  298. <p>
  299. <a class="add-idea" href="#">
  300. Add an idea
  301. </a>
  302. </p>
  303. <!-- # User Input -->
  304. <div class="user-input">
  305. <label>Your Idea</label><br />
  306. <p>
  307. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  308. </p>
  309. <p class="chars-count">
  310. <span class="chars">100</span>
  311. characters remaining
  312. </p>
  313. <button type="button" class="add_btn">Add</button>
  314. </div>
  315. <!-- End of user input -->
  316. </div>
  317. <!-- End of add_box -->
  318. <div class="field-bottom">
  319. <img src="./icons/field4.svg" alt="field4" />
  320. <img src="./icons/number4.svg" alt="number4" />
  321. </div>
  322. </div>
  323. <!-- End of .card -->
  324. </div>
  325. <div class="masonry-layout__panel" id="panel_09">
  326. <div class="card field_09 masonry-layout__panel-content bg--darkblue">
  327. <h2 class="field-title">
  328. <!-- Field -->
  329. <a href="#" data-toggle="tooltip" data-placement="left" title="What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>What can we do?
  330. </h2>
  331. <!--
  332. <p class="intro">
  333. What are the most important ethical impacts you found? How can you address these by changing your design, organisation, or by proposing broader changes?
  334. </p>
  335. -->
  336. <!-- Into text toggle -->
  337. <!-- <button type="button" class="intro-toggle"> -->
  338. <!-- glyphicon glyphicon-minus-sign -->
  339. <!--
  340. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  341. <span class="intro-toggle-text">Hide description</span>
  342. </button>
  343. -->
  344. <!-- Item list in the field -->
  345. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  346. <ul id="field_09" class="item_list sortable connectedList">
  347. </ul>
  348. <!-- The Box With All User input Thing -->
  349. <!-- # Tag selected term link -->
  350. <p class="tag-selected-term">
  351. <a href="#">
  352. Tag selected term
  353. </a>
  354. </p>
  355. <div class="add_box">
  356. <!-- # Add idea link -->
  357. <p>
  358. <a class="add-idea" href="#">
  359. Add an idea
  360. </a>
  361. </p>
  362. <!-- # User Input -->
  363. <div class="user-input">
  364. <label>Your Idea</label><br />
  365. <p>
  366. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  367. </p>
  368. <p class="chars-count">
  369. <span class="chars">100</span>
  370. characters remaining
  371. </p>
  372. <button type="button" class="add_btn">Add</button>
  373. </div>
  374. <!-- End of user input -->
  375. </div>
  376. <!-- End of add_box -->
  377. <div class="field-bottom">
  378. <img src="./icons/field9.svg" alt="field9" />
  379. <img src="./icons/number9.svg" alt="number9" />
  380. </div>
  381. </div>
  382. <!-- End of .card -->
  383. </div>
  384. <div class="masonry-layout__panel" id="panel_05">
  385. <div class="card field_05 masonry-layout__panel-content bg--seagreen">
  386. <h2 class="field-title">
  387. <!-- Field -->
  388. <a href="#" data-toggle="tooltip" data-placement="left" title="How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Worldviews
  389. </h2>
  390. <!--
  391. <p class="intro">
  392. How might people’s worldviews be affected by your product or service? Their ideas about consumption, religion, work, etc?
  393. </p>
  394. -->
  395. <!-- Into text toggle -->
  396. <!-- <button type="button" class="intro-toggle"> -->
  397. <!-- glyphicon glyphicon-minus-sign -->
  398. <!--
  399. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  400. <span class="intro-toggle-text">Hide description</span>
  401. </button>
  402. -->
  403. <!-- Item list in the field -->
  404. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  405. <ul id="field_05" class="item_list sortable connectedList">
  406. </ul>
  407. <!-- The Box With All User input Thing -->
  408. <!-- # Tag selected term link -->
  409. <p class="tag-selected-term">
  410. <a href="#">
  411. Tag selected term
  412. </a>
  413. </p>
  414. <div class="add_box">
  415. <!-- # Add idea link -->
  416. <p>
  417. <a class="add-idea" href="#">
  418. Add an idea
  419. </a>
  420. </p>
  421. <!-- # User Input -->
  422. <div class="user-input">
  423. <label>Your Idea</label><br />
  424. <p>
  425. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  426. </p>
  427. <p class="chars-count">
  428. <span class="chars">100</span>
  429. characters remaining
  430. </p>
  431. <button type="button" class="add_btn">Add</button>
  432. </div>
  433. <!-- End of user input -->
  434. </div>
  435. <!-- End of add_box -->
  436. <div class="field-bottom">
  437. <img src="./icons/field5.svg" alt="field5" />
  438. <img src="./icons/number5.svg" alt="number5" />
  439. </div>
  440. </div>
  441. <!-- End of .card -->
  442. </div>
  443. <div class="masonry-layout__panel" id="panel_06">
  444. <div class="card field_06 masonry-layout__panel-content bg--green1">
  445. <h2 class="field-title">
  446. <!-- Field -->
  447. <a href="#" data-toggle="tooltip" data-placement="left" title="How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Group Conflicts
  448. </h2>
  449. <!--
  450. <p class="intro">
  451. How might group conflict arise or be affected by your product or service? Could it disciminate between people, put them out of work, etc?
  452. </p>
  453. -->
  454. <!-- Into text toggle -->
  455. <!-- <button type="button" class="intro-toggle"> -->
  456. <!-- glyphicon glyphicon-minus-sign -->
  457. <!--
  458. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  459. <span class="intro-toggle-text">Hide description</span>
  460. </button>
  461. -->
  462. <!-- Item list in the field -->
  463. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  464. <ul id="field_06" class="item_list sortable connectedList">
  465. </ul>
  466. <!-- The Box With All User input Thing -->
  467. <!-- # Tag selected term link -->
  468. <p class="tag-selected-term">
  469. <a href="#">
  470. Tag selected term
  471. </a>
  472. </p>
  473. <div class="add_box">
  474. <!-- # Add idea link -->
  475. <p>
  476. <a class="add-idea" href="#">
  477. Add an idea
  478. </a>
  479. </p>
  480. <!-- # User Input -->
  481. <div class="user-input">
  482. <label>Your Idea</label><br />
  483. <p>
  484. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  485. </p>
  486. <p class="chars-count">
  487. <span class="chars">100</span>
  488. characters remaining
  489. </p>
  490. <button type="button" class="add_btn">Add</button>
  491. </div>
  492. <!-- End of user input -->
  493. </div>
  494. <!-- End of add_box -->
  495. <div class="field-bottom">
  496. <img src="./icons/field6.svg" alt="field6" />
  497. <img src="./icons/number6.svg" alt="number6" />
  498. </div>
  499. </div>
  500. <!-- End of .card -->
  501. </div>
  502. <div class="masonry-layout__panel" id="panel_02">
  503. <div class="card field_02 masonry-layout__panel-content bg--purple">
  504. <h2 class="field-title">
  505. <!-- Field -->
  506. <a href="#" data-toggle="tooltip" data-placement="left" title="Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Groups Affected
  507. </h2>
  508. <!--
  509. <p class="intro">
  510. Which groups are involved in the design, production, distribution and use of your product or service? Which groups might be affected by it? Are these work-related organisation, interest groups, etc?
  511. </p>
  512. -->
  513. <!-- Into text toggle -->
  514. <!-- <button type="button" class="intro-toggle"> -->
  515. <!-- glyphicon glyphicon-minus-sign -->
  516. <!--
  517. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  518. <span class="intro-toggle-text">Hide description</span>
  519. </button>
  520. -->
  521. <!-- Item list in the field -->
  522. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  523. <ul id="field_02" class="item_list sortable connectedList">
  524. </ul>
  525. <!-- The Box With All User input Thing -->
  526. <!-- # Tag selected term link -->
  527. <p class="tag-selected-term">
  528. <a href="#">
  529. Tag selected term
  530. </a>
  531. </p>
  532. <div class="add_box">
  533. <!-- # Add idea link -->
  534. <p>
  535. <a class="add-idea" href="#">
  536. Add an idea
  537. </a>
  538. </p>
  539. <!-- # User Input -->
  540. <div class="user-input">
  541. <label>Your Idea</label><br />
  542. <p>
  543. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  544. </p>
  545. <p class="chars-count">
  546. <span class="chars">100</span>
  547. characters remaining
  548. </p>
  549. <button type="button" class="add_btn">Add</button>
  550. </div>
  551. <!-- End of user input -->
  552. </div>
  553. <!-- End of add_box -->
  554. <div class="field-bottom">
  555. <img src="./icons/field2.svg" alt="field2" />
  556. <img src="./icons/number2.svg" alt="number2" />
  557. </div>
  558. </div>
  559. <!-- End of .card -->
  560. </div>
  561. </div>
  562. <!-- ================ 2 col ================ -->
  563. <div class="masonry-layout2" id="2-col-layout">
  564. <div class="masonry-layout__panel" id="panel_07">
  565. <div class="card field_07 masonry-layout__panel-content bg--blue">
  566. <h2 class="field-title">
  567. <!-- Field -->
  568. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impact of your product or service failing to operate or to be used as intended? What happens with technical errors, security failures, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Product or Service Failure
  569. </h2>
  570. <!--
  571. <p class="intro">
  572. What are potential negative impact of your product or service failing to operate or to be used as intended?
  573. What happens with technical errors, security failures, etc?
  574. </p>
  575. -->
  576. <!-- Into text toggle -->
  577. <!-- <button type="button" class="intro-toggle"> -->
  578. <!-- glyphicon glyphicon-minus-sign -->
  579. <!--
  580. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  581. <span class="intro-toggle-text">Hide description</span>
  582. </button>
  583. -->
  584. <!-- Item list in the field -->
  585. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  586. <ul id="field_07" class="item_list sortable connectedList">
  587. </ul>
  588. <!-- The Box With All User input Thing -->
  589. <!-- # Tag selected term link -->
  590. <p class="tag-selected-term">
  591. <a href="#">
  592. Tag selected term
  593. </a>
  594. </p>
  595. <div class="add_box">
  596. <!-- # Add idea link -->
  597. <p>
  598. <a class="add-idea" href="#">
  599. Add an idea
  600. </a>
  601. </p>
  602. <!-- # User Input -->
  603. <div class="user-input">
  604. <label>Your Idea</label><br />
  605. <p>
  606. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  607. </p>
  608. <p class="chars-count">
  609. <span class="chars">100</span>
  610. characters remaining
  611. </p>
  612. <button type="button" class="add_btn">Add</button>
  613. </div>
  614. <!-- End of user input -->
  615. </div>
  616. <!-- End of add_box -->
  617. <div class="field-bottom">
  618. <img src="./icons/field7.svg" alt="field7" />
  619. <img src="./icons/number7.svg" alt="number7" />
  620. </div>
  621. </div>
  622. <!-- End of .card -->
  623. </div>
  624. <div class="masonry-layout__panel" id="panel_08">
  625. <div class="card field_08 masonry-layout__panel-content bg--green">
  626. <h2 class="field-title">
  627. <!-- Field -->
  628. <a href="#" data-toggle="tooltip" data-placement="left" title="What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Problematic Use of Resources
  629. </h2>
  630. <!--
  631. <p class="intro">
  632. What are potential negative impacts of the consumption of resources relating to your project? What happens with its use of energy, personal data, etc?
  633. </p>
  634. -->
  635. <!-- Into text toggle -->
  636. <!-- <button type="button" class="intro-toggle"> -->
  637. <!-- glyphicon glyphicon-minus-sign -->
  638. <!--
  639. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  640. <span class="intro-toggle-text">Hide description</span>
  641. </button>
  642. -->
  643. <!-- Item list in the field -->
  644. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  645. <ul id="field_08" class="item_list sortable connectedList">
  646. </ul>
  647. <!-- The Box With All User input Thing -->
  648. <!-- # Tag selected term link -->
  649. <p class="tag-selected-term">
  650. <a href="#">
  651. Tag selected term
  652. </a>
  653. </p>
  654. <div class="add_box">
  655. <!-- # Add idea link -->
  656. <p>
  657. <a class="add-idea" href="#">
  658. Add an idea
  659. </a>
  660. </p>
  661. <!-- # User Input -->
  662. <div class="user-input">
  663. <label>Your Idea</label><br />
  664. <p>
  665. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  666. </p>
  667. <p class="chars-count">
  668. <span class="chars">100</span>
  669. characters remaining
  670. </p>
  671. <button type="button" class="add_btn">Add</button>
  672. </div>
  673. <!-- End of user input -->
  674. </div>
  675. <!-- End of add_box -->
  676. <div class="field-bottom">
  677. <img src="./icons/field8.svg" alt="field8" />
  678. <img src="./icons/number8.svg" alt="number8" />
  679. </div>
  680. </div>
  681. <!-- End of .card -->
  682. </div>
  683. </div>
  684. <!-- ================ 1 col ================ -->
  685. <div class="masonry-layout" id="1-col-layout">
  686. <div class="masonry-layout__panel" id="panel_10">
  687. <div class="card field_10 masonry-layout__panel-content bg--purple">
  688. <h2 class="field-title">
  689. <!-- Field -->
  690. <a href="#" data-toggle="tooltip" data-placement="left" title="Here you can place your ideas that still haven't been categorised"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></a>Uncategorised ideas
  691. </h2>
  692. <!--
  693. <p class="intro">
  694. What are potential negative impact of your product or service failing to operate or to be used as intended?
  695. What happens with technical errors, security failures, etc?
  696. </p>
  697. -->
  698. <!-- Into text toggle -->
  699. <!-- <button type="button" class="intro-toggle"> -->
  700. <!-- glyphicon glyphicon-minus-sign -->
  701. <!--
  702. <span class="intro-toggle-icon glyphicon glyphicon-minus-sign"></span>
  703. <span class="intro-toggle-text">Hide description</span>
  704. </button>
  705. -->
  706. <!-- Item list in the field -->
  707. <!-- The ul id is used in js code to give the right name attribute to the added cards (user input) -->
  708. <ul id="field_10" class="item_list sortable connectedList">
  709. </ul>
  710. <!-- The Box With All User input Thing -->
  711. <!-- # Tag selected term link -->
  712. <p class="tag-selected-term">
  713. <a href="#">
  714. Tag selected term
  715. </a>
  716. </p>
  717. <div class="add_box">
  718. <!-- # Add idea link -->
  719. <p>
  720. <a class="add-idea" href="#">
  721. Add an idea
  722. </a>
  723. </p>
  724. <!-- # User Input -->
  725. <div class="user-input">
  726. <label>Your Idea</label><br />
  727. <p>
  728. <textarea class="new_item expandable" rows="2" maxlength="100" data-limit-rows="true" data-autoresize type="text" name="new_item" placeholder="Write an idea here ..."></textarea>
  729. </p>
  730. <p class="chars-count">
  731. <span class="chars">100</span>
  732. characters remaining
  733. </p>
  734. <button type="button" class="add_btn">Add</button>
  735. </div>
  736. <!-- End of user input -->
  737. </div>
  738. <!-- End of add_box -->
  739. <div class="field-bottom">
  740. <img src="./icons/field10.svg" alt="field10" />
  741. </div>
  742. </div>
  743. <!-- End of .card -->
  744. </div>
  745. </div>
  746. </div>
  747. <!-- End of .canvas.box -->
  748. <!-- FORM BUTTON BOX -->
  749. <div class="row">
  750. <div class="imp-exp-btn col-md-4 col-md-offset-4">
  751. <!-- Form button -->
  752. <?php if(!empty($name)) { ?>
  753. <p class="text-center" id="save-canvas">
  754. <!-- Export JSON and also save the canvas for the registered user -->
  755. <button class="json_exp" type="button" name="json_exp">Save This Canvas</button>
  756. </p>
  757. <p class="text-center" id="saved-automatically">
  758. Canvases with collaborators are saved automatically
  759. </p>
  760. <!-- BEGIN SHARE CANVAS -->
  761. <p class="text-center">
  762. <button class="share_canvas" type="submit" name="share-canvas">Share This Canvas</button>
  763. </p>
  764. <div class="share_canvas_email text-center">
  765. <p>
  766. <label>Send this canvas to:</label>
  767. </p>
  768. <p>
  769. <input type="email" name="share-canvas-email" placeholder="Please enter an email address..."/>
  770. </p>
  771. <p class="text-center">
  772. <button class="share_canvas_send" type="button" name="share-canvas-send">Send</button>
  773. </p>
  774. </div>
  775. <!-- END SHARE CANVAS -->
  776. <?php } else { ?>
  777. <p class="text-center">
  778. <!-- Export JSON and also save the canvas for the registered user -->
  779. <a class="login-to-save" href="../index.html">Sign&nbsp;up&nbsp;or&nbsp;login to&nbsp;save&nbsp;your&nbsp;canvas</a>
  780. </p>
  781. <?php }?>
  782. <!-- BEGIN EXPORT PDF -->
  783. <p class="text-center">
  784. <input class="pdf_exp" type="submit" name="export-pdf" value="Download as PDF">
  785. </p>
  786. <!-- END EXPORT PDF -->
  787. </div>
  788. </div>
  789. <!-- Start of move-window -->
  790. <div class="window" id="move-window">
  791. <button type="button" class="close" aria-label="Close">
  792. <span aria-hidden="true">&times;</span>
  793. </button>
  794. <h2>Move idea to...</h2>
  795. <ul>
  796. <li>
  797. <a href="#">1.&nbsp;&nbsp;Individuals Affected</a>
  798. </li>
  799. <li>
  800. <a href="#">2.&nbsp;&nbsp;Groups Affected</a>
  801. </li>
  802. <li>
  803. <a href="#">3.&nbsp;&nbsp;Behaviour</a>
  804. </li>
  805. <li>
  806. <a href="#">4.&nbsp;&nbsp;Relations</a>
  807. </li>
  808. <li>
  809. <a href="#">5.&nbsp;&nbsp;Worldviews</a>
  810. </li>
  811. <li>
  812. <a href="#">6.&nbsp;&nbsp;Group Conflicts</a>
  813. </li>
  814. <li>
  815. <a href="#">7.&nbsp;&nbsp;Product or Service Failure</a>
  816. </li>
  817. <li>
  818. <a href="#">8.&nbsp;&nbsp;Problematic Use of Resources</a>
  819. </li>
  820. <li>
  821. <a href="#">9.&nbsp;&nbsp;What can we do?</a>
  822. </li>
  823. <li>
  824. <a href="#">10.&nbsp;&nbsp;Uncategorised ideas</a>
  825. </li>
  826. </ul>
  827. <!--
  828. <h2 id="tag-description">
  829. Tag description
  830. </h2>
  831. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  832. <p class="chars-count">
  833. <span class="chars">200</span>
  834. characters remaining
  835. </p>
  836. <button type="button" class="window-button" id="save-tag">Save tag</button>&nbsp;
  837. <button type="button" class="window-button" id="delete-tag">Delete tag</button>
  838. <h2 class="similar-tags">Similar tags by other users</h2>
  839. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  840. -->
  841. </div>
  842. <!-- End of move-window -->
  843. <!-- Start of tag-window -->
  844. <div class="window" id="tag-window">
  845. <button type="button" class="close" aria-label="Close">
  846. <span aria-hidden="true">&times;</span>
  847. </button>
  848. <!-- <div id="tag-window-container"> -->
  849. <h1></h1>
  850. <h2 id="tag-description">
  851. Tag Description
  852. </h2>
  853. <textarea rows="4" cols="50" maxlength="200" id="tag-description">Please enter a description...</textarea><br />
  854. <p class="chars-count">
  855. <span class="chars">200</span>
  856. characters remaining
  857. </p>
  858. <button type="button" class="window-button" id="save-tag">Save Tag</button>&nbsp;
  859. <button type="button" class="window-button" id="delete-tag">Delete Tag</button>
  860. <h2 class="similar-tags">Similar tags by other users</h2>
  861. <p class='similar-tags-description-none'>No similar tags could be found!</p>
  862. <!-- </div> -->
  863. </div>
  864. <!-- End of tag-window -->
  865. <!-- Start of Collaborators -->
  866. <div class="window" id="collaborators-window">
  867. <button type="button" class="close" aria-label="Close">
  868. <span aria-hidden="true">&times;</span>
  869. </button>
  870. <h1>
  871. Collaborators
  872. </h1>
  873. <h2>
  874. List of Collaborators
  875. </h2>
  876. <table>
  877. </table>
  878. <label><input type="checkbox" name="show-only-active" /> Show only active collaborators</label><br />
  879. <h2>
  880. Add Collaborator
  881. </h2>
  882. <input type="email" name="add-collaborator" value="Please enter an email address..." />
  883. <button type="button" class="window-button" id="add-collaborator">Add</button>
  884. <div class="error-message" id="username-already-exists">The username already exists!</div>
  885. <div class="error-message" id="enter-valid-email">Please enter a valid email address!</div>
  886. </div>
  887. <!-- End of Collaborators -->
  888. </form>
  889. <!-- End of .form -->
  890. <!-- Hidden place to show JSON info -->
  891. <pre id="result" class="text-center">
  892. </pre>
  893. <div class="row">
  894. <footer class="col-md-12 text-center">
  895. <div class="contact">
  896. <h2>Contact us:</h2>
  897. <p>hello@ethicscanvas.org</p>
  898. </div>
  899. <div class="license">
  900. <p>The Ethics Canvas is adapted from Alex Osterwalder’s Business Model Canvas.</p>
  901. <p>The Business Model Canvas is designed by: Business Model Foundry AG.
  902. </p>
  903. <p>
  904. This work is licensed under the Creative Commons Attribution-Share Alike 3.0 unported license.</p>
  905. <p class="cc"><span class="glyphicon glyphicon-list" aria-hidden="true"></span> View a copy of this license on:</p>
  906. <p>
  907. <a href="https://creativecommons.org/licenses/by-sa/3.0/">creativecommons.org</a>
  908. </p>
  909. <p class="bmc"><span class="glyphicon glyphicon-th-large" aria-hidden="true"></span>
  910. View the original Business Model Canvas on:
  911. </p>
  912. <p>
  913. <a href="https://strategyzer.com/canvas">strategyzer.com</a>
  914. </p>
  915. </div>
  916. <div class="license-icons">
  917. <ul>
  918. <li><img src="../icon/by.large.png" alt="ethics-canvas-by-icon"/> </li>
  919. <li><img src="../icon/share.large.png" alt="ethics-canvas-share-icon"/> </li>
  920. <li><img src="../icon/cc.large.png" alt="ethics-canvas-cc-icon"/> </li>
  921. <li><img src="../icon/remix.large.png" alt="ethics-canvas-remix-icon"/></li>
  922. <li><img src="../icon/sa.large.png" alt="ethics-canvas-sa-icon"/></li>
  923. </ul>
  924. </div>
  925. <p class="ethics-copy terms"><a href="../privacy-terms/terms.html">Terms of Service</a></p>
  926. <p class="ethics-copy privacy"><a href="../privacy-terms/privacy.html">Privacy Policy</a></p>
  927. <p class="ethics-copy">The ADAPT Centre for Digital Content Technology</p> <p class="ethics-copy">is funded under the SFI Research Centres Programme (Grant 13/RC/2106).</p><p class="ethics-copy">It is co-funded under the European Regional Development Fund.</p>
  928. <p class="ethics-copy">Ethics Canvas v1.8&nbsp;|&nbsp;&copy; ADAPT Centre &amp; Trinity College Dublin &amp; Dublin City University, 2017</p>
  929. </footer>
  930. </div>
  931. </div>
  932. <!-- End of container-fluid -->
  933. <!-- Start of dialogs -->
  934. <div id="shadow">&nbsp;</div>
  935. <div class="dialog" id="dialog-log-in">
  936. <div class="dialog-header">
  937. <button type="button" class="close" aria-label="Close">
  938. <span aria-hidden="true">&times;</span>
  939. </button>
  940. <h2>
  941. Please log in
  942. </h2>
  943. </div>
  944. <div class="dialog-content"><p>Please log in to use this function.</p></div>
  945. </div>
  946. <div class="dialog" id="dialog-select-term">
  947. <div class="dialog-header">
  948. <button type="button" class="close" aria-label="Close">
  949. <span aria-hidden="true">&times;</span>
  950. </button>
  951. <h2>
  952. Please select term
  953. </h2>
  954. </div>
  955. <div class="dialog-content"><p>Please select a term to be tagged.</p></div>
  956. </div>
  957. <!--
  958. <div class="dialog" id="dialog-tag-already-exists" title="Tag already exists">
  959. <p>The tag already exists!</p>
  960. </div>
  961. -->
  962. <!-- End of ialogs -->
  963. <!-- jQuery -->
  964. <script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
  965. <!-- jquery UI -->
  966. <script src="https://code.jquery.com/ui/1.12.0-rc.2/jquery-ui.min.js" integrity="sha256-55Jz3pBCF8z9jBO1qQ7cIf0L+neuPTD1u7Ytzrp2dqo=" crossorigin="anonymous"></script>
  967. <!-- Bootstrap -->
  968. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
  969. <!-- Bootstrap -->
  970. <script src="js/jquery-fieldselection.min.js"></script>
  971. <!-- The app javascript -->
  972. <script src="js/canvas.js" charset="utf-8"></script>
  973. <script language="javascript" type="text/javascript"></script>
  974. </body>
  975. </html>